#include <SetSlicingAxisCommand.h>
Inheritance diagram for VolVis::Commands::SetSlicingAxisCommand:
Public Member Functions | |
virtual void | execute () |
SetSlicingAxisCommand (VolumeRendering::Slicing *slicing, VolumeRendering::Slicing::Axis axis, Gui::RenderWidget *widget) | |
Protected Attributes | |
VolumeRendering::Slicing * | m_pSlicing |
VolVis::Commands::SetSlicingAxisCommand::SetSlicingAxisCommand | ( | VolumeRendering::Slicing * | slicing, | |
VolumeRendering::Slicing::Axis | axis, | |||
Gui::RenderWidget * | widget | |||
) | [inline] |
Constructor. Sets up all needed pointers.
slicing | the render mode used for slicing | |
axis | the slicing axis is defined by an enumeration in the Slicing class. | |
widget | the render widget has to be updated |
virtual void VolVis::Commands::SetSlicingAxisCommand::execute | ( | ) | [inline, virtual] |
Sets the slcing axis and updates the gl widget.
Implements VolVis::Commands::Command.
The render mode used for slicing for which the axis should be changed.