Public Member Functions | Private Attributes | List of all members
tuw_object_rviz::MeshPersonVisual Class Reference

Visualization of a person as a mesh (walking human) More...

#include <PersonVisual.h>

Inheritance diagram for tuw_object_rviz::MeshPersonVisual:
Inheritance graph
[legend]

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::Vector3getPosition () 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
 

Detailed Description

Visualization of a person as a mesh (walking human)

Definition at line 161 of file PersonVisual.h.

Constructor & Destructor Documentation

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.

tuw_object_rviz::MeshPersonVisual::~MeshPersonVisual ( )
virtual

Definition at line 291 of file PersonVisual.cpp.

Member Function Documentation

Ogre::ColourValue & tuw_object_rviz::MeshPersonVisual::getColor ( )
virtual

Implements tuw_object_rviz::PersonVisual.

Definition at line 341 of file PersonVisual.cpp.

virtual double tuw_object_rviz::MeshPersonVisual::getHeight ( )
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.

void tuw_object_rviz::MeshPersonVisual::setColor ( const Ogre::ColourValue &  c)
virtual

Implements tuw_object_rviz::PersonVisual.

Definition at line 310 of file PersonVisual.cpp.

virtual void tuw_object_rviz::MeshPersonVisual::setScalingFactor ( double  scalingFactor)
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.

void tuw_object_rviz::MeshPersonVisual::update ( float  deltaTime)
virtual

Reimplemented from tuw_object_rviz::PersonVisual.

Definition at line 373 of file PersonVisual.cpp.

Member Data Documentation

Ogre::Entity* tuw_object_rviz::MeshPersonVisual::entity_
private

Definition at line 165 of file PersonVisual.h.

Ogre::AnimationState* tuw_object_rviz::MeshPersonVisual::m_animationState
private

Definition at line 166 of file PersonVisual.h.

Ogre::SceneNode* tuw_object_rviz::MeshPersonVisual::m_childSceneNode
private

Definition at line 164 of file PersonVisual.h.

float tuw_object_rviz::MeshPersonVisual::m_walkingSpeed
private

Definition at line 168 of file PersonVisual.h.

std::set<Ogre::MaterialPtr> tuw_object_rviz::MeshPersonVisual::materials_
private

Definition at line 167 of file PersonVisual.h.


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


tuw_object_rviz
Author(s): Florian Beck
autogenerated on Mon Jun 10 2019 15:40:17