#include <cullHandler.h>
Inheritance diagram for CullHandler:
Public Member Functions | |
virtual | ~CullHandler () |
virtual void | record_object (CullableObject *object) |
This callback function is intended to be overridden by a derived class. | |
Static Public Member Functions | |
void | draw (CullableObject *object, GraphicsStateGuardianBase *gsg) |
Draws the indicated CullableObject, with full support for decals if they are attached to the object. | |
void | draw_with_decals (CullableObject *object, GraphicsStateGuardianBase *gsg) |
Draws the indicated CullableObject, assuming it has attached decals. |
By itself, it's not a particularly useful class; to use it, derive from it and redefine record_geom().
Definition at line 42 of file cullHandler.h.
|
Definition at line 38 of file cullHandler.cxx. References CullableObject::_geom, CullableObject::_state, CullableObject::_transform, and nout. |
|
Draws the indicated CullableObject, with full support for decals if they are attached to the object. The appropriate state is set on the GSG before drawing the object. Definition at line 37 of file cullHandler.I. Referenced by CullBinUnsorted::add_object(). |
|
Draws the indicated CullableObject, assuming it has attached decals.
Definition at line 79 of file cullHandler.cxx. References CullableObject::_geom, CullableObject::_next, CullableObject::_state, CullableObject::_transform, NULL, and GraphicsStateGuardianBase::set_state_and_transform(). |
|
This callback function is intended to be overridden by a derived class. This is called as each Geom is discovered by the CullTraverser. The CullHandler becomes the owner of the CullableObject pointer and is expected to delete it later. Reimplemented in BinCullHandler, and DrawCullHandler. Definition at line 62 of file cullHandler.cxx. References NULL. |