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

IceT enabled render pass for distributed rendering. More...

#include <vtkIceTCompositePass.h>

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

Public Types

typedef vtkRenderPass Superclass
 
- Public Types inherited from vtkRenderPass
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void Render (const vtkRenderState *s) override
 Perform rendering according to a render state s. More...
 
void ReleaseGraphicsResources (vtkWindow *w) override
 Release graphics resources and ask components to release their own resources. More...
 
void GetLastRenderedTile (vtkSynchronizedRenderers::vtkRawImage &tile)
 Returns the last rendered tile from this process, if any. More...
 
vtkFloatArrayGetLastRenderedDepths ()
 Provides access to the last rendered depth-buffer, if any. More...
 
vtkFloatArrayGetLastRenderedRGBA32F ()
 Provides access to the last rendered float image in vtkValuePass, if any. More...
 
void PushIceTDepthBufferToScreen (const vtkRenderState *render_state)
 Obtains the composited depth-buffer from IceT and pushes it to the screen. More...
 
virtual vtkMultiProcessControllerGetController ()
 Controller If it is nullptr, nothing will be rendered and a warning will be emitted. More...
 
virtual void SetController (vtkMultiProcessController *controller)
 Controller If it is nullptr, nothing will be rendered and a warning will be emitted. More...
 
void SetRenderPass (vtkRenderPass *)
 Get/Set the render pass used to do the actual rendering. More...
 
virtual vtkRenderPassGetRenderPass ()
 Get/Set the render pass used to do the actual rendering. More...
 
virtual void SetTileDimensions (int, int)
 Get/Set the tile dimensions. More...
 
void SetTileDimensions (int [2])
 Get/Set the tile dimensions. More...
 
virtual intGetTileDimensions ()
 Get/Set the tile dimensions. More...
 
virtual void GetTileDimensions (int &, int &)
 Get/Set the tile dimensions. More...
 
virtual void GetTileDimensions (int [2])
 Get/Set the tile dimensions. More...
 
virtual void SetTileMullions (int, int)
 Get/Set the tile mullions. More...
 
void SetTileMullions (int [2])
 Get/Set the tile mullions. More...
 
virtual intGetTileMullions ()
 Get/Set the tile mullions. More...
 
virtual void GetTileMullions (int &, int &)
 Get/Set the tile mullions. More...
 
virtual void GetTileMullions (int [2])
 Get/Set the tile mullions. More...
 
virtual void SetDataReplicatedOnAllProcesses (bool)
 Set to true if data is replicated on all processes. More...
 
virtual bool GetDataReplicatedOnAllProcesses ()
 Set to true if data is replicated on all processes. More...
 
virtual void DataReplicatedOnAllProcessesOn ()
 Set to true if data is replicated on all processes. More...
 
virtual void DataReplicatedOnAllProcessesOff ()
 Set to true if data is replicated on all processes. More...
 
virtual void SetImageReductionFactor (int)
 Set the image reduction factor. More...
 
virtual int GetImageReductionFactor ()
 Set the image reduction factor. More...
 
virtual vtkOrderedCompositingHelperGetOrderedCompositingHelper ()
 partition ordering that gives processes ordering. More...
 
virtual void SetOrderedCompositingHelper (vtkOrderedCompositingHelper *helper)
 partition ordering that gives processes ordering. More...
 
virtual bool GetRenderEmptyImages ()
 Enable/disable rendering of empty images. More...
 
virtual void SetRenderEmptyImages (bool)
 Enable/disable rendering of empty images. More...
 
virtual void RenderEmptyImagesOn ()
 Enable/disable rendering of empty images. More...
 
virtual void RenderEmptyImagesOff ()
 Enable/disable rendering of empty images. More...
 
virtual bool GetUseOrderedCompositing ()
 Set this to true, if compositing must be done in a specific order. More...
 
virtual void SetUseOrderedCompositing (bool)
 Set this to true, if compositing must be done in a specific order. More...
 
virtual void UseOrderedCompositingOn ()
 Set this to true, if compositing must be done in a specific order. More...
 
virtual void UseOrderedCompositingOff ()
 Set this to true, if compositing must be done in a specific order. More...
 
virtual void SetEnableFloatValuePass (bool)
 Adjusts this pass to handle vtkValuePass::FLOATING_POINT, in which floating- point values are rendered to vtkValuePass's internal FBO. More...
 
virtual void SetDisplayRGBAResults (bool)
 When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result. More...
 
virtual bool GetDisplayRGBAResults ()
 When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result. More...
 
virtual void SetDisplayDepthResults (bool)
 When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result. More...
 
virtual bool GetDisplayDepthResults ()
 When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result. More...
 
void Draw (const vtkRenderState *render_state, const IceTDrawParams &)
 
- Public Member Functions inherited from vtkRenderPass
vtkRenderPassNewInstance () const
 
virtual int GetNumberOfRenderedProps ()
 
virtual int GetNumberOfRenderedProps ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkIceTCompositePassNew ()
 
static int IsTypeOf (const char *type)
 
static vtkIceTCompositePassSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkRenderPass
static int IsTypeOf (const char *type)
 
static vtkRenderPassSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkIceTCompositePass ()
 
 ~vtkIceTCompositePass () override
 
void ReadyProgram (vtkOpenGLRenderWindow *context)
 Create program (if needed) and prepare it for texture mapping. More...
 
void UpdateTileInformation (const vtkRenderState *)
 Updates the IceT tile information during each render. More...
 
void DisplayResultsIfNeeded (const vtkRenderState *)
 Called after Icet results have been generated. More...
 
void UpdateMatrices (const vtkRenderState *, double aspect)
 Update projection and model view matrices using current camera and provided aspect ratio. More...
 
virtual void SetupContext (const vtkRenderState *)
 Spits the different components for the rendering process. More...
 
virtual void CleanupContext (const vtkRenderState *)
 Spits the different components for the rendering process. More...
 
- Protected Member Functions inherited from vtkRenderPass
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkRenderPass ()
 
virtual ~vtkRenderPass ()
 
void UpdateCamera (vtkRenderer *renderer)
 
void ClearLights (vtkRenderer *renderer)
 
void UpdateLightGeometry (vtkRenderer *renderer)
 
void UpdateLights (vtkRenderer *renderer)
 
void UpdateGeometry (vtkRenderer *renderer)
 
void SetLastRenderingUsedDepthPeeling (vtkRenderer *renderer, bool value)
 
void SetLastRenderingUsedDepthPeeling (vtkRenderer *renderer, bool value)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkMultiProcessControllerController
 
vtkOrderedCompositingHelperOrderedCompositingHelper
 
vtkRenderPassRenderPass
 
vtkIceTContextIceTContext
 
bool RenderEmptyImages
 
bool UseOrderedCompositing
 
bool DataReplicatedOnAllProcesses
 
bool EnableFloatValuePass
 
int TileDimensions [2]
 
int TileMullions [2]
 
int ImageReductionFactor
 
bool DisplayRGBAResults
 
bool DisplayDepthResults
 
vtkNew< vtkFloatArrayLastRenderedDepths
 
vtkNew< vtkFloatArrayLastRenderedRGBA32F
 
vtkPixelBufferObjectPBO
 
vtkTextureObjectZTexture
 
vtkOpenGLHelperProgram
 
std::unique_ptr< vtkSynchronizedRenderers::vtkRawImageLastRenderedRGBAColors
 
- Protected Attributes inherited from vtkRenderPass
int NumberOfRenderedProps
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

IceT enabled render pass for distributed rendering.

vtkIceTCompositePass is a vtkRenderPass subclass that can be used for compositing images (RGBA_UBYTE, depth or RGBA_32F) across processes using IceT. This can be used in lieu of vtkCompositeRGBAPass. The usage of this pass differs slightly from vtkCompositeRGBAPass. vtkCompositeRGBAPass composites the active frame buffer, while this class requires that the render pass to render info the frame buffer that needs to be composited should be set as an ivar using SetRenderPass().

This class also provides support for tile-displays. Simply set the TileDimensions > [1, 1] and instead of rendering a composited image on the root node, it will split the view among all tiles and generate renderings on all processes.

Warning: Compositing RGBA_32F is only supported for a specific pass (vtkValuePass). For a more generic integration, vtkRenderPass should expose an internal FBO API.

Definition at line 58 of file vtkIceTCompositePass.h.

Member Typedef Documentation

◆ Superclass

Definition at line 62 of file vtkIceTCompositePass.h.

Constructor & Destructor Documentation

◆ vtkIceTCompositePass()

vtkIceTCompositePass::vtkIceTCompositePass ( )
protected

◆ ~vtkIceTCompositePass()

vtkIceTCompositePass::~vtkIceTCompositePass ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkIceTCompositePass* vtkIceTCompositePass::New ( )
static

◆ GetClassName()

virtual const char* vtkIceTCompositePass::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkRenderPass.

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkIceTCompositePass::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkRenderPass.

◆ Render()

void vtkIceTCompositePass::Render ( const vtkRenderState s)
overridevirtual

Perform rendering according to a render state s.

Precondition
s_exists: s!=0

Implements vtkRenderPass.

◆ ReleaseGraphicsResources()

void vtkIceTCompositePass::ReleaseGraphicsResources ( vtkWindow w)
overridevirtual

Release graphics resources and ask components to release their own resources.

Precondition
w_exists: w!=0

Reimplemented from vtkRenderPass.

◆ GetController()

virtual vtkMultiProcessController* vtkIceTCompositePass::GetController ( )
virtual

Controller If it is nullptr, nothing will be rendered and a warning will be emitted.

Initial value is a nullptr pointer.

◆ SetController()

virtual void vtkIceTCompositePass::SetController ( vtkMultiProcessController controller)
virtual

Controller If it is nullptr, nothing will be rendered and a warning will be emitted.

Initial value is a nullptr pointer.

◆ SetRenderPass()

void vtkIceTCompositePass::SetRenderPass ( vtkRenderPass )

Get/Set the render pass used to do the actual rendering.

The result of this delete pass is what gets composited using IceT. Initial value is a nullptr pointer.

◆ GetRenderPass()

virtual vtkRenderPass* vtkIceTCompositePass::GetRenderPass ( )
virtual

Get/Set the render pass used to do the actual rendering.

The result of this delete pass is what gets composited using IceT. Initial value is a nullptr pointer.

◆ SetTileDimensions() [1/2]

virtual void vtkIceTCompositePass::SetTileDimensions ( int  ,
int   
)
virtual

Get/Set the tile dimensions.

Default is (1, 1). If any of the dimensions is

1 than tile display mode is assumed.

◆ SetTileDimensions() [2/2]

void vtkIceTCompositePass::SetTileDimensions ( int  [2])

Get/Set the tile dimensions.

Default is (1, 1). If any of the dimensions is

1 than tile display mode is assumed.

◆ GetTileDimensions() [1/3]

virtual int* vtkIceTCompositePass::GetTileDimensions ( )
virtual

Get/Set the tile dimensions.

Default is (1, 1). If any of the dimensions is

1 than tile display mode is assumed.

◆ GetTileDimensions() [2/3]

virtual void vtkIceTCompositePass::GetTileDimensions ( int ,
int  
)
virtual

Get/Set the tile dimensions.

Default is (1, 1). If any of the dimensions is

1 than tile display mode is assumed.

◆ GetTileDimensions() [3/3]

virtual void vtkIceTCompositePass::GetTileDimensions ( int  [2])
virtual

Get/Set the tile dimensions.

Default is (1, 1). If any of the dimensions is

1 than tile display mode is assumed.

◆ SetTileMullions() [1/2]

virtual void vtkIceTCompositePass::SetTileMullions ( int  ,
int   
)
virtual

Get/Set the tile mullions.

The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.

◆ SetTileMullions() [2/2]

void vtkIceTCompositePass::SetTileMullions ( int  [2])

Get/Set the tile mullions.

The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.

◆ GetTileMullions() [1/3]

virtual int* vtkIceTCompositePass::GetTileMullions ( )
virtual

Get/Set the tile mullions.

The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.

◆ GetTileMullions() [2/3]

virtual void vtkIceTCompositePass::GetTileMullions ( int ,
int  
)
virtual

Get/Set the tile mullions.

The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.

◆ GetTileMullions() [3/3]

virtual void vtkIceTCompositePass::GetTileMullions ( int  [2])
virtual

Get/Set the tile mullions.

The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.

◆ SetDataReplicatedOnAllProcesses()

virtual void vtkIceTCompositePass::SetDataReplicatedOnAllProcesses ( bool  )
virtual

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. Initial value is false.

◆ GetDataReplicatedOnAllProcesses()

virtual bool vtkIceTCompositePass::GetDataReplicatedOnAllProcesses ( )
virtual

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. Initial value is false.

◆ DataReplicatedOnAllProcessesOn()

virtual void vtkIceTCompositePass::DataReplicatedOnAllProcessesOn ( )
virtual

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. Initial value is false.

◆ DataReplicatedOnAllProcessesOff()

virtual void vtkIceTCompositePass::DataReplicatedOnAllProcessesOff ( )
virtual

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. Initial value is false.

◆ SetImageReductionFactor()

virtual void vtkIceTCompositePass::SetImageReductionFactor ( int  )
virtual

Set the image reduction factor.

This can be used to speed up compositing. When using vtkIceTCompositePass use this image reduction factor rather than that on vtkSynchronizedRenderers since using vtkSynchronizedRenderers::ImageReductionFactor will not work correctly with IceT. Initial value is 1.

◆ GetImageReductionFactor()

virtual int vtkIceTCompositePass::GetImageReductionFactor ( )
virtual

Set the image reduction factor.

This can be used to speed up compositing. When using vtkIceTCompositePass use this image reduction factor rather than that on vtkSynchronizedRenderers since using vtkSynchronizedRenderers::ImageReductionFactor will not work correctly with IceT. Initial value is 1.

◆ GetOrderedCompositingHelper()

virtual vtkOrderedCompositingHelper* vtkIceTCompositePass::GetOrderedCompositingHelper ( )
virtual

partition ordering that gives processes ordering.

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

◆ SetOrderedCompositingHelper()

virtual void vtkIceTCompositePass::SetOrderedCompositingHelper ( vtkOrderedCompositingHelper helper)
virtual

partition ordering that gives processes ordering.

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

◆ GetRenderEmptyImages()

virtual bool vtkIceTCompositePass::GetRenderEmptyImages ( )
virtual

Enable/disable rendering of empty images.

Painters that use MPI global collective communication need to enable this. Initial value is false.

◆ SetRenderEmptyImages()

virtual void vtkIceTCompositePass::SetRenderEmptyImages ( bool  )
virtual

Enable/disable rendering of empty images.

Painters that use MPI global collective communication need to enable this. Initial value is false.

◆ RenderEmptyImagesOn()

virtual void vtkIceTCompositePass::RenderEmptyImagesOn ( )
virtual

Enable/disable rendering of empty images.

Painters that use MPI global collective communication need to enable this. Initial value is false.

◆ RenderEmptyImagesOff()

virtual void vtkIceTCompositePass::RenderEmptyImagesOff ( )
virtual

Enable/disable rendering of empty images.

Painters that use MPI global collective communication need to enable this. Initial value is false.

◆ GetUseOrderedCompositing()

virtual bool vtkIceTCompositePass::GetUseOrderedCompositing ( )
virtual

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 OrderedCompositingHelper is set as well. OrderedCompositingHelper is used to decide the process-order for compositing. Initial value is false.

◆ SetUseOrderedCompositing()

virtual void vtkIceTCompositePass::SetUseOrderedCompositing ( bool  )
virtual

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 OrderedCompositingHelper is set as well. OrderedCompositingHelper is used to decide the process-order for compositing. Initial value is false.

◆ UseOrderedCompositingOn()

virtual void vtkIceTCompositePass::UseOrderedCompositingOn ( )
virtual

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 OrderedCompositingHelper is set as well. OrderedCompositingHelper is used to decide the process-order for compositing. Initial value is false.

◆ UseOrderedCompositingOff()

virtual void vtkIceTCompositePass::UseOrderedCompositingOff ( )
virtual

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 OrderedCompositingHelper is set as well. OrderedCompositingHelper is used to decide the process-order for compositing. Initial value is false.

◆ GetLastRenderedTile()

void vtkIceTCompositePass::GetLastRenderedTile ( vtkSynchronizedRenderers::vtkRawImage tile)

Returns the last rendered tile from this process, if any.

Image is invalid if tile is not available on the current process.

◆ GetLastRenderedDepths()

vtkFloatArray* vtkIceTCompositePass::GetLastRenderedDepths ( )

Provides access to the last rendered depth-buffer, if any.

May return nullptr if depth buffer was not composited and available on the current rank.

◆ SetEnableFloatValuePass()

virtual void vtkIceTCompositePass::SetEnableFloatValuePass ( bool  )
virtual

Adjusts this pass to handle vtkValuePass::FLOATING_POINT, in which floating- point values are rendered to vtkValuePass's internal FBO.

◆ GetLastRenderedRGBA32F()

vtkFloatArray* vtkIceTCompositePass::GetLastRenderedRGBA32F ( )

Provides access to the last rendered float image in vtkValuePass, if any.

May return nullptr if a float image was not composited and is not available on the current rank.

◆ PushIceTDepthBufferToScreen()

void vtkIceTCompositePass::PushIceTDepthBufferToScreen ( const vtkRenderState render_state)

Obtains the composited depth-buffer from IceT and pushes it to the screen.

This is only done when DepthOnly is true.

◆ SetDisplayRGBAResults()

virtual void vtkIceTCompositePass::SetDisplayRGBAResults ( bool  )
virtual

When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result.

Generally speaking, for a vtkRenderPass, this must always be true. However, for ParaView use cases many times we display the compositing result on the server-side. In which case, we can save on the extra work to push results to screen. Hence, vtkIceTCompositePass sets this to false by default.

◆ GetDisplayRGBAResults()

virtual bool vtkIceTCompositePass::GetDisplayRGBAResults ( )
virtual

When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result.

Generally speaking, for a vtkRenderPass, this must always be true. However, for ParaView use cases many times we display the compositing result on the server-side. In which case, we can save on the extra work to push results to screen. Hence, vtkIceTCompositePass sets this to false by default.

◆ SetDisplayDepthResults()

virtual void vtkIceTCompositePass::SetDisplayDepthResults ( bool  )
virtual

When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result.

Generally speaking, for a vtkRenderPass, this must always be true. However, for ParaView use cases many times we display the compositing result on the server-side. In which case, we can save on the extra work to push results to screen. Hence, vtkIceTCompositePass sets this to false by default.

◆ GetDisplayDepthResults()

virtual bool vtkIceTCompositePass::GetDisplayDepthResults ( )
virtual

When set to true, vtkIceTCompositePass will push back compositing results to the display on ranks where the IceT generated a composited result.

Generally speaking, for a vtkRenderPass, this must always be true. However, for ParaView use cases many times we display the compositing result on the server-side. In which case, we can save on the extra work to push results to screen. Hence, vtkIceTCompositePass sets this to false by default.

◆ Draw()

void vtkIceTCompositePass::Draw ( const vtkRenderState render_state,
const IceTDrawParams &   
)

◆ SetupContext()

virtual void vtkIceTCompositePass::SetupContext ( const vtkRenderState )
protectedvirtual

Spits the different components for the rendering process.

◆ CleanupContext()

virtual void vtkIceTCompositePass::CleanupContext ( const vtkRenderState )
protectedvirtual

Spits the different components for the rendering process.

◆ ReadyProgram()

void vtkIceTCompositePass::ReadyProgram ( vtkOpenGLRenderWindow context)
protected

Create program (if needed) and prepare it for texture mapping.

Precondition
context_exists: context!=0
Postcondition
Program_exists: this->Program!=0

◆ UpdateTileInformation()

void vtkIceTCompositePass::UpdateTileInformation ( const vtkRenderState )
protected

Updates the IceT tile information during each render.

◆ DisplayResultsIfNeeded()

void vtkIceTCompositePass::DisplayResultsIfNeeded ( const vtkRenderState )
protected

Called after Icet results have been generated.

vtkIceTCompositePass will paste back the IceT results image to the viewport if so requested by DisplayDepthResults and DisplayRGBAResults flags.

◆ UpdateMatrices()

void vtkIceTCompositePass::UpdateMatrices ( const vtkRenderState ,
double  aspect 
)
protected

Update projection and model view matrices using current camera and provided aspect ratio.

Member Data Documentation

◆ Controller

vtkMultiProcessController* vtkIceTCompositePass::Controller
protected

Definition at line 269 of file vtkIceTCompositePass.h.

◆ OrderedCompositingHelper

vtkOrderedCompositingHelper* vtkIceTCompositePass::OrderedCompositingHelper
protected

Definition at line 270 of file vtkIceTCompositePass.h.

◆ RenderPass

vtkRenderPass* vtkIceTCompositePass::RenderPass
protected

Definition at line 271 of file vtkIceTCompositePass.h.

◆ IceTContext

vtkIceTContext* vtkIceTCompositePass::IceTContext
protected

Definition at line 272 of file vtkIceTCompositePass.h.

◆ RenderEmptyImages

bool vtkIceTCompositePass::RenderEmptyImages
protected

Definition at line 274 of file vtkIceTCompositePass.h.

◆ UseOrderedCompositing

bool vtkIceTCompositePass::UseOrderedCompositing
protected

Definition at line 275 of file vtkIceTCompositePass.h.

◆ DataReplicatedOnAllProcesses

bool vtkIceTCompositePass::DataReplicatedOnAllProcesses
protected

Definition at line 276 of file vtkIceTCompositePass.h.

◆ EnableFloatValuePass

bool vtkIceTCompositePass::EnableFloatValuePass
protected

Definition at line 277 of file vtkIceTCompositePass.h.

◆ TileDimensions

int vtkIceTCompositePass::TileDimensions[2]
protected

Definition at line 278 of file vtkIceTCompositePass.h.

◆ TileMullions

int vtkIceTCompositePass::TileMullions[2]
protected

Definition at line 279 of file vtkIceTCompositePass.h.

◆ ImageReductionFactor

int vtkIceTCompositePass::ImageReductionFactor
protected

Definition at line 281 of file vtkIceTCompositePass.h.

◆ DisplayRGBAResults

bool vtkIceTCompositePass::DisplayRGBAResults
protected

Definition at line 283 of file vtkIceTCompositePass.h.

◆ DisplayDepthResults

bool vtkIceTCompositePass::DisplayDepthResults
protected

Definition at line 284 of file vtkIceTCompositePass.h.

◆ LastRenderedDepths

vtkNew<vtkFloatArray> vtkIceTCompositePass::LastRenderedDepths
protected

Definition at line 286 of file vtkIceTCompositePass.h.

◆ LastRenderedRGBA32F

vtkNew<vtkFloatArray> vtkIceTCompositePass::LastRenderedRGBA32F
protected

Definition at line 288 of file vtkIceTCompositePass.h.

◆ PBO

vtkPixelBufferObject* vtkIceTCompositePass::PBO
protected

Definition at line 290 of file vtkIceTCompositePass.h.

◆ ZTexture

vtkTextureObject* vtkIceTCompositePass::ZTexture
protected

Definition at line 291 of file vtkIceTCompositePass.h.

◆ Program

vtkOpenGLHelper* vtkIceTCompositePass::Program
protected

Definition at line 292 of file vtkIceTCompositePass.h.

◆ LastRenderedRGBAColors

std::unique_ptr<vtkSynchronizedRenderers::vtkRawImage> vtkIceTCompositePass::LastRenderedRGBAColors
protected

Definition at line 294 of file vtkIceTCompositePass.h.


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