ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkIceTSynchronizedRenderers Class Reference

vtkSynchronizedRenderers subclass that uses IceT for parallel rendering and compositing. More...

#include <vtkIceTSynchronizedRenderers.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetRenderer (vtkRenderer *)
void SetUseDepthBuffer (bool)
virtual void SetIdentifier (unsigned int)
virtual unsigned int GetIdentifier ()
void SetTileDimensions (int x, int y)
void SetTileMullions (int x, int y)
void SetDataReplicatedOnAllProcesses (bool val)
void SetKdTree (vtkPKdTree *kdtree)
void SetUseOrderedCompositing (bool uoc)
virtual void SetImageReductionFactor (int val)
virtual int GetImageReductionFactor ()
virtual void SetParallelController (vtkMultiProcessController *cont)
void SetImageProcessingPass (vtkImageProcessingPass *)
virtual vtkImageProcessingPassGetImageProcessingPass ()
void SetRenderPass (vtkRenderPass *)
virtual vtkRenderPassGetRenderPass ()

Static Public Member Functions

static
vtkIceTSynchronizedRenderers
New ()
static int IsTypeOf (const char *type)
static
vtkIceTSynchronizedRenderers
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkIceTSynchronizedRenderers ()
 ~vtkIceTSynchronizedRenderers ()
virtual void HandleEndRender ()
virtual vtkRawImageCaptureRenderedImage ()

Protected Attributes

unsigned int Identifier
vtkCameraPassCameraRenderPass
vtkIceTCompositePassIceTCompositePass
vtkMyImagePasterPass * ImagePastingPass
vtkRenderPassRenderPass
vtkImageProcessingPassImageProcessingPass

Detailed Description

vtkSynchronizedRenderers subclass that uses IceT for parallel rendering and compositing.

vtkIceTSynchronizedRenderers uses IceT (the Image Compositing Engine for Tiles) for parallel rendering and compositing. This class simply uses vtkIceTCompositePass internally, even though this class is designed to be used with traditional renderers and not those using render-passes. Note that this class internally does indeed leverage the RenderPass mechanism to intercept render calls from a vtkRenderer. In other words, if you are using render passes, you should not use this class. Your render passes will be overridden.

Definition at line 39 of file vtkIceTSynchronizedRenderers.h.


Constructor & Destructor Documentation

vtkIceTSynchronizedRenderers::vtkIceTSynchronizedRenderers ( ) [protected]
vtkIceTSynchronizedRenderers::~vtkIceTSynchronizedRenderers ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkSynchronizedRenderers.

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

Reimplemented from vtkSynchronizedRenderers.

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

Reimplemented from vtkSynchronizedRenderers.

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

Reimplemented from vtkSynchronizedRenderers.

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

Reimplemented from vtkSynchronizedRenderers.

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

Reimplemented from vtkSynchronizedRenderers.

virtual void vtkIceTSynchronizedRenderers::SetIdentifier ( unsigned  int) [virtual]

Identifier used to indentify the view to the vtkTileDisplayHelper.

virtual unsigned int vtkIceTSynchronizedRenderers::GetIdentifier ( ) [virtual]

Identifier used to indentify the view to the vtkTileDisplayHelper.

virtual void vtkIceTSynchronizedRenderers::SetRenderer ( vtkRenderer ) [virtual]

Set the renderer to be synchronized by this instance. A vtkSynchronizedRenderers instance can be used to synchronize exactly 1 renderer on each processes. You can create multiple instances on vtkSynchronizedRenderers to synchronize multiple renderers.

Reimplemented from vtkSynchronizedRenderers.

void vtkIceTSynchronizedRenderers::SetTileDimensions ( int  x,
int  y 
) [inline]

Set the tile dimensions. Default is (1, 1). If any of the dimensions is > 1 then tile display mode is assumed.

Definition at line 61 of file vtkIceTSynchronizedRenderers.h.

void vtkIceTSynchronizedRenderers::SetTileMullions ( int  x,
int  y 
) [inline]

Set the tile mullions. The mullions are measured in pixels. Use negative numbers for overlap.

Definition at line 68 of file vtkIceTSynchronizedRenderers.h.

void vtkIceTSynchronizedRenderers::SetDataReplicatedOnAllProcesses ( bool  val) [inline]

Set to true if data is replicated on all processes. This will enable IceT to minimize communications since data is available on all process. Off by default.

Definition at line 76 of file vtkIceTSynchronizedRenderers.h.

void vtkIceTSynchronizedRenderers::SetKdTree ( vtkPKdTree kdtree) [inline]

kd tree that gives processes ordering. Initial value is a NULL pointer. This is used only when UseOrderedCompositing is true.

Definition at line 83 of file vtkIceTSynchronizedRenderers.h.

void vtkIceTSynchronizedRenderers::SetUseOrderedCompositing ( bool  uoc) [inline]

Set this to true, if compositing must be done in a specific order. This is necessary when rendering volumes or translucent geometries. When UseOrderedCompositing is set to true, it is expected that the KdTree is set as well. The KdTree is used to decide the process-order for compositing.

Definition at line 93 of file vtkIceTSynchronizedRenderers.h.

virtual void vtkIceTSynchronizedRenderers::SetImageReductionFactor ( int  val) [virtual]

Set the image reduction factor. Overrides superclass implementation.

Reimplemented from vtkSynchronizedRenderers.

virtual int vtkIceTSynchronizedRenderers::GetImageReductionFactor ( ) [inline, virtual]

Set the image reduction factor. Overrides superclass implementation.

Reimplemented from vtkSynchronizedRenderers.

Definition at line 100 of file vtkIceTSynchronizedRenderers.h.

virtual void vtkIceTSynchronizedRenderers::SetParallelController ( vtkMultiProcessController cont) [inline, virtual]

Set the parallel message communicator. This is used to communicate among processes.

Reimplemented from vtkSynchronizedRenderers.

Definition at line 107 of file vtkIceTSynchronizedRenderers.h.

void vtkIceTSynchronizedRenderers::SetImageProcessingPass ( vtkImageProcessingPass )

Get/Set an image processing pass to process the rendered images.

virtual vtkImageProcessingPass* vtkIceTSynchronizedRenderers::GetImageProcessingPass ( ) [virtual]

Get/Set an image processing pass to process the rendered images.

void vtkIceTSynchronizedRenderers::SetUseDepthBuffer ( bool  )

Activates or de-activated the use of Depth Buffer

void vtkIceTSynchronizedRenderers::SetRenderPass ( vtkRenderPass )

Get/Set geometry rendering pass. This pass is used to render the geometry. If none specified then default rendering pipeline is used. This is typically the render-pass pipeline after the CameraPass. The CameraPass is setup by ParaView specially since ParaView needs some customizations for multiviews/icet etc.

virtual vtkRenderPass* vtkIceTSynchronizedRenderers::GetRenderPass ( ) [virtual]

Get/Set geometry rendering pass. This pass is used to render the geometry. If none specified then default rendering pipeline is used. This is typically the render-pass pipeline after the CameraPass. The CameraPass is setup by ParaView specially since ParaView needs some customizations for multiviews/icet etc.

virtual void vtkIceTSynchronizedRenderers::HandleEndRender ( ) [protected, virtual]

Reimplemented from vtkSynchronizedRenderers.

virtual vtkRawImage& vtkIceTSynchronizedRenderers::CaptureRenderedImage ( ) [protected, virtual]

Overridden to capture image from icet buffers instead of the screen.

Reimplemented from vtkSynchronizedRenderers.


Member Data Documentation

Definition at line 138 of file vtkIceTSynchronizedRenderers.h.

Definition at line 146 of file vtkIceTSynchronizedRenderers.h.

Definition at line 147 of file vtkIceTSynchronizedRenderers.h.

vtkMyImagePasterPass* vtkIceTSynchronizedRenderers::ImagePastingPass [protected]

Definition at line 148 of file vtkIceTSynchronizedRenderers.h.

Definition at line 151 of file vtkIceTSynchronizedRenderers.h.

Definition at line 152 of file vtkIceTSynchronizedRenderers.h.


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