|
Blender V4.3
|
#include <Scene.hpp>
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 |
| enum iTaSC::Scene::SceneParam |
| 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 = "" ) |
| bool Scene::addObject | ( | const std::string & | name, |
| Object * | object, | ||
| UncontrolledObject * | base = &Object::world, | ||
| const std::string & | baseFrame = "" ) |
Definition at line 112 of file Scene.cpp.
References iTaSC::Object::addEndEffector(), iTaSC::UncontrolledObject::getNrOfCoordinates(), and result.
| bool Scene::addSolver | ( | Solver * | _solver | ) |
| bool Scene::initialize | ( | ) |
Definition at line 233 of file Scene.cpp.
References count, iTaSC::Range::count, e_zero_matrix, e_zero_vector, iTaSC::ConstraintSet::getCf(), iTaSC::Solver::init(), iTaSC::ConstraintSet::initCache(), iTaSC::Object::initCache(), iTaSC::ConstraintSet::initialise(), NULL, iTaSC::project(), and result.
| bool Scene::setParam | ( | SceneParam | paramId, |
| double | value ) |
Definition at line 97 of file Scene.cpp.
References MAX_TIMESTEP, and MIN_TIMESTEP.
| bool Scene::update | ( | double | timestamp, |
| double | timestep, | ||
| unsigned int | numsubstep = 1, | ||
| bool | reiterate = false, | ||
| bool | cache = true, | ||
| bool | interpolate = true ) |
Definition at line 310 of file Scene.cpp.
References iTaSC::Timestamp::cache, iTaSC::changeBase(), iTaSC::Range::count, e_matrix, e_scalar, e_vector6, e_zero_vector, KDL::epsilon, floor(), iTaSC::ConstraintSet::getControlOutput(), iTaSC::ConstraintSet::getJf(), iTaSC::UncontrolledObject::getJu(), iTaSC::ConstraintSet::getMaxTimestep(), iTaSC::UncontrolledObject::getNrOfCoordinates(), iTaSC::Object::getPose(), iTaSC::Object::getType(), iTaSC::ConstraintSet::initialise(), iTaSC::Timestamp::interpolate, iTaSC::ConstraintSet::modelUpdate(), iTaSC::Timestamp::numstep, iTaSC::project(), iTaSC::Timestamp::realTimestamp, iTaSC::Timestamp::realTimestep, iTaSC::Timestamp::reiterate, iTaSC::setCacheTimestamp(), iTaSC::ConstraintSet::setJointVelocity(), iTaSC::SceneLock::setRange(), iTaSC::Solver::solve(), iTaSC::ConstraintSet::substep(), iTaSC::Timestamp::substep, KDL::svd_eigen_HH(), iTaSC::Timestamp::update, iTaSC::ConstraintSet::updateControlOutput(), iTaSC::Object::updated(), iTaSC::ConstraintSet::updateKinematics(), and iTaSC::Object::updateKinematics().
Referenced by execute_scene().