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> 18 namespace fs = boost::filesystem;
29 virtual void generateBaseframe() = 0;
34 DoorVisualDefaultArgs(Ogre::SceneManager* sceneManager, Ogre::SceneNode* parentNode) : sceneManager(sceneManager), parentNode(parentNode) {}
46 void setPosition(
const Ogre::Vector3& position);
48 const Ogre::Vector3& getPosition()
const;
50 void setOrientation(
const Ogre::Quaternion& orientation);
52 const Ogre::Quaternion& getOrientation()
const;
54 virtual void setScalingFactor(
double scalingFactor);
56 void setVisible(
bool visible);
58 Ogre::SceneNode* getParentSceneNode();
60 virtual void setHeight(
double height);
62 virtual void setWidth(
double width);
64 virtual void setOpeningAngle(
double oangle,
bool clockwise);
66 virtual void update(
float deltaTime);
68 virtual Ogre::Matrix3 getRotationMat();
70 virtual void setColor(
const Ogre::ColourValue& c) = 0;
72 virtual Ogre::ColourValue& getColor() = 0;
74 virtual double getHeight() = 0;
93 virtual void setColor(
const Ogre::ColourValue& c);
95 virtual Ogre::ColourValue& getColor();
97 virtual double getHeight();
99 virtual void setLineWidth(
double lineWidth);
103 virtual void generateBaseframe();
167 #endif // DOORVISUAL_H
Ogre::SceneManager * m_sceneManager
virtual void generateWireframe()=0
Visualization of a person as a wireframe bounding box.
Ogre::SceneManager * sceneManager
Ogre::SceneNode * parentNode
rviz::BillboardLine * m_baseframe
void update(const std::string &key, const XmlRpc::XmlRpcValue &v)
Ogre::SceneNode * m_sceneNode
rviz::BillboardLine * m_wireframe
DoorVisualDefaultArgs(Ogre::SceneManager *sceneManager, Ogre::SceneNode *parentNode)
Ogre::ColourValue m_color
Base class for all person visualization types.