6 #ifndef MASKRENDERINGSTAGE_H_6014714286 7 #define MASKRENDERINGSTAGE_H_6014714286 10 #include <Carna/Carna.h> 63 const std::unique_ptr< Details > pimpl;
83 explicit MaskRenderingStage(
unsigned int geometryType,
unsigned int maskRole = DEFAULT_ROLE_MASK );
92 virtual void reshape(
base::FrameRenderer& fr,
unsigned int width,
unsigned int height )
override;
97 virtual void renderPass
115 bool renderBorders()
const;
120 void setRenderBorders(
bool borders );
124 virtual unsigned int loadVideoResources()
override;
126 virtual void createVolumeSamplers(
const std::function<
void(
unsigned int,
base::Sampler* ) >& registerSampler )
override;
136 virtual const std::string& uniformName(
unsigned int role )
const override;
141 virtual void configureShader()
override;
156 #endif // MASKRENDERINGSTAGE_H_6014714286 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.
static const base::Color DEFAULT_COLOR
Holds the default rendering color.
const unsigned int maskRole
Holds the role that mask volume data is expected to take when attached to base::Geometry nodes...
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...
Defines Carna::presets::VolumeRenderingStage.
static const unsigned int DEFAULT_ROLE_MASK
Holds the default value of maskRole.