|
ParaView
|
this is a helper class that handles viewport computations when rendering for tile-displays. More...
#include <vtkTilesHelper.h>
Inherits vtkObject.
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| bool | GetTileViewport (const double *viewport, int rank, int out_tile_viewport[4]) |
Returns (x-origin, y-origin, x-max, y-max) in pixels for a tile with given rank. More... | |
| bool | GetNormalizedTileViewport (const double *viewport, int rank, double out_tile_viewport[4]) |
| Same as GetTileViewport() except that the returns values are in normalized-display coordinates instead of display coordinates. More... | |
| bool | GetPhysicalViewport (const double *global_viewport, int rank, double out_phyiscal_viewport[4]) |
| Given a global-viewport for a renderer, returns the physical viewport on the rank indicated. More... | |
| void | GetTileIndex (int rank, int *tileX, int *tileY) |
| Given the rank, returns the tile location. More... | |
| virtual void | SetTileDimensions (int, int) |
| Set the tile dimensions. More... | |
| void | SetTileDimensions (int [2]) |
| Set the tile dimensions. More... | |
| virtual int * | GetTileDimensions () |
| Set the tile dimensions. More... | |
| virtual void | GetTileDimensions (int &, int &) |
| Set the tile dimensions. More... | |
| virtual void | GetTileDimensions (int [2]) |
| Set the tile dimensions. More... | |
| virtual void | SetTileMullions (int, int) |
| Set the tile mullions in pixels. More... | |
| void | SetTileMullions (int [2]) |
| Set the tile mullions in pixels. More... | |
| virtual int * | GetTileMullions () |
| Set the tile mullions in pixels. More... | |
| virtual void | GetTileMullions (int &, int &) |
| Set the tile mullions in pixels. More... | |
| virtual void | GetTileMullions (int [2]) |
| Set the tile mullions in pixels. More... | |
| virtual void | SetTileWindowSize (int, int) |
| Set the tile size i.e. More... | |
| void | SetTileWindowSize (int [2]) |
| Set the tile size i.e. More... | |
| virtual int * | GetTileWindowSize () |
| Set the tile size i.e. More... | |
| virtual void | GetTileWindowSize (int &, int &) |
| Set the tile size i.e. More... | |
| virtual void | GetTileWindowSize (int [2]) |
| Set the tile size i.e. More... | |
Static Public Member Functions | |
| static vtkTilesHelper * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkTilesHelper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkTilesHelper () | |
| ~vtkTilesHelper () | |
Protected Attributes | |
| int | TileDimensions [2] |
| int | TileMullions [2] |
| int | TileWindowSize [2] |
this is a helper class that handles viewport computations when rendering for tile-displays.
This assumes that all tiles have the same pixel-size.
Definition at line 30 of file vtkTilesHelper.h.
| typedef vtkObject vtkTilesHelper::Superclass |
Definition at line 34 of file vtkTilesHelper.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
| void vtkTilesHelper::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
Set the tile dimensions.
Default is (1, 1).
| void vtkTilesHelper::SetTileDimensions | ( | int | [2] | ) |
Set the tile dimensions.
Default is (1, 1).
|
virtual |
Set the tile dimensions.
Default is (1, 1).
|
virtual |
Set the tile dimensions.
Default is (1, 1).
|
virtual |
Set the tile dimensions.
Default is (1, 1).
|
virtual |
Set the tile mullions in pixels.
Use negative numbers to indicate overlap between tiles.
| void vtkTilesHelper::SetTileMullions | ( | int | [2] | ) |
Set the tile mullions in pixels.
Use negative numbers to indicate overlap between tiles.
|
virtual |
Set the tile mullions in pixels.
Use negative numbers to indicate overlap between tiles.
|
virtual |
Set the tile mullions in pixels.
Use negative numbers to indicate overlap between tiles.
|
virtual |
Set the tile mullions in pixels.
Use negative numbers to indicate overlap between tiles.
|
virtual |
Set the tile size i.e.
the size of the render window for a tile. We assumes that all tiles have the same size (since that's a requirement for IceT).
| void vtkTilesHelper::SetTileWindowSize | ( | int | [2] | ) |
Set the tile size i.e.
the size of the render window for a tile. We assumes that all tiles have the same size (since that's a requirement for IceT).
|
virtual |
Set the tile size i.e.
the size of the render window for a tile. We assumes that all tiles have the same size (since that's a requirement for IceT).
|
virtual |
Set the tile size i.e.
the size of the render window for a tile. We assumes that all tiles have the same size (since that's a requirement for IceT).
|
virtual |
Set the tile size i.e.
the size of the render window for a tile. We assumes that all tiles have the same size (since that's a requirement for IceT).
| bool vtkTilesHelper::GetTileViewport | ( | const double * | viewport, |
| int | rank, | ||
| int | out_tile_viewport[4] | ||
| ) |
Returns (x-origin, y-origin, x-max, y-max) in pixels for a tile with given rank.
viewport is in normalized display coordinates i.e. in range [0, 1] indicating the viewport covered by the current renderer on the whole i.e. treating all tiles as one large display if TileDimensions > (1, 1). Returns false to indicate the result hasn't been computed.
| bool vtkTilesHelper::GetNormalizedTileViewport | ( | const double * | viewport, |
| int | rank, | ||
| double | out_tile_viewport[4] | ||
| ) |
Same as GetTileViewport() except that the returns values are in normalized-display coordinates instead of display coordinates.
Returns false to indicate the result hasn't been computed.
| bool vtkTilesHelper::GetPhysicalViewport | ( | const double * | global_viewport, |
| int | rank, | ||
| double | out_phyiscal_viewport[4] | ||
| ) |
Given a global-viewport for a renderer, returns the physical viewport on the rank indicated.
Returns false to indicate the result hasn't been computed.
| void vtkTilesHelper::GetTileIndex | ( | int | rank, |
| int * | tileX, | ||
| int * | tileY | ||
| ) |
Given the rank, returns the tile location.
|
protected |
Definition at line 96 of file vtkTilesHelper.h.
|
protected |
Definition at line 97 of file vtkTilesHelper.h.
|
protected |
Definition at line 98 of file vtkTilesHelper.h.
1.8.12