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

EggBinner Class Reference

#include <eggBinner.h>

Inheritance diagram for EggBinner:

EggBinMaker EggObject TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Types

enum  BinNumber { BN_none = 0, BN_lod }

Public Member Functions

virtual int get_bin_number (const EggNode *node)
virtual bool sorts_less (int bin_number, const EggNode *a, const EggNode *b)
virtual bool collapse_group (const EggGroup *group, int bin_number)

Member Enumeration Documentation

enum EggBinner::BinNumber
 

Enumeration values:
BN_none 
BN_lod 

Definition at line 40 of file eggBinner.h.

Referenced by EggLoader::make_node(), and sorts_less().


Member Function Documentation

bool EggBinner::collapse_group const EggGroup group,
int  bin_number
[virtual]
 

Reimplemented from EggBinMaker.

Definition at line 74 of file eggBinner.cxx.

References EggGroup::DT_none, and EggGroup::get_dart_type().

int EggBinner::get_bin_number const EggNode node  )  [virtual]
 

Implements EggBinMaker.

Definition at line 31 of file eggBinner.cxx.

References BN_lod, BN_none, DCAST, EggGroup::get_class_type(), EggGroup::has_lod(), and TypedObject::is_of_type().

bool EggBinner::sorts_less int  bin_number,
const EggNode a,
const EggNode b
[virtual]
 

Reimplemented from EggBinMaker.

Definition at line 49 of file eggBinner.cxx.

References EggSwitchConditionDistance::_center, a, b, BinNumber, BN_lod, DCAST, and EggGroup::get_lod().


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