12 #ifndef DVRSTAGE_H_6014714286
13 #define DVRSTAGE_H_6014714286
16 #include <Carna/Carna.h>
105 const std::unique_ptr< Details > pimpl;
113 const static unsigned int ROLE_HU_VOLUME = 0;
119 const static unsigned int ROLE_NORMALS = 1;
136 DVRStage(
unsigned int geometryType );
145 virtual void reshape(
base::FrameRenderer& fr,
unsigned int width,
unsigned int height )
override;
147 virtual void renderPass
156 void clearColorMap();
176 void setTranslucence(
float translucence );
181 float translucence()
const;
192 void setDiffuseLight(
float diffuseLight );
198 float diffuseLight()
const;
204 bool isLightingUsed()
const;
208 virtual unsigned int loadVideoResources()
override;
210 virtual void createVolumeSamplers(
const std::function<
void(
unsigned int,
base::Sampler* ) >& registerSampler )
override;
220 virtual const std::string& uniformName(
unsigned int role )
const override;
222 virtual void configureShader()
override;
237 #endif // DVRSTAGE_H_6014714286
static const float DEFAULT_DIFFUSE_LIGHT
Holds the default diffuse light amount. The ambient light amount is always one minus the diffuse ligh...
static const float DEFAULT_TRANSLUCENCE
Holds the default translucence.
Defines logic for rendering frames from given scenes.
Maintains an OpenGL shader program. Realizes the RAII-idiom.
Invokes the rendering stages of the frame renderer successively.
Maintains an OpenGL texture sampler object. This class realizes the RAII-idiom.
Defines abstract base class for rendering stages that render volume geometries in the scene...
Represents a color. Objects from this class are copyable and assignable.
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
Defines a rendering viewport. The viewport is a property of the current OpenGL context.
Represents a Geometry object that has been queued into a RenderQueue. The object's model-view transfo...
signed short HUV
Represents values in .
Performs direct volume renderings of the volume geometries in the scene.
Defines Carna::presets::VolumeRenderingStage.