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

CullResult Class Reference

#include <cullResult.h>

Inheritance diagram for CullResult:

ReferenceCount List of all members.

Public Member Functions

INLINE CullResult (GraphicsStateGuardianBase *gsg)
INLINE ~CullResult ()
 PT (CullResult) make_next() const
INLINE CullBinget_bin (int bin_index)
void add_object (CullableObject *object)
void finish_cull ()
void draw ()

Static Public Member Functions

void bin_removed (int bin_index)

Private Types

typedef pvector< PT(CullBinBins )
typedef pset< CullResult * > CullResults

Private Member Functions

CullBinmake_new_bin (int bin_index)

Static Private Member Functions

 CPT (RenderState) get_binary_state()
 CPT (RenderState) get_dual_transparent_state()
 CPT (RenderState) get_dual_transparent_state_decals()
 CPT (RenderState) get_dual_opaque_state()

Private Attributes

GraphicsStateGuardianBase_gsg
Bins _bins

Static Private Attributes

CullResults _cull_results

Member Typedef Documentation

typedef pvector< PT(CullBin) CullResult::Bins) [private]
 

Definition at line 73 of file cullResult.h.

typedef pset<CullResult *> CullResult::CullResults [private]
 

Definition at line 76 of file cullResult.h.


Constructor & Destructor Documentation

INLINE CullResult::CullResult GraphicsStateGuardianBase gsg  ) 
 

INLINE CullResult::~CullResult  ) 
 


Member Function Documentation

void CullResult::add_object CullableObject object  ) 
 

Definition at line 83 of file cullResult.cxx.

References CullBin::add_object(), CPT(), get_bin(), RenderState::get_bin(), CullBinAttrib::get_bin_name(), TransparencyAttrib::get_mode(), RenderState::get_transparency(), CullableObject::has_decals(), TransparencyAttrib::M_binary, TransparencyAttrib::M_dual, m_dual_opaque, and NULL.

void CullResult::bin_removed int  bin_index  )  [static]
 

Definition at line 196 of file cullResult.cxx.

Referenced by CullBinManager::remove_bin().

CullResult::CPT RenderState   )  [static, private]
 

CullResult::CPT RenderState   )  [static, private]
 

CullResult::CPT RenderState   )  [static, private]
 

CullResult::CPT RenderState   )  [static, private]
 

Referenced by add_object().

void CullResult::draw  ) 
 

Definition at line 173 of file cullResult.cxx.

References _bins, CullBinManager::get_bin(), CullBinManager::get_global_ptr(), CullBinManager::get_num_bins(), and NULL.

Referenced by GraphicsEngine::do_draw().

void CullResult::finish_cull  ) 
 

Definition at line 157 of file cullResult.cxx.

References _bins, CullBin::finish_cull(), and NULL.

INLINE CullBin* CullResult::get_bin int  bin_index  ) 
 

Referenced by add_object().

CullBin * CullResult::make_new_bin int  bin_index  )  [private]
 

Definition at line 208 of file cullResult.cxx.

References _bins, _gsg, CullBinManager::get_global_ptr(), NULL, and PT().

CullResult::PT CullResult   )  const
 

Referenced by make_new_bin().


Member Data Documentation

Bins CullResult::_bins [private]
 

Definition at line 74 of file cullResult.h.

Referenced by draw(), finish_cull(), and make_new_bin().

CullResults CullResult::_cull_results [static, private]
 

Definition at line 77 of file cullResult.h.

GraphicsStateGuardianBase* CullResult::_gsg [private]
 

Definition at line 71 of file cullResult.h.

Referenced by make_new_bin().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:48 2003 for Panda by doxygen1.3