#include <UpdateClippingCommand.h>
Inheritance diagram for VolVis::Commands::UpdateClippingCommand:
Public Member Functions | |
void | execute () |
UpdateClippingCommand (VolumeRendering::Raycasting *raycasting, Gui::RenderWidget *widget, ClippingParameters *parameters) |
VolVis::Commands::UpdateClippingCommand::UpdateClippingCommand | ( | VolumeRendering::Raycasting * | raycasting, | |
Gui::RenderWidget * | widget, | |||
ClippingParameters * | parameters | |||
) | [inline] |
Constructor. Applies the raycasting object which contains the information for clipping planes, the render widget and the clipping parameters.
raycasting | The raycasting object contains the lighting information | |
widget | The render widget has to be updated | |
parameters | Contains all parameters needed for clipping planes |
void VolVis::Commands::UpdateClippingCommand::execute | ( | ) | [inline, virtual] |
Applies the parameters to the raycasting object and updates the render widget.
Implements VolVis::Commands::Command.