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

FltToEggLevelState Class Reference

This keeps track of relevant things about the traversal as we walk through the flt hierarchy. More...

#include <fltToEggLevelState.h>

List of all members.

Public Member Functions

 FltToEggLevelState (FltToEggConverter *converter)
 FltToEggLevelState (const FltToEggLevelState &copy)
void operator= (const FltToEggLevelState &copy)
 ~FltToEggLevelState ()
EggGroupNodeget_synthetic_group (const string &name, const FltBead *transform_bead, FltGeometry::BillboardType type=FltGeometry::BT_none)
 Sometimes it is necessary to synthesize a group within a particular EggGroup, for instance to insert a transform or billboard flag.

void set_transform (const FltBead *flt_bead, EggGroup *egg_group)
 Sets up the group to reflect the transform indicated by the given record, if any.


Public Attributes

const FltObject_flt_object
EggGroupNode_egg_parent

Private Types

typedef pmap< LMatrix4d, ParentNodes * > Parents

Private Attributes

Parents _parents
FltToEggConverter_converter


Detailed Description

This keeps track of relevant things about the traversal as we walk through the flt hierarchy.

Definition at line 43 of file fltToEggLevelState.h.


Member Typedef Documentation

typedef pmap<LMatrix4d, ParentNodes *> FltToEggLevelState::Parents [private]
 

Definition at line 69 of file fltToEggLevelState.h.


Constructor & Destructor Documentation

FltToEggLevelState::FltToEggLevelState FltToEggConverter converter  )  [inline]
 

Definition at line 30 of file fltToEggLevelState.I.

FltToEggLevelState::FltToEggLevelState const FltToEggLevelState &  copy  )  [inline]
 

Definition at line 45 of file fltToEggLevelState.I.

References _converter, _egg_parent, _flt_object, and INLINE.

FltToEggLevelState::~FltToEggLevelState  ) 
 

Definition at line 42 of file fltToEggLevelState.cxx.


Member Function Documentation

EggGroupNode * FltToEggLevelState::get_synthetic_group const string &  name,
const FltBead transform_bead,
FltGeometry::BillboardType  type = FltGeometry::BT_none
 

Sometimes it is necessary to synthesize a group within a particular EggGroup, for instance to insert a transform or billboard flag.

This function will synthesize a group as needed, or return an existing group (if the group need not be synthesized, or if a matching group was previously synthesized).

This collects together polygons that share the same billboard axis and/or transform space into the same group, rather that wastefully creating a group per polygon.

Definition at line 92 of file fltToEggLevelState.cxx.

Referenced by FltToEggConverter::convert_bead(), and FltToEggConverter::convert_face().

void FltToEggLevelState::operator= const FltToEggLevelState &  copy  )  [inline]
 

Definition at line 61 of file fltToEggLevelState.I.

void FltToEggLevelState::set_transform const FltBead flt_bead,
EggGroup egg_group
 

Sets up the group to reflect the transform indicated by the given record, if any.

Definition at line 167 of file fltToEggLevelState.cxx.

Referenced by FltToEggConverter::convert_lod().


Member Data Documentation

FltToEggConverter* FltToEggLevelState::_converter [private]
 

Definition at line 72 of file fltToEggLevelState.h.

Referenced by FltToEggLevelState().

EggGroupNode* FltToEggLevelState::_egg_parent
 

Definition at line 57 of file fltToEggLevelState.h.

Referenced by FltToEggConverter::convert_face(), FltToEggConverter::convert_lod(), and FltToEggLevelState().

const FltObject* FltToEggLevelState::_flt_object
 

Definition at line 56 of file fltToEggLevelState.h.

Referenced by FltToEggConverter::convert_face(), FltToEggConverter::convert_lod(), and FltToEggLevelState().

Parents FltToEggLevelState::_parents [private]
 

Definition at line 70 of file fltToEggLevelState.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:26:59 2003 for Panda-Tool by doxygen1.3