ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkTileDisplayHelper Class Reference

used on server side in tile display mode, to ensure that the tiles from multiple views are rendered correctly. More...

#include <vtkTileDisplayHelper.h>

Inheritance diagram for vtkTileDisplayHelper:
Inheritance graph
[legend]
Collaboration diagram for vtkTileDisplayHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void EraseTile (unsigned int key)
void EraseTile (unsigned int key, int leftEye)
void FlushTiles (unsigned int key, int leftEye)
void SetDumpImagePath (const char *newPath)
void SetTile (unsigned int key, double viewport[4], vtkRenderer *renderer, vtkSynchronizedRenderers::vtkRawImage &tile)
void ResetEnabledKeys ()
void EnableKey (unsigned int)

Static Public Member Functions

static vtkTileDisplayHelperGetInstance ()

Protected Member Functions

 vtkTileDisplayHelper ()
 ~vtkTileDisplayHelper ()
static vtkTileDisplayHelperNew ()
static int IsTypeOf (const char *type)
static vtkTileDisplayHelperSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Detailed Description

used on server side in tile display mode, to ensure that the tiles from multiple views are rendered correctly.

vtkTileDisplayHelper is used on server side in tile display mode, to ensure that the tiles from multiple views are rendered correctly. This is required since in multi-view configurations, only 1 view is rendered at a time, and when a view is being rendered, it may affect the renderings from other view which it must restore for the tile display to show the results correctly. We use this helper to keep buffered images from all views so that they can be restored.

Definition at line 36 of file vtkTileDisplayHelper.h.


Constructor & Destructor Documentation

vtkTileDisplayHelper::vtkTileDisplayHelper ( ) [protected]
vtkTileDisplayHelper::~vtkTileDisplayHelper ( ) [protected]

Member Function Documentation

static vtkTileDisplayHelper* vtkTileDisplayHelper::New ( ) [static]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

virtual const char* vtkTileDisplayHelper::GetClassName ( ) [virtual]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

static int vtkTileDisplayHelper::IsTypeOf ( const char *  type) [static]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

virtual int vtkTileDisplayHelper::IsA ( const char *  type) [virtual]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

static vtkTileDisplayHelper* vtkTileDisplayHelper::SafeDownCast ( vtkObject o) [static]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

void vtkTileDisplayHelper::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Only one instance by process should be used, that's why everyone should use the instance returned by the GetInstance() methods. But to allow that class to be used by a proxy, we need to expose the new. Beaware that a subset of methods will be available to the proxy.

Reimplemented from vtkObject.

static vtkTileDisplayHelper* vtkTileDisplayHelper::GetInstance ( ) [static]

Returns the singleton.

void vtkTileDisplayHelper::SetTile ( unsigned int  key,
double  viewport[4],
vtkRenderer renderer,
vtkSynchronizedRenderers::vtkRawImage tile 
)

Register a tile.

void vtkTileDisplayHelper::EraseTile ( unsigned int  key)

Erase a tile.

void vtkTileDisplayHelper::EraseTile ( unsigned int  key,
int  leftEye 
)

Same as EraseTile() except erases the tile for only the specified eye.

void vtkTileDisplayHelper::FlushTiles ( unsigned int  key,
int  leftEye 
)

Flush the tiles.

void vtkTileDisplayHelper::ResetEnabledKeys ( )

Set the enabled tiles-set. Only enabled keys are "flushed".

void vtkTileDisplayHelper::EnableKey ( unsigned  int)

Set the enabled tiles-set. Only enabled keys are "flushed".

void vtkTileDisplayHelper::SetDumpImagePath ( const char *  newPath)
  • Method that can be used by the proxy. - The Path will be used to save the latest flush of the tiles. - Basically for a 2 processes tile display setting you will have two images dumped following the given pattern: ${DumpImagePath}_${processId}.png - If the DumpImagePath is set to NULL, then no image dump will occurs.

The documentation for this class was generated from the following file: