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

Defines an HUV range and the way it's visualized within a MIPStage. More...

#include <MIPLayer.h>

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

Public Member Functions

 MIPLayer (const base::math::Span< base::HUV > &huRange, const base::math::Vector4f &color, const base::BlendFunction &function=LAYER_FUNCTION_REPLACE)
 Instantiates.
 
 MIPLayer (base::HUV firstHuv, base::HUV lastHuv, 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< base::HUVhuRange
 Holds the HUV 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 HUV range and the way it's visualized within a MIPStage.

Author
Leonid Kostrykin
Date
26.7.11 - 26.2.15

Definition at line 42 of file MIPLayer.h.


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