#include <ChangeQualityCommand.h>
Inheritance diagram for VolVis::Commands::ChangeQualityCommand:
Public Member Functions | |
void | addRenderMode (VolumeRendering::Rendering *renderMode) |
ChangeQualityCommand (bool highQuality, bool motion) | |
void | execute () |
void | removeRenderMode (VolumeRendering::Rendering *renderMode) |
VolVis::Commands::ChangeQualityCommand::ChangeQualityCommand | ( | bool | highQuality, | |
bool | motion | |||
) | [inline] |
Constructor. The quality mode is defined here.
highQuality | true if high quality rendering should be enabled with this command | |
motion | true if motion rendering should be enabled with this command |
void VolVis::Commands::ChangeQualityCommand::addRenderMode | ( | VolumeRendering::Rendering * | renderMode | ) | [inline] |
Adds a render mode to the list of render modes, which will be updated when the command is executed.
renderMode | render mode to add to the list |
void VolVis::Commands::ChangeQualityCommand::execute | ( | ) | [inline, virtual] |
Sets the quality modes for all render modes which have been added to the update list
Implements VolVis::Commands::Command.
void VolVis::Commands::ChangeQualityCommand::removeRenderMode | ( | VolumeRendering::Rendering * | renderMode | ) | [inline] |
Removes a render mode from the list of render modes which are updated.
renderMode | render mode to remove from the list |