VTK
|
Implement the basic render passes. More...
#include <vtkDefaultPass.h>
Public Types | |
typedef vtkRenderPass | Superclass |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Render (const vtkRenderState *s) |
![]() | |
virtual void | ReleaseGraphicsResources (vtkWindow *w) |
virtual int | GetNumberOfRenderedProps () |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char 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) |
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 &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkDefaultPass * | New () |
static int | IsTypeOf (const char *type) |
static vtkDefaultPass * | SafeDownCast (vtkObject *o) |
Additional Inherited Members | |
![]() | |
int | NumberOfRenderedProps |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Implement the basic render passes.
vtkDefaultPass implements the basic standard render passes of VTK. Subclasses can easily be implemented by reusing some parts of the basic implementation.
It implements classic Render operations as well as versions with property key checking.
This pass expects an initialized depth buffer and color buffer. Initialized buffers means they have been cleared with farest z-value and background color/gradient/transparent color.
Definition at line 41 of file vtkDefaultPass.h.
Reimplemented from vtkRenderPass.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
Definition at line 45 of file vtkDefaultPass.h.
|
protected |
Default constructor.
|
protectedvirtual |
Destructor.
|
static |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
virtual |
Reimplemented from vtkRenderPass.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
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.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
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 in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
static |
Reimplemented from vtkRenderPass.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
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.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
virtual |
Perform rendering according to a render state s
. Call RenderOpaqueGeometry(), RenderTranslucentPolygonalGeometry(), RenderVolumetricGeometry(), RenderOverlay()
Implements vtkRenderPass.
Reimplemented in vtkOpaquePass, vtkOverlayPass, vtkTranslucentPass, and vtkVolumetricPass.
|
protectedvirtual |
Opaque pass without key checking.
|
protectedvirtual |
Opaque pass with key checking.
|
protectedvirtual |
Translucent pass without key checking.
|
protectedvirtual |
Translucent pass with key checking.
|
protectedvirtual |
Volume pass without key checking.
|
protectedvirtual |
Translucent pass with key checking.
|
protectedvirtual |
Overlay pass without key checking.
|
protectedvirtual |
Overlay pass with key checking.