|
enum | MoveEnum_t {
MOVE_Q = 0,
MOVE_W,
MOVE_E,
MOVE_A,
MOVE_S,
MOVE_D,
MOVE_F,
MOVE_Z,
NUM_MOVE,
MOVE_Q = 0,
MOVE_W,
MOVE_E,
MOVE_A,
MOVE_S,
MOVE_D,
MOVE_F,
MOVE_Z,
NUM_MOVE
} |
|
enum | MoveEnum_t {
MOVE_Q = 0,
MOVE_W,
MOVE_E,
MOVE_A,
MOVE_S,
MOVE_D,
MOVE_F,
MOVE_Z,
NUM_MOVE,
MOVE_Q = 0,
MOVE_W,
MOVE_E,
MOVE_A,
MOVE_S,
MOVE_D,
MOVE_F,
MOVE_Z,
NUM_MOVE
} |
|
|
| TeleoperationWorld (WorldPtr _world, SkeletonPtr _robot) |
|
void | setMovement (const std::vector< bool > &moveComponents) |
|
void | customPreRefresh () override |
| If update() is not overloaded, this function will be called at the beginning of each rendering cycle. More...
|
|
| TeleoperationWorld (WorldPtr _world, SkeletonPtr _robot) |
|
void | setMovement (const std::vector< bool > &moveComponents) |
|
void | customPreRefresh () override |
| If update() is not overloaded, this function will be called at the beginning of each rendering cycle. More...
|
|
| WorldNode (std::shared_ptr< dart::simulation::World > world=nullptr, ::osg::ref_ptr< osgShadow::ShadowTechnique > shadowTechnique=nullptr) |
| Default constructor Shadows are disabled by default.
|
|
void | setWorld (std::shared_ptr< dart::simulation::World > newWorld) |
| Set the World that this WorldNode is associated with.
|
|
std::shared_ptr< dart::simulation::World > | getWorld () const |
| Get the World that this WorldNode is associated with.
|
|
virtual void | refresh () |
| This function is called at the beginning of each rendering cycle. More...
|
|
virtual void | customPostRefresh () |
| If update() is not overloaded, this function will be called at the end of each rendering cycle. More...
|
|
virtual void | customPreStep () |
| If update() is not overloaded, this function will be called at the beginning of each simulation step. More...
|
|
virtual void | customPostStep () |
| If update() is not overloaded, this function will be called at the end of each simulation step. More...
|
|
bool | isSimulating () const |
| Returns true iff the WorldNode is stepping between render cycles.
|
|
void | simulate (bool on) |
| Pass in true to take steps between render cycles; pass in false to turn off steps between render cycles. More...
|
|
void | setNumStepsPerCycle (std::size_t steps) |
| Set the number of steps to take between each render cycle (only if the simulation is not paused)
|
|
std::size_t | getNumStepsPerCycle () const |
| Get the number of steps that will be taken between each render cycle (only if the simulation is not paused)
|
|
bool | isShadowed () const |
| Get whether the WorldNode is casting shadows.
|
|
void | setShadowTechnique (::osg::ref_ptr< osgShadow::ShadowTechnique > shadowTechnique=nullptr) |
| Set the ShadowTechnique If you wish to disable shadows, pass a nullptr.
|
|
::osg::ref_ptr< osgShadow::ShadowTechnique > | getShadowTechnique () const |
| Get the current ShadowTechnique nullptr is there are no shadows.
|
|
static ::osg::ref_ptr< osgShadow::ShadowTechnique > | createDefaultShadowTechnique (const Viewer *viewer) |
| Helper function to create a default ShadowTechnique given a Viewer the default ShadowTechnique is ShadowMap.
|
|
virtual | ~WorldNode () |
| Destructor.
|
|
|
SkeletonPtr | mAtlas |
|
std::size_t | iter |
|
EndEffectorPtr | l_foot |
|
EndEffectorPtr | r_foot |
|
Eigen::VectorXd | grad |
|
std::vector< bool > | mMoveComponents |
|
bool | mAnyMovement |
|
SkeletonPtr | mHubo |
|
EndEffectorPtr | l_hand |
|
EndEffectorPtr | r_hand |
|
std::vector< IK::Analytical::Solution > | mSolutions |
|
NodeMap | mFrameToNode |
| Map from Frame pointers to FrameNode pointers.
|
|
std::shared_ptr< dart::simulation::World > | mWorld |
| The World that this WorldNode is associated with.
|
|
bool | mSimulating |
| True iff simulation is active.
|
|
std::size_t | mNumStepsPerCycle |
| Number of steps to take between rendering cycles.
|
|
Viewer * | mViewer |
| Viewer that this WorldNode is inside of.
|
|
::osg::ref_ptr<::osg::Group > | mNormalGroup |
| OSG group for non-shadowed objects.
|
|
::osg::ref_ptr<::osgShadow::ShadowedScene > | mShadowedGroup |
| OSG group for shadowed objects.
|
|
bool | mShadowed |
| Whether the shadows are enabled.
|
|
void TeleoperationWorld::customPreRefresh |
( |
| ) |
|
|
inlineoverridevirtual |
If update() is not overloaded, this function will be called at the beginning of each rendering cycle.
This function can be overloaded to customize the behavior of each update. The default behavior is to do nothing, so overloading this function will not interfere with the usual update() operation.
Reimplemented from dart::gui::osg::WorldNode.
void TeleoperationWorld::customPreRefresh |
( |
| ) |
|
|
inlineoverridevirtual |
If update() is not overloaded, this function will be called at the beginning of each rendering cycle.
This function can be overloaded to customize the behavior of each update. The default behavior is to do nothing, so overloading this function will not interfere with the usual update() operation.
Reimplemented from dart::gui::osg::WorldNode.