#include <Slicing.h>
Inheritance diagram for VolVis::VolumeRendering::Slicing:

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 () | |
enumeration which contains the possible slicing planes
| 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
| 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.
| a | rendering axis |
| void VolVis::VolumeRendering::Slicing::setRatio | ( | double | value | ) |
Defines at which depth the volume data should be sliced.
| 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.
| angle | rotation angle | |
| axis | rotation axis |
1.5.1-p1