VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkRenderStepsPass Class Reference

Execute render passes sequentially. More...

#include <vtkRenderStepsPass.h>

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

List of all members.

Public Types

typedef vtkRenderPass Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkRenderStepsPassNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual void Render (const vtkRenderState *s)
virtual vtkCameraPassGetCameraPass ()
void SetCameraPass (vtkCameraPass *)
virtual vtkRenderPassGetLightsPass ()
void SetLightsPass (vtkRenderPass *)
virtual vtkRenderPassGetOpaquePass ()
void SetOpaquePass (vtkRenderPass *)
virtual vtkRenderPassGetTranslucentPass ()
void SetTranslucentPass (vtkRenderPass *)
virtual vtkRenderPassGetVolumetricPass ()
void SetVolumetricPass (vtkRenderPass *)
virtual vtkRenderPassGetOverlayPass ()
void SetOverlayPass (vtkRenderPass *)
virtual vtkRenderPassGetPostProcessPass ()
void SetPostProcessPass (vtkRenderPass *)

Static Public Member Functions

static vtkRenderStepsPassNew ()
static int IsTypeOf (const char *type)
static vtkRenderStepsPassSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkRenderStepsPass ()
virtual ~vtkRenderStepsPass ()

Protected Attributes

vtkCameraPassCameraPass
vtkRenderPassLightsPass
vtkRenderPassOpaquePass
vtkRenderPassTranslucentPass
vtkRenderPassVolumetricPass
vtkRenderPassOverlayPass
vtkRenderPassPostProcessPass
vtkSequencePassSequencePass

Detailed Description

Execute render passes sequentially.

vtkRenderStepsPass executes a standard list of render passes sequentially. This class allows to define a sequence of render passes at run time. You can set a step to NULL in order to skip that step. Likewise you can replace any of the default steps with your own step. Typically in such a case you would get the current step, replace it with your own and likely have your step call the current step as a delegate. For example to replace the translucent step with a depthpeeling step you would get the current tranlucent step and set it as a delegate on the depthpeeling step. Then set this classes translparent step to the depthpeelnig step.

See also:
vtkRenderPass
Tests:
vtkRenderStepsPass (Tests)

Definition at line 44 of file vtkRenderStepsPass.h.


Member Typedef Documentation

Reimplemented from vtkRenderPass.

Definition at line 48 of file vtkRenderStepsPass.h.


Constructor & Destructor Documentation

virtual vtkRenderStepsPass::~vtkRenderStepsPass ( ) [protected, virtual]

Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkRenderStepsPass::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderPass.

virtual int vtkRenderStepsPass::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderPass.

Reimplemented from vtkRenderPass.

virtual vtkObjectBase* vtkRenderStepsPass::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkRenderPass.

Reimplemented from vtkRenderPass.

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkRenderPass.

virtual void vtkRenderStepsPass::Render ( const vtkRenderState s) [virtual]

Perform rendering according to a render state s.

Precondition:
s_exists: s!=0

Implements vtkRenderPass.

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

Precondition:
w_exists: w!=0

Reimplemented from vtkRenderPass.

Get the RenderPass used for the Camera Step

Get the RenderPass used for the Camera Step

Get the RenderPass used for the Lights Step

Get the RenderPass used for the Lights Step

Get the RenderPass used for the Opaque Step

Get the RenderPass used for the Opaque Step

Get the RenderPass used for the translucent Step

Get the RenderPass used for the translucent Step

Get the RenderPass used for the Volume Step

Get the RenderPass used for the Volume Step

Get the RenderPass used for the Overlay Step

Get the RenderPass used for the Overlay Step

Get the RenderPass used for the PostProcess Step

Get the RenderPass used for the PostProcess Step


Member Data Documentation

Definition at line 109 of file vtkRenderStepsPass.h.

Definition at line 110 of file vtkRenderStepsPass.h.

Definition at line 111 of file vtkRenderStepsPass.h.

Definition at line 112 of file vtkRenderStepsPass.h.

Definition at line 113 of file vtkRenderStepsPass.h.

Definition at line 114 of file vtkRenderStepsPass.h.

Definition at line 115 of file vtkRenderStepsPass.h.

Definition at line 116 of file vtkRenderStepsPass.h.


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