#include <vtkIceTRenderManager.h>
[NOHEADER] | |
virtual vtkPerspectiveTransform * | GetTileViewportTransform () |
virtual void | SetTileViewportTransform (vtkPerspectiveTransform *arg) |
vtkPerspectiveTransform * | TileViewportTransform |
Public Types | |
enum | StrategyType { DEFAULT, REDUCE, VTREE, SPLIT, SERIAL, DIRECT } |
enum | ComposeOperationType { ComposeOperationClosest = 0, ComposeOperationOver = 1 } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkIceTRenderManager, vtkParallelRenderManager) | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkRenderer * | MakeRenderer () |
virtual void | SetController (vtkMultiProcessController *controller) |
virtual void | SetRenderWindow (vtkRenderWindow *renwin) |
virtual double | GetRenderTime () |
virtual double | GetImageProcessingTime () |
virtual double | GetBufferReadTime () |
virtual double | GetBufferWriteTime () |
virtual double | GetCompositeTime () |
virtual void | SetSortingKdTree (vtkPKdTree *tree) |
virtual void | SetDataReplicationGroup (vtkIntArray *group) |
virtual void | SetDataReplicationGroupColor (int color) |
virtual void | RecordIceTImage (vtkIceTRenderer *) |
virtual void | ForceImageWriteback () |
virtual void | SetTileDimensions (int tilesX, int tilesY) |
void | SetTileDimensions (int dims[2]) |
virtual int * | GetTileDimensions () |
virtual void | GetTileDimensions (int &, int &) |
virtual void | GetTileDimensions (int[2]) |
virtual int | GetTileRank (int x, int y) |
virtual void | SetTileRank (int x, int y, int rank) |
virtual void | SetStrategy (int strategy) |
virtual void | SetStrategy (const char *strategy) |
void | SetStrategyToDefault () |
void | SetStrategyToReduce () |
void | SetStrategyToVtree () |
void | SetStrategyToSplit () |
void | SetStrategyToSerial () |
void | SetStrategyToDirect () |
virtual void | SetComposeOperation (int operation) |
void | SetComposeOperationToClosest () |
void | SetComposeOperationToOver () |
Static Public Member Functions | |
vtkIceTRenderManager * | New () |
Protected Member Functions | |
vtkIceTRenderManager () | |
virtual | ~vtkIceTRenderManager () |
virtual void | UpdateIceTContext () |
virtual void | SendWindowInformation () |
virtual void | ReceiveWindowInformation () |
virtual void | SendRendererInformation (vtkRenderer *) |
virtual void | ReceiveRendererInformation (vtkRenderer *) |
virtual void | PreRenderProcessing () |
virtual void | PostRenderProcessing () |
virtual void | ComputeTileViewportTransform () |
virtual int | ImageReduceRenderer (vtkRenderer *) |
void | GetGlobalViewport (int viewport[4]) |
void | GetTileViewport (int x, int y, int viewport[4]) |
Protected Attributes | |
int | ContextDirty |
vtkTimeStamp | ContextUpdateTime |
int | TileDimensions [2] |
int ** | TileRanks |
int | TilesDirty |
int | CleanScreenWidth |
int | CleanScreenHeight |
double | LastKnownImageReductionFactor |
vtkCommand * | RecordIceTImageCallback |
vtkCommand * | FixRenderWindowCallback |
vtkDoubleArray * | LastViewports |
vtkUnsignedCharArray * | InflateImageBuffer |
A ParallelRenderManager object that uses the ICE-T library for compositing. As such, it offers the capability of rendering to tiled displays. By default, it renders to a single tile located on the processor with rank 0. That is, it mimics the operation of other vtkParallelRenderManagers such as vtkCompositeRenderManager.
Due to current limitations of the ICE-T API, only an instance of vtkMPIController will be accepted for a vtkMultiProcessController. This restriction may or may not be lifted in the future based on demand.
Definition at line 61 of file vtkIceTRenderManager.h.
|
Definition at line 103 of file vtkIceTRenderManager.h. |
|
Definition at line 122 of file vtkIceTRenderManager.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods to set the characteristics of the tiled display. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
Methods to set the characteristics of the tiled display. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. Definition at line 81 of file vtkIceTRenderManager.h. |
|
Methods to set the characteristics of the tiled display. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
Methods to set the characteristics of the tiled display. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
Methods to set the characteristics of the tiled display. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
Methods to set/get which processes is desplaying which tiles. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
Methods to set/get which processes is desplaying which tiles. Currently, only an even grid is supported. Numbering of tiles is 0 based. Tiles in the X direction (horizontal) are numbered from left to right. Tiles in the Y direction (vertical) are numbered from top to bottom. |
|
|
|
|
|
|
|
|
|
|
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 113 of file vtkIceTRenderManager.h. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 114 of file vtkIceTRenderManager.h. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 115 of file vtkIceTRenderManager.h. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 116 of file vtkIceTRenderManager.h. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 117 of file vtkIceTRenderManager.h. |
|
Methods to set the strategy for all IceT renderers. The REDUCE strategy, which is also the default, is a good all-around strategy. Definition at line 118 of file vtkIceTRenderManager.h. |
|
Set to operation to use when composing pixels together for all IceT renderers. Note that not all operations are commutative. That is, for some operations, the order of composition matters. |
|
Set to operation to use when composing pixels together for all IceT renderers. Note that not all operations are commutative. That is, for some operations, the order of composition matters. Definition at line 137 of file vtkIceTRenderManager.h. |
|
Set to operation to use when composing pixels together for all IceT renderers. Note that not all operations are commutative. That is, for some operations, the order of composition matters. Definition at line 144 of file vtkIceTRenderManager.h. |
|
Set a parallel Kd-tree structure that will determine the order of image composition for all IceT renderers. If there is more than one vtkIceTRenderer, each renderer should have its own sorting tree set directly. If set to NULL (the default), no ordering will be imposed. Generally speaking, if the ComposeOperation is set to CLOSEST, then giving an ordering is unnecessary. If the ComposeOperation is set to OVER, then an ordering is necessary. The given Kd-tree should have processes assigned to regions (the default if created with the vtkDistributeDataFilter) and should have the same controller as the one assigned to this object. Furthermore, the data held by each process should be strictly contained within the Kd-tree regions it is assigned to (i.e. turn clipping on). |
|
Set the data replication group for all IceT renderers. If there is more than one vtkIceTRenderer, each renderer should probably have its own data replication group set directly. The group comprises a list of process IDs that contian the exact same data (geometry). Replicating data can reduce image composition time. The local process ID should be in the group and all processes within the group should have set the exact same list in the same order. This consistency is not checked, but bad things can happen if it is not maintained. By default, the data replication group is set to a group containing only the local process and is reset every time the controller is set. |
|
An alternate way of setting the data replication group. All processes with the same color are assumed to be part of a data replication group (that is, they all have the same geometry). This method will not return until it is called in all methods of the communicator. |
|
DO NOT USE. FOR INTERNAL USE ONLY. CONSULT A PHYSICIAN BEFORE USING. |
|
DO NOT USE. FOR INTERNAL USE ONLY. DO NOT EXCEED RECOMMENDED DOSAGE. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convenience functions for determining IceT's logical viewports for physical tiles. |
|
Convenience functions for determining IceT's logical viewports for physical tiles. |
|
Definition at line 206 of file vtkIceTRenderManager.h. |
|
Definition at line 207 of file vtkIceTRenderManager.h. |
|
Definition at line 209 of file vtkIceTRenderManager.h. |
|
Definition at line 210 of file vtkIceTRenderManager.h. |
|
Definition at line 211 of file vtkIceTRenderManager.h. |
|
Definition at line 212 of file vtkIceTRenderManager.h. |
|
Definition at line 213 of file vtkIceTRenderManager.h. |
|
Used to keep track of when the ImageReductionFactor changes, which means the tiles have gotten dirty. Definition at line 217 of file vtkIceTRenderManager.h. |
|
Definition at line 219 of file vtkIceTRenderManager.h. |
|
Definition at line 220 of file vtkIceTRenderManager.h. |
|
Holds a transform that shifts a camera to the displayed viewport. Definition at line 224 of file vtkIceTRenderManager.h. |
|
Keep around the last viewports so that we can rework the tiles if they change. Definition at line 235 of file vtkIceTRenderManager.h. |
|
Definition at line 237 of file vtkIceTRenderManager.h. |