ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkIceTSynchronizedRenderers Class Reference

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

#include <vtkIceTSynchronizedRenderers.h>

Inherits vtkSynchronizedRenderers.

Collaboration diagram for vtkIceTSynchronizedRenderers:
Collaboration graph
[legend]

Public Types

typedef vtkSynchronizedRenderers Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetRenderer (vtkRenderer *)
 Set the renderer to be synchronized by this instance. More...
 
void SetTileDimensions (int x, int y)
 Set the tile dimensions. More...
 
void SetTileMullions (int x, int y)
 Set the tile mullions. More...
 
void SetDataReplicatedOnAllProcesses (bool val)
 Set to true if data is replicated on all processes. More...
 
void SetPartitionOrdering (vtkPartitionOrderingInterface *partitionOrdering)
 partition ordering that gives processes ordering. More...
 
void SetUseOrderedCompositing (bool uoc)
 Set this to true, if compositing must be done in a specific order. More...
 
virtual void SetImageReductionFactor (int val)
 Set the image reduction factor. More...
 
virtual int GetImageReductionFactor ()
 
void SetUseDepthBuffer (bool)
 Activates or de-activated the use of Depth Buffer. More...
 
void SetRenderEmptyImages (bool)
 Enable/Disable empty images optimization. More...
 
virtual void SetIdentifier (unsigned int)
 Identifier used to indentify the view to the vtkTileDisplayHelper. More...
 
virtual unsigned int GetIdentifier ()
 Identifier used to indentify the view to the vtkTileDisplayHelper. More...
 
virtual void SetParallelController (vtkMultiProcessController *cont)
 Set the parallel message communicator. More...
 
void SetImageProcessingPass (vtkImageProcessingPass *)
 Get/Set an image processing pass to process the rendered images. More...
 
virtual vtkImageProcessingPass * GetImageProcessingPass ()
 Get/Set an image processing pass to process the rendered images. More...
 
void SetRenderPass (vtkRenderPass *)
 Get/Set geometry rendering pass. More...
 
virtual vtkRenderPass * GetRenderPass ()
 Get/Set geometry rendering pass. More...
 
virtual vtkIceTCompositePassGetIceTCompositePass ()
 Provides access to the internal vtkIceTCompositePass. More...
 

Static Public Member Functions

static vtkIceTSynchronizedRenderersNew ()
 
static int IsTypeOf (const char *type)
 
static vtkIceTSynchronizedRenderersSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkIceTSynchronizedRenderers ()
 
 ~vtkIceTSynchronizedRenderers ()
 
virtual void HandleEndRender ()
 
virtual vtkRawImage & CaptureRenderedImage ()
 Overridden to capture image from icet buffers instead of the screen. More...
 
virtual void SlaveStartRender ()
 

Protected Attributes

unsigned int Identifier
 
vtkCameraPass * CameraRenderPass
 
vtkIceTCompositePassIceTCompositePass
 
vtkMyImagePasterPass * ImagePastingPass
 
vtkRenderPass * RenderPass
 
vtkImageProcessingPass * ImageProcessingPass
 

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 41 of file vtkIceTSynchronizedRenderers.h.

Member Typedef Documentation

◆ Superclass

typedef vtkSynchronizedRenderers vtkIceTSynchronizedRenderers::Superclass

Definition at line 46 of file vtkIceTSynchronizedRenderers.h.

Constructor & Destructor Documentation

◆ vtkIceTSynchronizedRenderers()

vtkIceTSynchronizedRenderers::vtkIceTSynchronizedRenderers ( )
protected

◆ ~vtkIceTSynchronizedRenderers()

vtkIceTSynchronizedRenderers::~vtkIceTSynchronizedRenderers ( )
protected

Member Function Documentation

◆ New()

static vtkIceTSynchronizedRenderers* vtkIceTSynchronizedRenderers::New ( )
static

◆ GetClassName()

virtual const char* vtkIceTSynchronizedRenderers::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ SetIdentifier()

virtual void vtkIceTSynchronizedRenderers::SetIdentifier ( unsigned  int)
virtual

Identifier used to indentify the view to the vtkTileDisplayHelper.

◆ GetIdentifier()

virtual unsigned int vtkIceTSynchronizedRenderers::GetIdentifier ( )
virtual

Identifier used to indentify the view to the vtkTileDisplayHelper.

◆ SetRenderer()

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.

◆ SetTileDimensions()

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 69 of file vtkIceTSynchronizedRenderers.h.

◆ SetTileMullions()

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 75 of file vtkIceTSynchronizedRenderers.h.

◆ SetDataReplicatedOnAllProcesses()

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 82 of file vtkIceTSynchronizedRenderers.h.

◆ SetPartitionOrdering()

void vtkIceTSynchronizedRenderers::SetPartitionOrdering ( vtkPartitionOrderingInterface partitionOrdering)
inline

partition ordering that gives processes ordering.

Initial value is a NULL pointer. This is used only when UseOrderedCompositing is true.

Definition at line 91 of file vtkIceTSynchronizedRenderers.h.

◆ SetUseOrderedCompositing()

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 PartitionOrdering is set as well. The PartitionOrdering is used to decide the process-order for compositing.

Definition at line 102 of file vtkIceTSynchronizedRenderers.h.

◆ SetImageReductionFactor()

virtual void vtkIceTSynchronizedRenderers::SetImageReductionFactor ( int  val)
virtual

Set the image reduction factor.

Overrides superclass implementation.

◆ GetImageReductionFactor()

virtual int vtkIceTSynchronizedRenderers::GetImageReductionFactor ( )
inlinevirtual

Definition at line 111 of file vtkIceTSynchronizedRenderers.h.

◆ SetParallelController()

virtual void vtkIceTSynchronizedRenderers::SetParallelController ( vtkMultiProcessController *  cont)
inlinevirtual

Set the parallel message communicator.

This is used to communicate among processes.

Definition at line 121 of file vtkIceTSynchronizedRenderers.h.

◆ SetImageProcessingPass()

void vtkIceTSynchronizedRenderers::SetImageProcessingPass ( vtkImageProcessingPass *  )

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

◆ GetImageProcessingPass()

virtual vtkImageProcessingPass* vtkIceTSynchronizedRenderers::GetImageProcessingPass ( )
virtual

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

◆ SetUseDepthBuffer()

void vtkIceTSynchronizedRenderers::SetUseDepthBuffer ( bool  )

Activates or de-activated the use of Depth Buffer.

◆ SetRenderEmptyImages()

void vtkIceTSynchronizedRenderers::SetRenderEmptyImages ( bool  )

Enable/Disable empty images optimization.

Render empty images is disabled by default. It may be needed if a painter needs to make MPI global collective communication.

◆ SetRenderPass()

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.

◆ GetRenderPass()

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.

◆ GetIceTCompositePass()

virtual vtkIceTCompositePass* vtkIceTSynchronizedRenderers::GetIceTCompositePass ( )
virtual

Provides access to the internal vtkIceTCompositePass.

Only use this if you know what you're doing.

◆ HandleEndRender()

virtual void vtkIceTSynchronizedRenderers::HandleEndRender ( )
protectedvirtual

◆ CaptureRenderedImage()

virtual vtkRawImage& vtkIceTSynchronizedRenderers::CaptureRenderedImage ( )
protectedvirtual

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

◆ SlaveStartRender()

virtual void vtkIceTSynchronizedRenderers::SlaveStartRender ( )
protectedvirtual

Member Data Documentation

◆ Identifier

unsigned int vtkIceTSynchronizedRenderers::Identifier
protected

Definition at line 172 of file vtkIceTSynchronizedRenderers.h.

◆ CameraRenderPass

vtkCameraPass* vtkIceTSynchronizedRenderers::CameraRenderPass
protected

Definition at line 182 of file vtkIceTSynchronizedRenderers.h.

◆ IceTCompositePass

vtkIceTCompositePass* vtkIceTSynchronizedRenderers::IceTCompositePass
protected

Definition at line 183 of file vtkIceTSynchronizedRenderers.h.

◆ ImagePastingPass

vtkMyImagePasterPass* vtkIceTSynchronizedRenderers::ImagePastingPass
protected

Definition at line 184 of file vtkIceTSynchronizedRenderers.h.

◆ RenderPass

vtkRenderPass* vtkIceTSynchronizedRenderers::RenderPass
protected

Definition at line 187 of file vtkIceTSynchronizedRenderers.h.

◆ ImageProcessingPass

vtkImageProcessingPass* vtkIceTSynchronizedRenderers::ImageProcessingPass
protected

Definition at line 188 of file vtkIceTSynchronizedRenderers.h.


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