VolVis::Commands::ChangeQualityCommand Class Reference

#include <ChangeQualityCommand.h>

Inheritance diagram for VolVis::Commands::ChangeQualityCommand:

VolVis::Commands::Command

Detailed Description

All render modes implement different quality modes: for moving the object and low and high quality when the object is not moved. This command class allows to add and remove render modes for which the quality state will be changed when the command is executed. Which quality mode will be selected, is defined in the constructor. Use one command for each quality type.


Public Member Functions

void addRenderMode (VolumeRendering::Rendering *renderMode)
 ChangeQualityCommand (bool highQuality, bool motion)
void execute ()
void removeRenderMode (VolumeRendering::Rendering *renderMode)


Constructor & Destructor Documentation

VolVis::Commands::ChangeQualityCommand::ChangeQualityCommand ( bool  highQuality,
bool  motion 
) [inline]

Constructor. The quality mode is defined here.

Parameters:
highQuality true if high quality rendering should be enabled with this command
motion true if motion rendering should be enabled with this command


Member Function Documentation

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.

Parameters:
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.

Parameters:
renderMode render mode to remove from the list


The documentation for this class was generated from the following file:
Generated on Wed Dec 5 12:27:31 2007 for VolVis by  doxygen 1.5.1-p1