|
virtual int | IsA (const char *type) |
|
vtkRenderPass * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | ReleaseGraphicsResources (vtkWindow *w) |
|
virtual int | IsA (const char *type) |
|
vtkRenderPass * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | Render (const vtkRenderState *s)=0 |
|
virtual void | ReleaseGraphicsResources (vtkWindow *w) |
|
|
virtual void | Render (const vtkRenderState *s)=0 |
|
|
virtual int | GetNumberOfRenderedProps () |
|
|
virtual int | GetNumberOfRenderedProps () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (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 *) |
|
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) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
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) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
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) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
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").
- The subclass has to define ivar to set/get its delegates.
- The documentation of the subclass has to describe:
- what each delegate is supposed to perform
- if a delegate is supposed to be used once or multiple times
- what it expects to have in the framebuffer before starting (status of colorbuffers, depth buffer, stencil buffer)
- what it will change in the framebuffer.
- A pass cannot modify the vtkRenderState where it will perform but it can build a new vtkRenderState (it can change the FrameBuffer, change the prop array, changed the required prop properties keys (usually adding some to a copy of the existing list) but it has to keep the same vtkRenderer object), make it current and pass it to its delegate.
- at the end of the execution of Render, the pass has to ensure the current vtkRenderState is the one it has in argument.
- See also
- vtkRenderState vtkRenderer
- Tests:
- vtkRenderPass (Tests)
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").
- The subclass has to define ivar to set/get its delegates.
- The documentation of the subclass has to describe:
- what each delegate is supposed to perform
- if a delegate is supposed to be used once or multiple times
- what it expects to have in the framebuffer before starting (status of colorbuffers, depth buffer, stencil buffer)
- what it will change in the framebuffer.
- A pass cannot modify the vtkRenderState where it will perform but it can build a new vtkRenderState (it can change the FrameBuffer, change the prop array, changed the required prop properties keys (usually adding some to a copy of the existing list) but it has to keep the same vtkRenderer object), make it current and pass it to its delegate.
- at the end of the execution of Render, the pass has to ensure the current vtkRenderState is the one it has in argument.
- See also
- vtkRenderState vtkRenderer
Definition at line 57 of file vtkRenderPass.h.
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, vtkEDLShading, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkShadowMapPass, vtkDepthImageProcessingPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkDepthOfFieldPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkSSAAPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkLightingMapPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkValuePass, vtkValuePass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, and vtkClearZPass.
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, vtkEDLShading, vtkSobelGradientMagnitudePass, vtkShadowMapPass, vtkShadowMapPass, vtkDepthImageProcessingPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkShadowMapBakerPass, vtkDepthOfFieldPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkSSAAPass, vtkCompositeRGBAPass, vtkRenderStepsPass, vtkDefaultPass, vtkLightingMapPass, vtkSequencePass, vtkTranslucentPass, vtkVolumetricPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkValuePass, vtkValuePass, vtkClientServerCompositePass, vtkClearRGBPass, and vtkClearZPass.
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, vtkEDLShading, vtkSobelGradientMagnitudePass, vtkGaussianBlurPass, vtkShadowMapPass, vtkShadowMapPass, vtkDepthImageProcessingPass, vtkGaussianBlurPass, vtkShadowMapBakerPass, vtkShadowMapBakerPass, vtkDepthPeelingPass, vtkDepthOfFieldPass, vtkDepthPeelingPass, vtkCompositeZPass, vtkSSAAPass, vtkCompositeRGBAPass, vtkDefaultPass, vtkRenderStepsPass, vtkDefaultPass, vtkLightingMapPass, vtkCameraPass, vtkSequencePass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkImageProcessingPass, vtkCameraPass, vtkSequencePass, vtkValuePasses, vtkImageProcessingPass, vtkLightsPass, vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, vtkVolumetricPass, vtkClearZPass, vtkValuePass, vtkValuePass, vtkClientServerCompositePass, vtkClearRGBPass, vtkClearRGBPass, and vtkClearZPass.