#include <eggBinMaker.h>
Inheritance diagram for EggBinMaker:
Public Member Functions | |
EggBinMaker () | |
~EggBinMaker () | |
int | make_bins (EggGroupNode *root_group) |
virtual int | get_bin_number (const EggNode *node)=0 |
virtual bool | sorts_less (int bin_number, const EggNode *a, const EggNode *b) |
virtual bool | collapse_group (const EggGroup *group, int bin_number) |
virtual string | get_bin_name (int bin_number) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Private Types | |
typedef pmultiset< PT(EggNode), EggBinMakerCompareNodes | SortedNodes ) |
typedef pmap< EggGroupNode *, SortedNodes > | GroupNodes |
typedef pvector< PT(EggNode) | Nodes ) |
typedef pvector< Nodes > | Bins |
Private Member Functions | |
void | collect_nodes (EggGroupNode *group) |
int | get_bins_for_group (GroupNodes::const_iterator gi) |
void | make_bins_for_group (EggGroupNode *group, const Bins &bins) |
void | setup_bin (EggBin *bin, const Nodes &nodes) |
Private Attributes | |
GroupNodes | _group_nodes |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 281 of file eggBinMaker.h. Referenced by get_bins_for_group(). |
|
Definition at line 275 of file eggBinMaker.h. |
|
Definition at line 280 of file eggBinMaker.h. Referenced by get_bins_for_group(), and make_bins_for_group(). |
|
Definition at line 274 of file eggBinMaker.h. Referenced by collect_nodes(), and get_bins_for_group(). |
|
Definition at line 59 of file eggBinMaker.cxx. |
|
Definition at line 68 of file eggBinMaker.cxx. |
|
Reimplemented in EggBinner. Definition at line 119 of file eggBinMaker.cxx. Referenced by make_bins_for_group(). |
|
Definition at line 142 of file eggBinMaker.cxx. References _group_nodes, EggGroupNode::begin(), DCAST, EggGroupNode::end(), EggGroupNode::erase(), get_bin_number(), EggGroupNode::get_class_type(), TypedObject::is_of_type(), EggGroupNode::iterator, and SortedNodes. Referenced by make_bins(). |
|
Reimplemented from EggObject. Definition at line 304 of file eggBinMaker.h. References EggObject::get_class_type(), and EggObject::init_type(). |
|
Definition at line 130 of file eggBinMaker.cxx. Referenced by setup_bin(). |
|
Implemented in EggPolysetMaker, and EggBinner. Referenced by collect_nodes(), make_bins_for_group(), EggBinMakerCompareNodes::operator()(), and setup_bin(). |
|
Definition at line 198 of file eggBinMaker.cxx. References Bins, make_bins_for_group(), Nodes, and SortedNodes. Referenced by make_bins(). |
|
Reimplemented from EggObject. Definition at line 293 of file eggBinMaker.h. |
|
Reimplemented from EggObject. Definition at line 301 of file eggBinMaker.h. References EggObject::get_class_type(). |
|
Reimplemented from EggObject. Definition at line 296 of file eggBinMaker.h. References EggObject::get_class_type(), EggObject::init_type(), and register_type(). Referenced by init_libegg(). |
|
Definition at line 81 of file eggBinMaker.cxx. References _group_nodes, collect_nodes(), and get_bins_for_group(). Referenced by EggLoader::build_graph(). |
|
Definition at line 236 of file eggBinMaker.cxx. References collapse_group(), DCAST, EggGroupNode::empty(), get_bin_number(), EggGroup::get_class_type(), EggNode::get_parent(), TypedObject::is_of_type(), Nodes, NULL, and setup_bin(). Referenced by get_bins_for_group(). |
|
Definition at line 284 of file eggBinMaker.cxx. References get_bin_name(), get_bin_number(), and EggBin::set_bin_number(). Referenced by make_bins_for_group(). |
|
Reimplemented in EggPolysetMaker, and EggBinner. Definition at line 107 of file eggBinMaker.cxx. Referenced by EggBinMakerCompareNodes::operator()(). |
|
Definition at line 288 of file eggBinMaker.h. Referenced by collect_nodes(), and make_bins(). |
|
Reimplemented from EggObject. Definition at line 27 of file eggBinMaker.cxx. |