VolVis::VolumeRendering::Slicing Class Reference

#include <Slicing.h>

Inheritance diagram for VolVis::VolumeRendering::Slicing:

VolVis::VolumeRendering::Rendering

Detailed Description

Implements the render mode of slicing. Slicing can be done in the orthogonal slicing directions (xy-plane, xz-plane, yz-plane)


Public Types

enum  Axis { XY, YZ, XZ }

Public Member Functions

void render ()
void setAxis (Axis a)
void setRatio (double value)
void setRotation (double angle, const Eigen::Vector3d &axis)
 Slicing ()


Member Enumeration Documentation

enum VolVis::VolumeRendering::Slicing::Axis

enumeration which contains the possible slicing planes


Constructor & Destructor Documentation

VolVis::VolumeRendering::Slicing::Slicing (  ) 

Constructor. Defines some default values: The name of the render mode is "Slicing". The axis is set to XY, the transfer function is enabled and the ratio is defined at 0.5


Member Function Documentation

void VolVis::VolumeRendering::Slicing::render (  )  [virtual]

Renders a slice of the volume data with the current settings (axis and ratio).

Implements VolVis::VolumeRendering::Rendering.

void VolVis::VolumeRendering::Slicing::setAxis ( Axis  a  ) 

Defines an orthogonal slicing axis by an item of the Axis enumeration.

Parameters:
a rendering axis

void VolVis::VolumeRendering::Slicing::setRatio ( double  value  ) 

Defines at which depth the volume data should be sliced.

Parameters:
value ratio of volume data which is the slicing depth

void VolVis::VolumeRendering::Slicing::setRotation ( double  angle,
const Eigen::Vector3d &  axis 
)

Defines an arbitrary slicing axis by rotating the plane.

Parameters:
angle rotation angle
axis rotation axis


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