#include <ScreenshotCommand.h>
Inheritance diagram for VolVis::Commands::ScreenshotCommand:
Public Member Functions | |
void | execute () |
ScreenshotCommand (Gui::RenderWidget *renderWidget) |
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.
renderWidget | render widget of which a screenshot is desired. |
void VolVis::Commands::ScreenshotCommand::execute | ( | ) | [inline, virtual] |
Calls the updateGL method of the render widget.
Implements VolVis::Commands::Command.