VTK
|
a superclass for prop cullers More...
#include <vtkCuller.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCuller * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | Cull (vtkRenderer *ren, vtkProp **propList, int &listLength, int &initialized)=0 |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCuller * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCuller () | |
~vtkCuller () |
a superclass for prop cullers
A culler has a cull method called by the vtkRenderer. The cull method is called before any rendering is performed, and it allows the culler to do some processing on the props and to modify their AllocatedRenderTime and re-order them in the prop list.
Definition at line 39 of file vtkCuller.h.
typedef vtkObject vtkCuller::Superclass |
Reimplemented from vtkObject.
Reimplemented in vtkFrustumCoverageCuller.
Definition at line 42 of file vtkCuller.h.
vtkCuller::vtkCuller | ( | ) | [protected] |
vtkCuller::~vtkCuller | ( | ) | [protected] |
static int vtkCuller::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 vtkFrustumCoverageCuller.
virtual int vtkCuller::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 vtkFrustumCoverageCuller.
static vtkCuller* vtkCuller::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkFrustumCoverageCuller.
virtual vtkObjectBase* vtkCuller::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkFrustumCoverageCuller.
vtkCuller* vtkCuller::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
Reimplemented in vtkFrustumCoverageCuller.
virtual void vtkCuller::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 vtkFrustumCoverageCuller.
virtual double vtkCuller::Cull | ( | vtkRenderer * | ren, |
vtkProp ** | propList, | ||
int & | listLength, | ||
int & | initialized | ||
) | [pure virtual] |
This is called outside the render loop by vtkRenderer
Implemented in vtkFrustumCoverageCuller.