VolVis::VolumeRendering::RaycastRendering Class Reference

#include <RaycastRendering.h>

Inheritance diagram for VolVis::VolumeRendering::RaycastRendering:

VolVis::VolumeRendering::Rendering VolVis::VolumeRendering::Averaging VolVis::VolumeRendering::Compositing VolVis::VolumeRendering::FirstHit VolVis::VolumeRendering::MaximumIntensity

Detailed Description

This implements everything which is the same for all render modes using raycasting, but has different data. This class is abstract due to the lack of a render-method.
See also:
Raycasting where the things are implemented, which have the same data for all raycasting render modes.


Public Member Functions

virtual void prepareForRender (bool viewChanged)
 RaycastRendering (const std::string &name, Raycasting *raycasting)
void setStepSize (double stepSize)

Protected Attributes

Raycastingm_pRaycasting
Shader::ShaderObjectm_pRaycastShader


Constructor & Destructor Documentation

VolVis::VolumeRendering::RaycastRendering::RaycastRendering ( const std::string &  name,
Raycasting raycasting 
) [inline]

Constructor. Sets up the parameters and default values.

Parameters:
name Name of the render mode. Usually defined in subclasses.
raycasting 


Member Function Documentation

virtual void VolVis::VolumeRendering::RaycastRendering::prepareForRender ( bool  viewChanged  )  [inline, virtual]

Uses the raycasting object for creating the direction cubes (if they need to be updated).

Parameters:
viewChanged if true, the direction cubes are updated in any case.

Reimplemented from VolVis::VolumeRendering::Rendering.

void VolVis::VolumeRendering::RaycastRendering::setStepSize ( double  stepSize  )  [inline]

Defines the step size of the raycasting. In which intervals is the volume sampled by a casted ray.

Parameters:
stepSize interval for sampling in raycasting


Field Documentation

Raycasting* VolVis::VolumeRendering::RaycastRendering::m_pRaycasting [protected]

The raycasting object contains data and code which is the same for all render modes. The same object can be bound to all raycasting render modes.

Shader::ShaderObject* VolVis::VolumeRendering::RaycastRendering::m_pRaycastShader [protected]

This shader object renders the direction cubes.


The documentation for this class was generated from the following file:
Generated on Wed Dec 5 12:27:31 2007 for VolVis by  doxygen 1.5.1-p1