1 #ifndef TrafficConeVISUAL_H 2 #define TrafficConeVISUAL_H 7 #include <OgreSceneNode.h> 8 #include <OgreAnimation.h> 9 #include <OgreSharedPtr.h> 10 #include <OgreEntity.h> 13 #include <boost/algorithm/string/predicate.hpp> 14 #include <boost/filesystem.hpp> 17 namespace fs = boost::filesystem;
35 void setPosition(
const Ogre::Vector3& position);
37 const Ogre::Vector3& getPosition()
const;
39 void setOrientation(
const Ogre::Quaternion& orientation);
41 const Ogre::Quaternion& getOrientation()
const;
43 virtual void setScalingFactor(
double scalingFactor);
45 void setVisible(
bool visible);
47 Ogre::SceneNode* getParentSceneNode();
49 virtual void setHeight(
double height);
51 virtual void setRadius(
double radius);
53 virtual void update(
float deltaTime);
55 virtual void setColor(
const Ogre::ColourValue& c) = 0;
57 virtual Ogre::ColourValue& getColor() = 0;
59 virtual double getHeight() = 0;
75 virtual void setColor(
const Ogre::ColourValue& c);
77 virtual Ogre::ColourValue& getColor();
79 virtual double getHeight();
81 virtual void setHeight(
double height);
83 virtual void setRadius(
double radius);
85 virtual void update(
float deltaTime);
148 #endif // TrafficConeVISUAL_H TrafficConeVisualDefaultArgs(Ogre::SceneManager *sceneManager, Ogre::SceneNode *parentNode)
Base class for all person visualization types.
Ogre::SceneNode * parentNode
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
Visualization of a person as a wireframe bounding box.
Ogre::SceneNode * m_sceneNode
rviz::Shape * m_bodyShape
Ogre::SceneManager * sceneManager
Ogre::ColourValue m_color
Ogre::SceneManager * m_sceneManager