Visualization of a person as a mesh (walking human) More...
#include <PersonVisual.h>
Public Member Functions | |
virtual Ogre::ColourValue & | getColor () |
virtual double | getHeight () |
MeshPersonVisual (const PersonVisualDefaultArgs &args) | |
void | setAnimationState (const std::string &nameOfAnimationState) |
virtual void | setColor (const Ogre::ColourValue &c) |
virtual void | setScalingFactor (double scalingFactor) |
void | setWalkingSpeed (float walkingSpeed) |
virtual void | update (float deltaTime) |
virtual | ~MeshPersonVisual () |
Public Member Functions inherited from tuw_object_rviz::PersonVisual | |
const Ogre::Quaternion & | getOrientation () const |
Ogre::SceneNode * | getParentSceneNode () |
const Ogre::Vector3 & | getPosition () const |
PersonVisual (const PersonVisualDefaultArgs &args) | |
void | setOrientation (const Ogre::Quaternion &orientation) |
void | setPosition (const Ogre::Vector3 &position) |
void | setVisible (bool visible) |
virtual | ~PersonVisual () |
Private Attributes | |
Ogre::Entity * | entity_ |
Ogre::AnimationState * | m_animationState |
Ogre::SceneNode * | m_childSceneNode |
float | m_walkingSpeed |
std::set< Ogre::MaterialPtr > | materials_ |
Additional Inherited Members | |
Protected Attributes inherited from tuw_object_rviz::PersonVisual | |
Ogre::ColourValue | m_color |
Ogre::SceneNode * | m_parentSceneNode |
Ogre::SceneManager * | m_sceneManager |
Ogre::SceneNode * | m_sceneNode |
Visualization of a person as a mesh (walking human)
Definition at line 161 of file PersonVisual.h.
tuw_object_rviz::MeshPersonVisual::MeshPersonVisual | ( | const PersonVisualDefaultArgs & | args | ) |
This is required to load referenced skeletons from package:// path
Definition at line 238 of file PersonVisual.cpp.
|
virtual |
Definition at line 291 of file PersonVisual.cpp.
|
virtual |
Implements tuw_object_rviz::PersonVisual.
Definition at line 341 of file PersonVisual.cpp.
|
inlinevirtual |
Implements tuw_object_rviz::PersonVisual.
Definition at line 184 of file PersonVisual.h.
void tuw_object_rviz::MeshPersonVisual::setAnimationState | ( | const std::string & | nameOfAnimationState | ) |
Definition at line 346 of file PersonVisual.cpp.
|
virtual |
Implements tuw_object_rviz::PersonVisual.
Definition at line 310 of file PersonVisual.cpp.
|
inlinevirtual |
Reimplemented from tuw_object_rviz::PersonVisual.
Definition at line 188 of file PersonVisual.h.
void tuw_object_rviz::MeshPersonVisual::setWalkingSpeed | ( | float | walkingSpeed | ) |
Definition at line 368 of file PersonVisual.cpp.
|
virtual |
Reimplemented from tuw_object_rviz::PersonVisual.
Definition at line 373 of file PersonVisual.cpp.
|
private |
Definition at line 165 of file PersonVisual.h.
|
private |
Definition at line 166 of file PersonVisual.h.
|
private |
Definition at line 164 of file PersonVisual.h.
|
private |
Definition at line 168 of file PersonVisual.h.
|
private |
Definition at line 167 of file PersonVisual.h.