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

BinCullHandler Class Reference

This CullHandler sends all of the geoms it receives into a CullResult object, for binning (and later drawing). More...

#include <binCullHandler.h>

Inheritance diagram for BinCullHandler:

CullHandler List of all members.

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

Detailed Description

This CullHandler sends all of the geoms it receives into a CullResult object, for binning (and later drawing).

This is the kind of CullHandler to use for most normal rendering needs.

Definition at line 43 of file binCullHandler.h.


Constructor & Destructor Documentation

BinCullHandler::BinCullHandler CullResult cull_result  )  [inline]
 

Definition at line 32 of file binCullHandler.I.


Member Function Documentation

void CullHandler::draw CullableObject object,
GraphicsStateGuardianBase gsg
[inline, static, inherited]
 

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().

void CullHandler::draw_with_decals CullableObject object,
GraphicsStateGuardianBase gsg
[static, inherited]
 

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().

void BinCullHandler::record_object CullableObject object  )  [virtual]
 

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.


Member Data Documentation

PointerTo< CullResult > BinCullHandler::_cull_result [private]
 

Definition at line 50 of file binCullHandler.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:47:44 2003 for Panda by doxygen1.3