32 #include <OGRE/OgreManualObject.h> 33 #include <OGRE/OgreEntity.h> 34 #include <OGRE/OgreMeshManager.h> 35 #include <OGRE/OgreSceneNode.h> 36 #include <OGRE/OgreSceneManager.h> 66 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(rviz_path +
"/media",
"FileSystem",
ROS_PACKAGE_NAME);
67 Ogre::ResourceGroupManager::getSingleton().initialiseResourceGroup(
ROS_PACKAGE_NAME);
99 Ogre::Quaternion orientation;
100 Ogre::Vector3 position;
102 ROS_DEBUG (
"Error transforming from frame '%s' to frame '%s'", msg->header.frame_id.c_str(), qPrintable(
fixed_frame_));
void setFrameOrientation(const Ogre::Quaternion &orientation)
virtual ~MarkerDetectionDisplay()
Ogre::ColourValue getOgreColor() const
virtual void onInitialize()
DisplayContext * context_
void setScale(float scale)
virtual float getFloat() const
rviz::FloatProperty * _markerSizeProperty
Ogre::SceneNode * scene_node_
void setShowLabel(bool showLabel)
virtual bool getBool() const
rviz::BoolProperty * _showAxesProperty
void setMessage(const marker_msgs::MarkerDetection::ConstPtr &msg)
rviz::ColorProperty * _colourLabelProperty
void setColorLabel(Ogre::ColourValue color)
void setShowAxes(bool showAxes)
MarkerDetectionVisual * _visual
void setShowMarker(bool showMarker)
virtual FrameManager * getFrameManager() const =0
virtual void onInitialize()
ROSLIB_DECL std::string getPath(const std::string &package_name)
virtual Ogre::SceneManager * getSceneManager() const =0
virtual void queueRender()=0
void setFramePosition(const Ogre::Vector3 &position)
rviz::BoolProperty * _showLabelProperty
bool getTransform(const Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
void processMessage(const marker_msgs::MarkerDetection::ConstPtr &msg)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
rviz::BoolProperty * _showMarkerProperty