#include <cullBinManager.h>
Public Member Functions | |
PT (CullBin) make_new_bin(int bin_index | |
Public Attributes | |
GraphicsStateGuardianBase * | gsg |
Protected Member Functions | |
CullBinManager () | |
~CullBinManager () | |
int | add_bin (const string &name, BinType type, int sort) |
void | remove_bin (int bin_index) |
INLINE int | get_num_bins () const |
INLINE int | get_bin (int n) const |
int | find_bin (const string &name) const |
INLINE string | get_bin_name (int bin_index) const |
INLINE BinType | get_bin_type (int bin_index) const |
INLINE int | get_bin_sort (int bin_index) const |
INLINE void | set_bin_sort (int bin_index, int sort) |
Static Protected Member Functions | |
CullBinManager * | get_global_ptr () |
Protected Attributes | |
PUBLISHED | __pad0__: enum BinType { BT_invalid |
PUBLISHED | BT_unsorted |
PUBLISHED | BT_state_sorted |
PUBLISHED | BT_back_to_front |
PUBLISHED | BT_front_to_back |
PUBLISHED | BT_fixed |
Private Types | |
typedef pvector< BinDefinition > | BinDefinitions |
typedef pmap< string, int > | BinsByName |
typedef vector_int | SortedBins |
Private Member Functions | |
void | do_sort_bins () |
void | setup_initial_bins () |
Static Private Member Functions | |
BinType | parse_bin_type (const string &bin_type) |
Private Attributes | |
BinDefinitions | _bin_definitions |
BinsByName | _bins_by_name |
SortedBins | _sorted_bins |
bool | _bins_are_sorted |
bool | _unused_bin_index |
Static Private Attributes | |
CullBinManager * | _global_ptr = (CullBinManager *)NULL |
Friends | |
class | SortBins |
|
Definition at line 83 of file cullBinManager.h. |
|
Definition at line 93 of file cullBinManager.h. |
|
Definition at line 96 of file cullBinManager.h. |
|
Definition at line 42 of file cullBinManager.cxx. References _bins_are_sorted, _unused_bin_index, and setup_initial_bins(). |
|
Definition at line 55 of file cullBinManager.cxx. |
|
Definition at line 68 of file cullBinManager.cxx. References _bin_definitions, _bins_are_sorted, _bins_by_name, CullBinManager::BinDefinition::_in_use, CullBinManager::BinDefinition::_name, CullBinManager::BinDefinition::_sort, _sorted_bins, CullBinManager::BinDefinition::_type, _unused_bin_index, and type. Referenced by RenderState::determine_bin_index(), and setup_initial_bins(). |
|
Definition at line 226 of file cullBinManager.cxx. References _bins_are_sorted, _sorted_bins, and SortBins. |
|
Definition at line 168 of file cullBinManager.cxx. References _bins_by_name. Referenced by RenderState::determine_bin_index(), and setup_initial_bins(). |
|
Referenced by CullResult::draw(). |
|
|
|
Referenced by PGItem::cull_callback(). |
|
Referenced by PGItem::cull_callback(). |
|
Definition at line 184 of file cullBinManager.cxx. References _global_ptr, and NULL. Referenced by PGItem::cull_callback(), RenderState::determine_bin_index(), CullResult::draw(), and CullResult::make_new_bin(). |
|
Referenced by CullResult::draw(). |
|
Definition at line 305 of file cullBinManager.cxx. References BT_back_to_front, BT_fixed, BT_front_to_back, BT_state_sorted, BT_unsorted, and cmp_nocase_uh(). Referenced by setup_initial_bins(). |
|
|
|
Definition at line 138 of file cullBinManager.cxx. References _bin_definitions, _bins_by_name, _sorted_bins, CullResult::bin_removed(), and RenderState::bin_removed(). |
|
|
|
Definition at line 239 of file cullBinManager.cxx. References add_bin(), BT_back_to_front, BT_fixed, BT_state_sorted, BT_unsorted, extract_words(), find_bin(), parse_bin_type(), string_to_int(), and type. Referenced by CullBinManager(). |
|
Definition at line 102 of file cullBinManager.h. Referenced by do_sort_bins(). |
|
Definition at line 44 of file cullBinManager.h. |
|
Definition at line 84 of file cullBinManager.h. Referenced by add_bin(), and remove_bin(). |
|
Definition at line 98 of file cullBinManager.h. Referenced by add_bin(), CullBinManager(), and do_sort_bins(). |
|
Definition at line 94 of file cullBinManager.h. Referenced by add_bin(), find_bin(), and remove_bin(). |
|
Definition at line 30 of file cullBinManager.cxx. Referenced by get_global_ptr(). |
|
Definition at line 97 of file cullBinManager.h. Referenced by add_bin(), do_sort_bins(), and remove_bin(). |
|
Definition at line 99 of file cullBinManager.h. Referenced by add_bin(), and CullBinManager(). |
|
Definition at line 44 of file cullBinManager.h. Referenced by parse_bin_type(), and setup_initial_bins(). |
|
Definition at line 44 of file cullBinManager.h. Referenced by PGItem::cull_callback(), parse_bin_type(), and setup_initial_bins(). |
|
Definition at line 44 of file cullBinManager.h. Referenced by parse_bin_type(). |
|
Definition at line 44 of file cullBinManager.h. Referenced by parse_bin_type(), and setup_initial_bins(). |
|
Definition at line 44 of file cullBinManager.h. Referenced by PGItem::cull_callback(), RenderState::determine_bin_index(), parse_bin_type(), and setup_initial_bins(). |
|
Definition at line 69 of file cullBinManager.h. |