12#ifndef MIPLAYER_H_6014714286
13#define MIPLAYER_H_6014714286
19#include <Carna/Carna.h>
52 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
67 (
float minIntensity,
float maxIntensity
Defines Carna::base::BlendFunction.
Defines Carna::base::math::Span.
Defines how alpha blending is to be performed.
Defines an intensity range and the way it is visualized by a maximum intensity projection.
void setFunction(const base::BlendFunction &layerFunction)
Sets the blending function to be used to combine this layer with the previous layers.
base::math::Span< float > intensityRange
Holds the intensity range that this layer covers as described here.
MIPLayer(float minIntensity, float maxIntensity, const base::math::Vector4f &color, const base::BlendFunction &function=LAYER_FUNCTION_REPLACE)
Instantiates.
base::math::Vector4f color
Holds the color of this layer as described here.
static const base::BlendFunction LAYER_FUNCTION_REPLACE
Defines "replacing" blending function.
static const base::BlendFunction LAYER_FUNCTION_ADD
Defines the additive blending function.
const base::BlendFunction & function() const
References the blending function to be used to combine this layer with the previous layers.
MIPLayer(const base::math::Span< float > &intensityRange, const base::math::Vector4f &color, const base::BlendFunction &function=LAYER_FUNCTION_REPLACE)
Instantiates.
Defines Carna::base::math namespace and CARNA_FOR_VECTOR3UI.
Eigen::Matrix< float, 4, 1 > Vector4f
Defines vector.
#define NON_COPYABLE
Features class it is placed in as non-copyable.