|
ParaView
|
vtkRenderPass subclass for compositing renderings across processes using IceT. More...
#include <vtkIceTCompositePass.h>


vtkRenderPass subclass for compositing renderings across processes using IceT.
vtkIceTCompositePass is a vtkRenderPass subclass that can be used for compositing images (rgba or depth buffer) 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.
Definition at line 49 of file vtkIceTCompositePass.h.
| vtkIceTCompositePass::vtkIceTCompositePass | ( | ) | [protected] |
Internal callback. Don't use.
| vtkIceTCompositePass::~vtkIceTCompositePass | ( | ) | [protected] |
Internal callback. Don't use.
| static vtkIceTCompositePass* vtkIceTCompositePass::New | ( | ) | [static] |
Reimplemented from vtkObject.
| virtual const char* vtkIceTCompositePass::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderPass.
| static int vtkIceTCompositePass::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkRenderPass.
| virtual int vtkIceTCompositePass::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkRenderPass.
| static vtkIceTCompositePass* vtkIceTCompositePass::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderPass.
| void vtkIceTCompositePass::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkRenderPass.
| virtual void vtkIceTCompositePass::Render | ( | const vtkRenderState * | s | ) | [virtual] |
Perform rendering according to a render state s.
Implements vtkRenderPass.
| void vtkIceTCompositePass::ReleaseGraphicsResources | ( | vtkWindow * | w | ) | [virtual] |
Release graphics resources and ask components to release their own resources.
Reimplemented from vtkRenderPass.
| virtual vtkMultiProcessController* vtkIceTCompositePass::GetController | ( | ) | [virtual] |
Controller If it is NULL, nothing will be rendered and a warning will be emitted. Initial value is a NULL pointer.
| virtual void vtkIceTCompositePass::SetController | ( | vtkMultiProcessController * | controller | ) | [virtual] |
Controller If it is NULL, nothing will be rendered and a warning will be emitted. Initial value is a NULL pointer.
| 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 NULL pointer.
| 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 NULL pointer.
Get/Set the tile dimensions. Default is (1, 1). If any of the dimensions is > 1 than tile display mode is assumed.
| 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.
| 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.
Get/Set the tile dimensions. Default is (1, 1). If any of the dimensions is > 1 than tile display mode is assumed.
| 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.
Get/Set the tile mullions. The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.
| 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}.
| 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}.
Get/Set the tile mullions. The mullions are measured in pixels. Use negative numbers for overlap. Initial value is {0,0}.
| 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}.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| virtual vtkPKdTree* vtkIceTCompositePass::GetKdTree | ( | ) | [virtual] |
kd tree that gives processes ordering. Initial value is a NULL pointer. This is used only when UseOrderedCompositing is true.
| virtual void vtkIceTCompositePass::SetKdTree | ( | vtkPKdTree * | kdtree | ) | [virtual] |
kd tree that gives processes ordering. Initial value is a NULL pointer. This is used only when UseOrderedCompositing is true.
| 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 KdTree is set as well. The KdTree is used to decide the process-order for compositing. Initial value is false.
| 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 KdTree is set as well. The KdTree is used to decide the process-order for compositing. Initial value is false.
| 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 KdTree is set as well. The KdTree is used to decide the process-order for compositing. Initial value is false.
| 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 KdTree is set as well. The KdTree is used to decide the process-order for compositing. Initial value is false.
| virtual bool vtkIceTCompositePass::GetDepthOnly | ( | ) | [virtual] |
Tell to only deal with the depth component and ignore the color components. If true, UseOrderedCompositing is ignored. Initial value is false.
| virtual void vtkIceTCompositePass::SetDepthOnly | ( | bool | ) | [virtual] |
Tell to only deal with the depth component and ignore the color components. If true, UseOrderedCompositing is ignored. Initial value is false.
| virtual bool vtkIceTCompositePass::GetFixBackground | ( | ) | [virtual] |
IceT does not deal well with the background, by setting FixBackground to true, the pass will take care of displaying the correct background at the price of some copy operations. Initial value is false.
| virtual void vtkIceTCompositePass::SetFixBackground | ( | bool | ) | [virtual] |
IceT does not deal well with the background, by setting FixBackground to true, the pass will take care of displaying the correct background at the price of some copy operations. Initial value is false.
| 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.
| 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.
| void vtkIceTCompositePass::PushIceTColorBufferToScreen | ( | const vtkRenderState * | render_state | ) |
Obtains the composited color-buffer from IceT and pushes it to the screen. This is only done when FixBackground is true.
| virtual double* vtkIceTCompositePass::GetPhysicalViewport | ( | ) | [virtual] |
PhysicalViewport is the viewport in the current render-window where the last-rendered-tile maps.
| virtual void vtkIceTCompositePass::GetPhysicalViewport | ( | double & | , |
| double & | , | ||
| double & | , | ||
| double & | |||
| ) | [virtual] |
PhysicalViewport is the viewport in the current render-window where the last-rendered-tile maps.
| virtual void vtkIceTCompositePass::GetPhysicalViewport | ( | double | [4] | ) | [virtual] |
PhysicalViewport is the viewport in the current render-window where the last-rendered-tile maps.
| virtual void vtkIceTCompositePass::Draw | ( | const vtkRenderState * | ) | [virtual] |
Internal callback. Don't use.
| virtual void vtkIceTCompositePass::SetupContext | ( | const vtkRenderState * | ) | [protected, virtual] |
Spits the different components for the rendering process.
| virtual void vtkIceTCompositePass::CleanupContext | ( | const vtkRenderState * | ) | [protected, virtual] |
Spits the different components for the rendering process.
| void vtkIceTCompositePass::CreateProgram | ( | vtkOpenGLRenderWindow * | context | ) | [protected] |
Create program for texture mapping.
| void vtkIceTCompositePass::UpdateTileInformation | ( | const vtkRenderState * | ) | [protected] |
Updates the IceT tile information during each render.
Definition at line 191 of file vtkIceTCompositePass.h.
vtkPKdTree* vtkIceTCompositePass::KdTree [protected] |
Definition at line 192 of file vtkIceTCompositePass.h.
vtkRenderPass* vtkIceTCompositePass::RenderPass [protected] |
Definition at line 193 of file vtkIceTCompositePass.h.
vtkIceTContext* vtkIceTCompositePass::IceTContext [protected] |
Definition at line 194 of file vtkIceTCompositePass.h.
bool vtkIceTCompositePass::UseOrderedCompositing [protected] |
Definition at line 196 of file vtkIceTCompositePass.h.
bool vtkIceTCompositePass::DepthOnly [protected] |
Definition at line 197 of file vtkIceTCompositePass.h.
bool vtkIceTCompositePass::DataReplicatedOnAllProcesses [protected] |
Definition at line 198 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::TileDimensions[2] [protected] |
Definition at line 199 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::TileMullions[2] [protected] |
Definition at line 200 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::LastTileDimensions[2] [protected] |
Definition at line 202 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::LastTileMullions[2] [protected] |
Definition at line 203 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::LastTileViewport[4] [protected] |
Definition at line 204 of file vtkIceTCompositePass.h.
double vtkIceTCompositePass::PhysicalViewport[4] [protected] |
Definition at line 205 of file vtkIceTCompositePass.h.
int vtkIceTCompositePass::ImageReductionFactor [protected] |
Definition at line 207 of file vtkIceTCompositePass.h.
vtkFloatArray* vtkIceTCompositePass::LastRenderedDepths [protected] |
Definition at line 209 of file vtkIceTCompositePass.h.
vtkPixelBufferObject* vtkIceTCompositePass::PBO [protected] |
Definition at line 211 of file vtkIceTCompositePass.h.
vtkTextureObject* vtkIceTCompositePass::ZTexture [protected] |
Definition at line 212 of file vtkIceTCompositePass.h.
vtkShaderProgram2* vtkIceTCompositePass::Program [protected] |
Definition at line 213 of file vtkIceTCompositePass.h.
bool vtkIceTCompositePass::FixBackground [protected] |
Definition at line 215 of file vtkIceTCompositePass.h.
vtkTextureObject* vtkIceTCompositePass::BackgroundTexture [protected] |
Definition at line 216 of file vtkIceTCompositePass.h.
vtkTextureObject* vtkIceTCompositePass::IceTTexture [protected] |
Definition at line 217 of file vtkIceTCompositePass.h.
Definition at line 223 of file vtkIceTCompositePass.h.
Definition at line 227 of file vtkIceTCompositePass.h.
1.7.5.1