#include <binCullHandler.h>
Inheritance diagram for BinCullHandler:
Public Member Functions | |
BinCullHandler (CullResult *cull_result) | |
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. | |
Private Attributes | |
PointerTo< CullResult > | _cull_result |
This is the kind of CullHandler to use for most normal rendering needs.
Definition at line 43 of file binCullHandler.h.
|
Definition at line 32 of file binCullHandler.I. |
|
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. Reimplemented from CullHandler. Definition at line 37 of file binCullHandler.cxx. |
|
Definition at line 50 of file binCullHandler.h. |