GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
SnapshotHelper.h File Reference
#include "GoFigureGlobalDefinition.h"
Include dependency graph for SnapshotHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool BuildScreenshotFromImage (vtkImageData *image, vtkImageData *screenshot, int tsize=0)
 
bool BuildScreenshotFromRenderWindow (vtkRenderWindow *win, vtkImageData *screenshot, int tsize=0)
 
void SetupViewGivenQVTKWidget (vtkViewImage2D *iView, QVTKWidget *iWidget)
 
QString SnapshotView (QVTKWidget *iWidget, const GoFigure::FileType &iType, const QString &iBaseName, const unsigned int &iSnapshotId)
 

Function Documentation

bool BuildScreenshotFromImage ( vtkImageData *  image,
vtkImageData *  screenshot,
int  tsize = 0 
)

Definition at line 59 of file SnapshotHelper.cxx.

bool BuildScreenshotFromRenderWindow ( vtkRenderWindow *  win,
vtkImageData *  screenshot,
int  tsize = 0 
)

Definition at line 163 of file SnapshotHelper.cxx.

void SetupViewGivenQVTKWidget ( vtkViewImage2D iView,
QVTKWidget *  iWidget 
)

Definition at line 240 of file SnapshotHelper.cxx.

QString SnapshotView ( QVTKWidget *  iWidget,
const GoFigure::FileType iType,
const QString iBaseName,
const unsigned int &  iSnapshotId 
)

Definition at line 185 of file SnapshotHelper.cxx.