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