VolVis::Commands::ScreenshotCommand Class Reference

#include <ScreenshotCommand.h>

Inheritance diagram for VolVis::Commands::ScreenshotCommand:

VolVis::Commands::Command

Detailed Description

A screenshot of the current render widget is taken and stored to a file.


Public Member Functions

void execute ()
 ScreenshotCommand (Gui::RenderWidget *renderWidget)


Constructor & Destructor Documentation

VolVis::Commands::ScreenshotCommand::ScreenshotCommand ( Gui::RenderWidget renderWidget  )  [inline]

Constructor. Sets the render widget of which the screenshot should be taken. Defines the title and status bar of the command.

Parameters:
renderWidget render widget of which a screenshot is desired.


Member Function Documentation

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

Calls the updateGL method of the render widget.

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