Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Model Class Reference

Saphyre2 base animated model. More...

#include <S2_Model.h>

Inheritance diagram for Model:

Inheritance graph
[legend]
Collaboration diagram for Model:

Collaboration graph
[legend]
List of all members.

Public Types

enum  ModelType { PARTICLE = 0, RIGID = 1 }

Public Member Functions

 Model ()
virtual ~Model ()
virtual void Debug ()
Configuration, DOF and State vector management methods
virtual const RealGetConfiguration () const=0
virtual int GetConfigurationSize () const=0
virtual const RealGetDOF () const=0
virtual int GetDOFSize () const=0
virtual const RealGetState () const=0
virtual int GetStateSize () const=0
Bookkeeping methods
ModelType GetType () const
const ObjectGetObject () const

Protected Member Functions

Bookkeeping methods
virtual void SetType (ModelType type)

Private Attributes

ModelType m_type
const Objectm_pObject

Detailed Description

Saphyre2 base animated model.

Base class of any animation/dynamics Model handled natively by Saphyre2.

This class represents a generic mathematic model of a physical object. The model is described by a set of coordinates which may match directly its degrees of freedom (DOF) or not.

Assuming second order dynamics, the Model class stores the state of the object in phase space for its integration as an ODE.

It can also store a fragment of the object's path in configuration space for several purposes:

Todo:
HERETA de ReferenceSystem??

Com es manegen els diferents tipus de coordenades?

Funcionalitat: -? Nom-ID


Member Enumeration Documentation

enum Model::ModelType
 

Enumeration values:
PARTICLE 
RIGID 


Constructor & Destructor Documentation

Model::Model  )  [inline]
 

virtual Model::~Model  )  [inline, virtual]
 


Member Function Documentation

virtual void Model::Debug  )  [inline, virtual]
 

Reimplemented in Particle, and Rigid.

virtual const Real* Model::GetConfiguration  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

virtual int Model::GetConfigurationSize  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

virtual const Real* Model::GetDOF  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

virtual int Model::GetDOFSize  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

const Object* Model::GetObject  )  const [inline]
 

virtual const Real* Model::GetState  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

virtual int Model::GetStateSize  )  const [pure virtual]
 

Implemented in Particle, and Rigid.

ModelType Model::GetType  )  const [inline]
 

virtual void Model::SetType ModelType  type  )  [inline, protected, virtual]
 


Member Data Documentation

const Object* Model::m_pObject [private]
 

ModelType Model::m_type [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 15:58:31 2004 for Saphyre2 by doxygen 1.3.5