VolVis::Commands::OpenVolumeDataCommand Class Reference

#include <OpenVolumeDataCommand.h>

Inheritance diagram for VolVis::Commands::OpenVolumeDataCommand:

VolVis::Commands::Command

Detailed Description

Calls the appropriate method of the bound VolumeData to load a new volume data file.


Public Member Functions

void execute ()
 OpenVolumeDataCommand (VolumeRendering::VolumeData *data, Gui::TFWidget *tf, Gui::TFWidget *gradientTf, Gui::Histogram2d *histogram2d, QProgressBar *progress=0)


Constructor & Destructor Documentation

VolVis::Commands::OpenVolumeDataCommand::OpenVolumeDataCommand ( VolumeRendering::VolumeData data,
Gui::TFWidget tf,
Gui::TFWidget gradientTf,
Gui::Histogram2d histogram2d,
QProgressBar *  progress = 0 
) [inline]

Constructor. Defines the title and statusTip of the command and binds the VolumeData object.

Parameters:
data VolumeData object which will load the new file when the command is executed.
tf widget which shows the histogram of the volume data has to be updated.
gradientTf widget which shows the histogram of the gradient of the volume data.
histogram2d widget which shows the 2d histogram (intensity, gradient magnitude) of the volume data.
progress the progress bar which has to be updated during loading of the volume (this is not done over a command, but directly from the volumeData)


Member Function Documentation

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

Opens file dialog and then calls the method for loading a new volume defined in the VolumeData class. The histograms (intensity and gradient) of the TFWiget is updated.

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