VTK
|
Perform part of the rendering of a vtkRenderer. More...
#include <vtkRenderPass.h>
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").
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 57 of file vtkRenderPass.h.
typedef vtkObject vtkRenderPass::Superclass |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
Definition at line 60 of file vtkRenderPass.h.
typedef vtkObject vtkRenderPass::Superclass |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
Definition at line 57 of file vtkRenderPass.h.
vtkRenderPass::vtkRenderPass | ( | ) | [protected] |
Default constructor. Do nothing.
virtual vtkRenderPass::~vtkRenderPass | ( | ) | [protected, virtual] |
Destructor. Do nothing.
vtkRenderPass::vtkRenderPass | ( | ) | [protected] |
Default constructor. Do nothing.
virtual vtkRenderPass::~vtkRenderPass | ( | ) | [protected, virtual] |
Destructor. Do nothing.
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
static vtkRenderPass* vtkRenderPass::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
virtual vtkObjectBase* vtkRenderPass::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
vtkRenderPass* vtkRenderPass::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
virtual void vtkRenderPass::Render | ( | const vtkRenderState * | s | ) | [pure virtual] |
Perform rendering according to a render state s
. It modifies NumberOfRenderedProps.
Implemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkShadowMapBakerPass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkDepthPeelingPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDefaultPass, vtkRenderStepsPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkValuePass, vtkValuePasses, vtkClientServerCompositePass, vtkClearZPass, vtkClearRGBPass, and vtkClearRGBPass.
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.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkShadowMapBakerPass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkDepthPeelingPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkRenderStepsPass, vtkCompositeRGBAPass, vtkCameraPass, vtkSequencePass, vtkCameraPass, vtkSequencePass, vtkClientServerCompositePass, vtkImageProcessingPass, and vtkImageProcessingPass.
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.
void vtkRenderPass::ClearLights | ( | vtkRenderer * | renderer | ) | [protected] |
Call ClearLights() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateLightGeometry | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateLightGeometry() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateLights | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateLights() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateGeometry | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateGeometry() on Renderer. See note about UpdateCamera().
void vtkRenderPass::SetLastRenderingUsedDepthPeeling | ( | vtkRenderer * | renderer, |
bool | value | ||
) | [protected] |
Modify protected member LastRenderingUsedDepthPeeling on Renderer. See note about UpdateCamera().
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
static vtkRenderPass* vtkRenderPass::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
virtual vtkObjectBase* vtkRenderPass::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
vtkRenderPass* vtkRenderPass::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
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 vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDepthPeelingPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, vtkClearZPass, and vtkValuePass.
virtual void vtkRenderPass::Render | ( | const vtkRenderState * | s | ) | [pure virtual] |
Perform rendering according to a render state s
. It modifies NumberOfRenderedProps.
Implemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkShadowMapBakerPass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkDepthPeelingPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkDefaultPass, vtkRenderStepsPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkValuePass, vtkValuePasses, vtkClientServerCompositePass, vtkClearZPass, vtkClearRGBPass, and vtkClearRGBPass.
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.
Reimplemented in vtkSobelGradientMagnitudePass, vtkSobelGradientMagnitudePass, vtkShadowMapBakerPass, vtkGaussianBlurPass, vtkShadowMapPass, vtkGaussianBlurPass, vtkDepthPeelingPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkRenderStepsPass, vtkCompositeRGBAPass, vtkCameraPass, vtkSequencePass, vtkCameraPass, vtkSequencePass, vtkClientServerCompositePass, vtkImageProcessingPass, and vtkImageProcessingPass.
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.
void vtkRenderPass::ClearLights | ( | vtkRenderer * | renderer | ) | [protected] |
Call ClearLights() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateLightGeometry | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateLightGeometry() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateLights | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateLights() on Renderer. See note about UpdateCamera().
void vtkRenderPass::UpdateGeometry | ( | vtkRenderer * | renderer | ) | [protected] |
Call UpdateGeometry() on Renderer. See note about UpdateCamera().
void vtkRenderPass::SetLastRenderingUsedDepthPeeling | ( | vtkRenderer * | renderer, |
bool | value | ||
) | [protected] |
Modify protected member LastRenderingUsedDepthPeeling on Renderer. See note about UpdateCamera().
int vtkRenderPass::NumberOfRenderedProps [protected] |
Definition at line 115 of file vtkRenderPass.h.