VolVis::Commands::SetRenderModeCommand Class Reference

#include <SetRenderModeCommand.h>

Inheritance diagram for VolVis::Commands::SetRenderModeCommand:

VolVis::Commands::Command

Detailed Description

This method sets the render mode of a rendering widget to a specific render mode.


Public Member Functions

void execute ()
 SetRenderModeCommand (Gui::RenderWidget *widget, VolumeRendering::Rendering *renderMode, Gui::TFWidget *tfWidget, Gui::TFWidget *gradientTfWidget)


Constructor & Destructor Documentation

VolVis::Commands::SetRenderModeCommand::SetRenderModeCommand ( Gui::RenderWidget widget,
VolumeRendering::Rendering renderMode,
Gui::TFWidget tfWidget,
Gui::TFWidget gradientTfWidget 
) [inline]

Constructor. Copies the passed pointers.

Parameters:
widget the render mode needs to know the new render mode
renderMode the desired render mode (e.g. slicing)
tfWidget each render mode has a transfer function (for intensity values)
gradientTfWidget each render mode has an additional transfer function (for gradient magnitude values) in the transfer function widget


Member Function Documentation

void VolVis::Commands::SetRenderModeCommand::execute (  )  [inline, virtual]

The render mode is bound to the render widget. The transfer function attached to the render mode is loaded in the transfer function widget. All transformations in the render widget are resetted.

Implements VolVis::Commands::Command.


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