Carna  Version 3.3.2
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Carna::presets::MIPLayer Class Reference

Defines an intensity range and the way it is visualized by a maximum intensity projection. More...

#include <MIPLayer.h>

+ Collaboration diagram for Carna::presets::MIPLayer:

Public Member Functions

 MIPLayer (const base::math::Span< float > &intensityRange, const base::math::Vector4f &color, const base::BlendFunction &function=LAYER_FUNCTION_REPLACE)
 Instantiates.
 
 MIPLayer (float minIntensity, float maxIntensity, const base::math::Vector4f &color, const base::BlendFunction &function=LAYER_FUNCTION_REPLACE)
 Instantiates.
 
void setFunction (const base::BlendFunction &layerFunction)
 Sets the blending function to be used to combine this layer with the previous layers.
 
const base::BlendFunctionfunction () const
 References the blending function to be used to combine this layer with the previous layers.
 

Public Attributes

base::math::Span< float > intensityRange
 Holds the intensity range that this layer covers as described here.
 
base::math::Vector4f color
 Holds the color of this layer as described here.
 

Static Public Attributes

static const base::BlendFunction LAYER_FUNCTION_ADD
 Defines the additive blending function.
 
static const base::BlendFunction LAYER_FUNCTION_REPLACE
 Defines "replacing" blending function.
 

Detailed Description

Defines an intensity range and the way it is visualized by a maximum intensity projection.

Author
Leonid Kostrykin
Date
26.7.11 - 26.2.15

Definition at line 43 of file MIPLayer.h.


The documentation for this class was generated from the following file: