Documentation


animal::EngineGroup Class Reference

#include <EngineGroup.h>

Inheritance diagram for animal::EngineGroup:

animal::Engine List of all members.

Detailed Description

Recursively apply the actions.

Author:
François Faure

Definition at line 24 of file EngineGroup.h.

Public Member Functions

 EngineGroup ()
virtual ~EngineGroup ()
virtual void init ()
 Init the engine and call reset(). Is done only one time.

virtual void reset ()
 Initialize the animation.

virtual void move (double)
 Move the engine.

virtual void getBoundingBox (float &minX, float &minY, float &minZ, float &maxX, float &maxY, float &maxZ)
 Compute the bounding box of the engine when it can be drawn.

virtual ConstrainedItempickPoint (float *, float *, float)

Private Types

typedef std::list< Engine * > Engines

Private Attributes

Engines m_engines


Member Typedef Documentation

typedef std::list<Engine*> animal::EngineGroup::Engines [private]
 

Definition at line 51 of file EngineGroup.h.


Constructor & Destructor Documentation

animal::EngineGroup::EngineGroup  ) 
 

Definition at line 17 of file EngineGroup.cpp.

animal::EngineGroup::~EngineGroup  )  [virtual]
 

Definition at line 22 of file EngineGroup.cpp.


Member Function Documentation

void animal::EngineGroup::getBoundingBox float &  minX,
float &  minY,
float &  minZ,
float &  maxX,
float &  maxY,
float &  maxZ
[virtual]
 

Compute the bounding box of the engine when it can be drawn.

Reimplemented from animal::Engine.

Definition at line 63 of file EngineGroup.cpp.

References m_engines.

void animal::EngineGroup::init  )  [virtual]
 

Init the engine and call reset(). Is done only one time.

Reimplemented from animal::Engine.

Definition at line 26 of file EngineGroup.cpp.

References m_engines.

void animal::EngineGroup::move double   )  [virtual]
 

Move the engine.

Reimplemented from animal::Engine.

Definition at line 45 of file EngineGroup.cpp.

References m_engines.

ConstrainedItem * animal::EngineGroup::pickPoint float *  ,
float *  ,
float 
[virtual]
 

Reimplemented from animal::Engine.

Definition at line 85 of file EngineGroup.cpp.

References m_engines.

void animal::EngineGroup::reset  )  [virtual]
 

Initialize the animation.

Reimplemented from animal::Engine.

Definition at line 36 of file EngineGroup.cpp.

References m_engines.


Member Data Documentation

Engines animal::EngineGroup::m_engines [private]
 

Definition at line 52 of file EngineGroup.h.

Referenced by getBoundingBox(), init(), move(), pickPoint(), and reset().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:31 2004 by doxygen 1.3.6