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

rdGModel Class Reference

A graphical model. More...

#include <rdGModel.h>

Inheritance diagram for rdGModel:

rdObject List of all members.

Public Member Functions

 rdGModel ()
 Construct an empty graphics model.

 rdGModel (const char *aFileName)
 Construct a graphics model from file.

virtual ~rdGModel ()
 Destructor.

rdGBodiesgetBodies () const
 Get the bodies that make up this graphics model.

virtual void updateObject (bool aDeep=true)
 Update this object based on its XML node.

virtual void updateNode (bool aDeep=true)
 Update the XML node for this object.


Private Member Functions

void setNull ()
 Set NULL values for all member variables.


Private Attributes

rdGBodies_bodies
 List of bodies.


Detailed Description

A graphical model.

A graphical model consists of a collection of bodies, each of which consists of geometric primatives like triangles and lines.


Constructor & Destructor Documentation

rdGModel::rdGModel const char *  aFileName  ) 
 

Construct a graphics model from file.

Parameters:
aFileName File name.


Member Function Documentation

void rdGModel::updateNode bool  aDeep = true  )  [virtual]
 

Update the XML node for this object.

Parameters:
aDeep If true, update the XML node of this object AND the XML nodes of all class members that are rdObjects (child nodes); if false, update only the XML node of this object without updating the XML nodes of its children.

Reimplemented from rdObject.

void rdGModel::updateObject bool  aDeep = true  )  [virtual]
 

Update this object based on its XML node.

Parameters:
aDeep If true, update this object and all its child objects (that is, member variables that are rdObject's); if false, update only the member variables that are not rdObject's.

Reimplemented from rdObject.


The documentation for this class was generated from the following files:
Generated on Wed Aug 20 02:17:11 2003 for Simulation Software by doxygen1.3