Stg::StgAncestor Class Reference

#include <stage.hh>

Inherited by Stg::StgModel, and Stg::StgWorld.

List of all members.


Detailed Description

Base class for StgModel and StgWorld

Public Member Functions

virtual void AddChild (StgModel *mod)
virtual stg_pose_t GetGlobalPose ()
unsigned int GetNumChildrenOfType (const char *typestr)
void IncrementNumChildrenOfType (const char *typestr)
virtual void PopColor ()=0
virtual void PushColor (double r, double g, double b, double a)=0
virtual void PushColor (stg_color_t col)=0
virtual void RemoveChild (StgModel *mod)
 StgAncestor ()
const char * Token ()
virtual ~StgAncestor ()

Protected Attributes

GHashTable * child_types
GList * children
bool debug
char * token

Friends

class StgCanvas

Constructor & Destructor Documentation

StgAncestor::StgAncestor (  ) 

References child_types, children, debug, and token.

StgAncestor::~StgAncestor (  )  [virtual]

References child_types, and children.


Member Function Documentation

void StgAncestor::AddChild ( StgModel mod  )  [virtual]

stg_pose_t StgAncestor::GetGlobalPose (  )  [virtual]

Reimplemented in Stg::StgModel.

unsigned int StgAncestor::GetNumChildrenOfType ( const char *  typestr  ) 

References child_types.

Referenced by Stg::StgModel::StgModel().

void StgAncestor::IncrementNumChildrenOfType ( const char *  typestr  ) 

References child_types.

Referenced by AddChild().

virtual void Stg::StgAncestor::PopColor (  )  [pure virtual]

Implemented in Stg::StgModel, and Stg::StgWorldGui.

virtual void Stg::StgAncestor::PushColor ( double  r,
double  g,
double  b,
double  a 
) [pure virtual]

Implemented in Stg::StgModel, and Stg::StgWorldGui.

virtual void Stg::StgAncestor::PushColor ( stg_color_t  col  )  [pure virtual]

Implemented in Stg::StgModel, and Stg::StgWorldGui.

void StgAncestor::RemoveChild ( StgModel mod  )  [virtual]


Friends And Related Function Documentation

friend class StgCanvas [friend]

Reimplemented in Stg::StgModel, and Stg::StgWorldGui.


Member Data Documentation

bool Stg::StgAncestor::debug [protected]

Reimplemented in Stg::StgModel.

Referenced by StgAncestor().


The documentation for this class was generated from the following files:

Generated on Thu Jan 7 17:42:17 2010 for Stage by  doxygen 1.5.5