Blender V2.61 - r43446

iTaSC::Scene Class Reference

#include <Scene.hpp>

List of all members.

Classes

struct  ConstraintSet_struct
struct  Object_struct

Public Types

enum  SceneParam { MIN_TIMESTEP = 0, MAX_TIMESTEP, COUNT }

Public Member Functions

 Scene ()
virtual ~Scene ()
bool addObject (const std::string &name, Object *object, UncontrolledObject *base=&Object::world, const std::string &baseFrame="")
bool addConstraintSet (const std::string &name, ConstraintSet *task, const std::string &object1, const std::string &object2, const std::string &ee1="", const std::string &ee2="")
bool addSolver (Solver *_solver)
bool addCache (Cache *_cache)
bool initialize ()
bool update (double timestamp, double timestep, unsigned int numsubstep=1, bool reiterate=false, bool cache=true, bool interpolate=true)
bool setParam (SceneParam paramId, double value)

Friends

class SceneLock

Detailed Description

Definition at line 23 of file Scene.hpp.


Member Enumeration Documentation

Enumerator:
MIN_TIMESTEP 
MAX_TIMESTEP 
COUNT 

Definition at line 26 of file Scene.hpp.


Constructor & Destructor Documentation

Scene::Scene ( )

Definition at line 53 of file itasc/scene.cpp.

Scene::~Scene ( ) [virtual]

Definition at line 63 of file itasc/scene.cpp.


Member Function Documentation

bool Scene::addCache ( Cache _cache)

Definition at line 178 of file itasc/scene.cpp.

bool Scene::addConstraintSet ( const std::string &  name,
ConstraintSet task,
const std::string &  object1,
const std::string &  object2,
const std::string &  ee1 = "",
const std::string &  ee2 = "" 
)

Definition at line 147 of file itasc/scene.cpp.

References iTaSC::ConstraintSet::getNrOfConstraints().

bool Scene::addSolver ( Solver _solver)

Definition at line 169 of file itasc/scene.cpp.

bool Scene::initialize ( void  )

Definition at line 187 of file itasc/scene.cpp.

bool Scene::setParam ( SceneParam  paramId,
double  value 
)

Definition at line 77 of file itasc/scene.cpp.

References MAX_TIMESTEP, and MIN_TIMESTEP.


Friends And Related Function Documentation

friend class SceneLock [friend]

Definition at line 24 of file Scene.hpp.

Referenced by update().


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