Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkCuller Class Reference

a superclass for prop cullers. More...

#include <vtkCuller.h>

Inheritance diagram for vtkCuller:

Inheritance graph
[legend]
Collaboration diagram for vtkCuller:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual float Cull (vtkRenderer *ren, vtkProp **propList, int &listLength, int &initialized)=0

Static Public Methods

int IsTypeOf (const char *type)
vtkCuller * SafeDownCast (vtkObject *o)

Protected Methods

 vtkCuller ()
 ~vtkCuller ()
 vtkCuller (const vtkCuller &)
void operator= (const vtkCuller &)

Detailed Description

a superclass for prop cullers.

Date:
2000/12/10 20:08:33
Revision:
1.9

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.

See also:
vtkFrustumCoverageCuller

Definition at line 62 of file vtkCuller.h.


Constructor & Destructor Documentation

vtkCuller::vtkCuller   [inline, protected]
 

Definition at line 72 of file vtkCuller.h.

vtkCuller::~vtkCuller   [inline, protected]
 

Definition at line 73 of file vtkCuller.h.

vtkCuller::vtkCuller const vtkCuller &    [inline, protected]
 

Definition at line 74 of file vtkCuller.h.


Member Function Documentation

virtual const char* vtkCuller::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkFrustumCoverageCuller.

int vtkCuller::IsTypeOf const char *    type [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 *    type [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.

vtkCuller* vtkCuller::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkFrustumCoverageCuller.

Referenced by vtkCullerCollection::GetLastItem(), and vtkCullerCollection::GetNextItem().

virtual float vtkCuller::Cull vtkRenderer   ren,
vtkProp **    propList,
int &    listLength,
int &    initialized
[pure virtual]
 

This is called outside the render loop by vtkRenderer

Reimplemented in vtkFrustumCoverageCuller.

void vtkCuller::operator= const vtkCuller &    [inline, protected]
 

Definition at line 75 of file vtkCuller.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:47:11 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001