vtkRenderPass Class Reference

#include <vtkRenderPass.h>

Inheritance diagram for vtkRenderPass:

Inheritance graph
[legend]
Collaboration diagram for vtkRenderPass:

Collaboration graph
[legend]

List of all members.


Detailed Description

Perform part of the rendering of a vtkRenderer.

vtkRenderPass is a deferred class with a simple deferred method Render. This method performs a rendering pass of the scene described in vtkRenderState. Subclasses define what really happens during rendering.

Directions to write a subclass of vtkRenderPass: It is up to the subclass to decide if it needs to delegate part of its job to some other vtkRenderPass objects ("delegates").

Definition at line 53 of file vtkRenderPass.h.


Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources (vtkWindow *w)
virtual void Render (const vtkRenderState *s)=0
virtual int GetNumberOfRenderedProps ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkRenderPassSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRenderPass ()
virtual ~vtkRenderPass ()
void UpdateCamera (vtkRenderer *renderer)
void ClearLights (vtkRenderer *renderer)
void UpdateLightGeometry (vtkRenderer *renderer)
void UpdateLights (vtkRenderer *renderer)
void SetLastRenderingUsedDepthPeeling (vtkRenderer *renderer, bool value)

Protected Attributes

int NumberOfRenderedProps

Member Typedef Documentation


Constructor & Destructor Documentation

vtkRenderPass::vtkRenderPass (  )  [protected]

Default constructor. Do nothing.

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

Destructor. Do nothing.


Member Function Documentation

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

static int vtkRenderPass::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 vtkObject.

Reimplemented in vtkCompositeRGBAPass, vtkCompositeZPass, vtkCameraPass, vtkClearZPass, vtkDefaultPass, vtkDepthPeelingPass, vtkGaussianBlurPass, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkSequencePass, vtkShadowMapPass, vtkSobelGradientMagnitudePass, vtkTranslucentPass, and vtkVolumetricPass.

virtual int vtkRenderPass::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 vtkObject.

Reimplemented in vtkCompositeRGBAPass, vtkCompositeZPass, vtkCameraPass, vtkClearZPass, vtkDefaultPass, vtkDepthPeelingPass, vtkGaussianBlurPass, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkSequencePass, vtkShadowMapPass, vtkSobelGradientMagnitudePass, vtkTranslucentPass, and vtkVolumetricPass.

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

void vtkRenderPass::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 vtkObject.

Reimplemented in vtkCompositeRGBAPass, vtkCompositeZPass, vtkCameraPass, vtkClearZPass, vtkDefaultPass, vtkDepthPeelingPass, vtkGaussianBlurPass, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkSequencePass, vtkShadowMapPass, vtkSobelGradientMagnitudePass, vtkTranslucentPass, and vtkVolumetricPass.

virtual void vtkRenderPass::Render ( const vtkRenderState s  )  [pure virtual]

virtual int vtkRenderPass::GetNumberOfRenderedProps (  )  [virtual]

Number of props rendered at the last Render call.

virtual void vtkRenderPass::ReleaseGraphicsResources ( vtkWindow w  )  [virtual]

Release graphics resources and ask components to release their own resources. Default implementation is empty.

Precondition:
w_exists: w!=0

Reimplemented in vtkCompositeRGBAPass, vtkCompositeZPass, vtkCameraPass, vtkDepthPeelingPass, vtkGaussianBlurPass, vtkImageProcessingPass, vtkSequencePass, vtkShadowMapPass, and vtkSobelGradientMagnitudePass.

void vtkRenderPass::UpdateCamera ( vtkRenderer renderer  )  [protected]

Call UpdateCamera() on Renderer. This ugly mechanism gives access to a protected method of Renderer to subclasses of vtkRenderPass.

Precondition:
renderer_exists: renderer!=0

void vtkRenderPass::ClearLights ( vtkRenderer renderer  )  [protected]

Call ClearLights() on Renderer. See note about UpdateCamera().

Precondition:
renderer_exists: renderer!=0

void vtkRenderPass::UpdateLightGeometry ( vtkRenderer renderer  )  [protected]

Call UpdateLightGeometry() on Renderer. See note about UpdateCamera().

Precondition:
renderer_exists: renderer!=0

void vtkRenderPass::UpdateLights ( vtkRenderer renderer  )  [protected]

Call UpdateLights() on Renderer. See note about UpdateCamera().

Precondition:
renderer_exists: renderer!=0

void vtkRenderPass::SetLastRenderingUsedDepthPeeling ( vtkRenderer renderer,
bool  value 
) [protected]

Modify protected member LastRenderingUsedDepthPeeling on Renderer. See note about UpdateCamera().

Precondition:
renderer_exists: renderer!=0


Member Data Documentation

Definition at line 107 of file vtkRenderPass.h.


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

Generated on Mon Sep 27 18:47:46 2010 for VTK by  doxygen 1.5.6