Go to the documentation of this file.
   37 #include <OgreSceneNode.h> 
   38 #include <OgreSceneManager.h> 
   39 #include <OgreEntity.h> 
   40 #include <OgreSubEntity.h> 
   41 #include <OgreSharedPtr.h> 
   50   : owner_(owner), context_(context), scene_node_(parent_node->createChildSceneNode())
 
   89                            Ogre::Quaternion& orient,
 
   93   if (message->frame_locked)
 
  111   scale = Ogre::Vector3(message->scale.x, message->scale.y, message->scale.z);
 
  120     handler_->setInteractiveObject(std::move(control));
 
  146   uint32_t num_sub_entities = entity->getNumSubEntities();
 
  147   for (uint32_t i = 0; i < num_sub_entities; ++i)
 
  149     Ogre::SubEntity* sub = entity->getSubEntity(i);
 
  150     const Ogre::MaterialPtr& material = sub->getMaterial();
 
  151     materials.insert(material);
 
  
DisplayContext * context_
std::set< Ogre::MaterialPtr > S_MaterialPtr
Displays "markers" sent in by other ROS nodes on the "visualization_marker" topic.
virtual void onNewMessage(const MarkerConstPtr &old_message, const MarkerConstPtr &new_message)=0
visualization_msgs::Marker Marker
virtual void setPosition(const Ogre::Vector3 &position)
Ogre::SceneNode * scene_node_
virtual void setOrientation(const Ogre::Quaternion &orientation)
boost::shared_ptr< MarkerSelectionHandler > handler_
const Ogre::Quaternion & getOrientation() const
void setInteractiveObject(InteractiveObjectWPtr object)
Associate an InteractiveObject with this MarkerBase.
virtual Ogre::SceneManager * getSceneManager() const =0
Returns the Ogre::SceneManager used for the main RenderPanel.
MarkerBase(MarkerDisplay *owner, DisplayContext *context, Ogre::SceneNode *parent_node)
bool transform(const MarkerConstPtr &message, Ogre::Vector3 &pos, Ogre::Quaternion &orient, Ogre::Vector3 &scale)
void setMessage(const Marker &message)
const Ogre::Vector3 & getPosition() const
Pure-virtual base class for objects which give Display subclasses context in which to work.
virtual FrameManager * getFrameManager() const =0
Return the FrameManager instance.
bool transform(const Header &header, const geometry_msgs::Pose &pose, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
Transform a pose from a frame into the fixed frame.
void extractMaterials(Ogre::Entity *entity, S_MaterialPtr &materials)
visualization_msgs::Marker::ConstPtr MarkerConstPtr
boost::weak_ptr< InteractiveObject > InteractiveObjectWPtr
bool transformHasProblems(const std::string &frame, ros::Time time, std::string &error)
Check to see if a transform is known between a given frame and the fixed frame.
void setMarkerStatus(const MarkerID &id, StatusLevel level, const std::string &text)
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall 
autogenerated on Sun May 4 2025 02:31:26