#include <interactive_marker.h>
|  | 
| boost::shared_ptr< QMenu > | getMenu () | 
|  | 
| const std::string & | getName () | 
|  | 
| const Ogre::Quaternion & | getOrientation () | 
|  | 
| const Ogre::Vector3 & | getPosition () | 
|  | 
| const std::string & | getReferenceFrame () | 
|  | 
| float | getSize () | 
|  | 
| bool | handle3DCursorEvent (ViewportMouseEvent &event, const Ogre::Vector3 &cursor_pos, const Ogre::Quaternion &cursor_rot, const std::string &control_name) | 
|  | 
| bool | handleMouseEvent (ViewportMouseEvent &event, const std::string &control_name) | 
|  | 
| bool | hasMenu () | 
|  | 
|  | InteractiveMarker (Ogre::SceneNode *scene_node, DisplayContext *context) | 
|  | 
| bool | processMessage (const visualization_msgs::InteractiveMarker &message) | 
|  | 
| void | processMessage (const visualization_msgs::InteractiveMarkerPose &message) | 
|  | 
| void | publishFeedback (visualization_msgs::InteractiveMarkerFeedback &feedback, bool mouse_point_valid=false, const Ogre::Vector3 &mouse_point_rel_world=Ogre::Vector3(0, 0, 0)) | 
|  | 
| void | requestPoseUpdate (Ogre::Vector3 position, Ogre::Quaternion orientation) | 
|  | 
| void | rotate (Ogre::Quaternion delta_orientation, const std::string &control_name) | 
|  | 
| void | setPose (Ogre::Vector3 position, Ogre::Quaternion orientation, const std::string &control_name) | 
|  | 
| void | setShowAxes (bool show) | 
|  | 
| void | setShowDescription (bool show) | 
|  | 
| void | setShowVisualAids (bool show) | 
|  | 
| void | showMenu (ViewportMouseEvent &event, const std::string &control_name, const Ogre::Vector3 &three_d_point, bool valid_point) | 
|  | 
| void | startDragging () | 
|  | 
| void | stopDragging () | 
|  | 
| void | translate (Ogre::Vector3 delta_position, const std::string &control_name) | 
|  | 
| void | update (float wall_dt) | 
|  | 
|  | ~InteractiveMarker () override | 
|  | 
Definition at line 69 of file interactive_marker.h.
 
◆ InteractiveMarkerControlPtr
◆ M_ControlPtr
◆ InteractiveMarker()
      
        
          | rviz::InteractiveMarker::InteractiveMarker | ( | Ogre::SceneNode * | scene_node, | 
        
          |  |  | DisplayContext * | context | 
        
          |  | ) |  |  | 
      
 
 
◆ ~InteractiveMarker()
  
  | 
        
          | rviz::InteractiveMarker::~InteractiveMarker | ( |  | ) |  |  | override | 
 
 
◆ getMenu()
◆ getName()
  
  | 
        
          | const std::string& rviz::InteractiveMarker::getName | ( |  | ) |  |  | inline | 
 
 
◆ getOrientation()
  
  | 
        
          | const Ogre::Quaternion& rviz::InteractiveMarker::getOrientation | ( |  | ) |  |  | inline | 
 
 
◆ getPosition()
  
  | 
        
          | const Ogre::Vector3& rviz::InteractiveMarker::getPosition | ( |  | ) |  |  | inline | 
 
 
◆ getReferenceFrame()
  
  | 
        
          | const std::string& rviz::InteractiveMarker::getReferenceFrame | ( |  | ) |  |  | inline | 
 
 
◆ getSize()
  
  | 
        
          | float rviz::InteractiveMarker::getSize | ( |  | ) |  |  | inline | 
 
 
◆ handle3DCursorEvent()
      
        
          | bool rviz::InteractiveMarker::handle3DCursorEvent | ( | ViewportMouseEvent & | event, | 
        
          |  |  | const Ogre::Vector3 & | cursor_pos, | 
        
          |  |  | const Ogre::Quaternion & | cursor_rot, | 
        
          |  |  | const std::string & | control_name | 
        
          |  | ) |  |  | 
      
 
Supports selection and menu events from a 3D cursor.
- Parameters
- 
  
  
- Returns
- true if the cursor event was intercepted, false if it was ignored 
Definition at line 493 of file interactive_marker.cpp.
 
 
◆ handleMenuSelect
  
  | 
        
          | void rviz::InteractiveMarker::handleMenuSelect | ( | int | menu_item_id | ) |  |  | protectedslot | 
 
 
◆ handleMouseEvent()
      
        
          | bool rviz::InteractiveMarker::handleMouseEvent | ( | ViewportMouseEvent & | event, | 
        
          |  |  | const std::string & | control_name | 
        
          |  | ) |  |  | 
      
 
 
◆ hasMenu()
  
  | 
        
          | bool rviz::InteractiveMarker::hasMenu | ( |  | ) |  |  | inline | 
 
 
◆ makeMenuString()
  
  | 
        
          | QString rviz::InteractiveMarker::makeMenuString | ( | const std::string & | entry | ) |  |  | protected | 
 
 
◆ populateMenu()
  
  | 
        
          | void rviz::InteractiveMarker::populateMenu | ( | QMenu * | menu, |  
          |  |  | std::vector< uint32_t > & | ids |  
          |  | ) |  |  |  | protected | 
 
 
◆ processMessage() [1/2]
      
        
          | bool rviz::InteractiveMarker::processMessage | ( | const visualization_msgs::InteractiveMarker & | message | ) |  | 
      
 
 
◆ processMessage() [2/2]
      
        
          | void rviz::InteractiveMarker::processMessage | ( | const visualization_msgs::InteractiveMarkerPose & | message | ) |  | 
      
 
 
◆ publishFeedback()
      
        
          | void rviz::InteractiveMarker::publishFeedback | ( | visualization_msgs::InteractiveMarkerFeedback & | feedback, | 
        
          |  |  | bool | mouse_point_valid = false, | 
        
          |  |  | const Ogre::Vector3 & | mouse_point_rel_world = Ogre::Vector3(0, 0, 0) | 
        
          |  | ) |  |  | 
      
 
 
◆ publishPose()
  
  | 
        
          | void rviz::InteractiveMarker::publishPose | ( |  | ) |  |  | protected | 
 
 
◆ requestPoseUpdate()
      
        
          | void rviz::InteractiveMarker::requestPoseUpdate | ( | Ogre::Vector3 | position, | 
        
          |  |  | Ogre::Quaternion | orientation | 
        
          |  | ) |  |  | 
      
 
 
◆ reset()
  
  | 
        
          | void rviz::InteractiveMarker::reset | ( |  | ) |  |  | protected | 
 
 
◆ rotate()
      
        
          | void rviz::InteractiveMarker::rotate | ( | Ogre::Quaternion | delta_orientation, | 
        
          |  |  | const std::string & | control_name | 
        
          |  | ) |  |  | 
      
 
 
◆ setPose()
      
        
          | void rviz::InteractiveMarker::setPose | ( | Ogre::Vector3 | position, | 
        
          |  |  | Ogre::Quaternion | orientation, | 
        
          |  |  | const std::string & | control_name | 
        
          |  | ) |  |  | 
      
 
 
◆ setShowAxes()
      
        
          | void rviz::InteractiveMarker::setShowAxes | ( | bool | show | ) |  | 
      
 
 
◆ setShowDescription()
      
        
          | void rviz::InteractiveMarker::setShowDescription | ( | bool | show | ) |  | 
      
 
 
◆ setShowVisualAids()
      
        
          | void rviz::InteractiveMarker::setShowVisualAids | ( | bool | show | ) |  | 
      
 
 
◆ showMenu()
      
        
          | void rviz::InteractiveMarker::showMenu | ( | ViewportMouseEvent & | event, | 
        
          |  |  | const std::string & | control_name, | 
        
          |  |  | const Ogre::Vector3 & | three_d_point, | 
        
          |  |  | bool | valid_point | 
        
          |  | ) |  |  | 
      
 
Pop up the context menu for this marker.
- Parameters
- 
  
    | event | A struct holding certain event data (see full description on InteractiveMarkerControl::handle3DCursorEvent) |  | control_name | The name of the InteractiveMarkerControl that was selected. |  | three_d_point | The world-relative position associated with this mouse-click or cursor event. |  | valid_point | True if three_d_point is valid (e.g. if the mouse ray was successfully intersected with marker geometry). |  
 
Definition at line 591 of file interactive_marker.cpp.
 
 
◆ startDragging()
      
        
          | void rviz::InteractiveMarker::startDragging | ( |  | ) |  | 
      
 
 
◆ statusUpdate
  
  | 
        
          | void rviz::InteractiveMarker::statusUpdate | ( | StatusProperty::Level | level, |  
          |  |  | const std::string & | name, |  
          |  |  | const std::string & | text |  
          |  | ) |  |  |  | signal | 
 
 
◆ stopDragging()
      
        
          | void rviz::InteractiveMarker::stopDragging | ( |  | ) |  | 
      
 
 
◆ translate()
      
        
          | void rviz::InteractiveMarker::translate | ( | Ogre::Vector3 | delta_position, | 
        
          |  |  | const std::string & | control_name | 
        
          |  | ) |  |  | 
      
 
 
◆ update()
      
        
          | void rviz::InteractiveMarker::update | ( | float | wall_dt | ) |  | 
      
 
 
◆ updateReferencePose()
  
  | 
        
          | void rviz::InteractiveMarker::updateReferencePose | ( |  | ) |  |  | protected | 
 
 
◆ userFeedback
  
  | 
        
          | void rviz::InteractiveMarker::userFeedback | ( | visualization_msgs::InteractiveMarkerFeedback & | feedback | ) |  |  | signal | 
 
 
◆ axes_
  
  | 
        
          | Axes* rviz::InteractiveMarker::axes_ |  | protected | 
 
 
◆ client_id_
  
  | 
        
          | std::string rviz::InteractiveMarker::client_id_ |  | protected | 
 
 
◆ context_
◆ controls_
◆ description_
  
  | 
        
          | std::string rviz::InteractiveMarker::description_ |  | protected | 
 
 
◆ description_control_
◆ dragging_
  
  | 
        
          | bool rviz::InteractiveMarker::dragging_ |  | protected | 
 
 
◆ frame_locked_
  
  | 
        
          | bool rviz::InteractiveMarker::frame_locked_ |  | protected | 
 
 
◆ got_3d_point_for_menu_
  
  | 
        
          | bool rviz::InteractiveMarker::got_3d_point_for_menu_ |  | protected | 
 
 
◆ has_menu_
  
  | 
        
          | bool rviz::InteractiveMarker::has_menu_ |  | protected | 
 
 
◆ heart_beat_t_
  
  | 
        
          | double rviz::InteractiveMarker::heart_beat_t_ |  | protected | 
 
 
◆ last_control_name_
  
  | 
        
          | std::string rviz::InteractiveMarker::last_control_name_ |  | protected | 
 
 
◆ menu_
◆ menu_entries_
  
  | 
        
          | std::map<uint32_t, MenuNode> rviz::InteractiveMarker::menu_entries_ |  | protected | 
 
 
◆ mutex_
  
  | 
        
          | boost::recursive_mutex rviz::InteractiveMarker::mutex_ |  | protected | 
 
 
◆ name_
  
  | 
        
          | std::string rviz::InteractiveMarker::name_ |  | protected | 
 
 
◆ orientation_
  
  | 
        
          | Ogre::Quaternion rviz::InteractiveMarker::orientation_ |  | protected | 
 
 
◆ pose_changed_
  
  | 
        
          | bool rviz::InteractiveMarker::pose_changed_ |  | protected | 
 
 
◆ pose_update_requested_
  
  | 
        
          | bool rviz::InteractiveMarker::pose_update_requested_ |  | protected | 
 
 
◆ position_
  
  | 
        
          | Ogre::Vector3 rviz::InteractiveMarker::position_ |  | protected | 
 
 
◆ reference_frame_
  
  | 
        
          | std::string rviz::InteractiveMarker::reference_frame_ |  | protected | 
 
 
◆ reference_node_
  
  | 
        
          | Ogre::SceneNode* rviz::InteractiveMarker::reference_node_ |  | protected | 
 
 
◆ reference_time_
  
  | 
        
          | ros::Time rviz::InteractiveMarker::reference_time_ |  | protected | 
 
 
◆ requested_orientation_
  
  | 
        
          | Ogre::Quaternion rviz::InteractiveMarker::requested_orientation_ |  | protected | 
 
 
◆ requested_position_
  
  | 
        
          | Ogre::Vector3 rviz::InteractiveMarker::requested_position_ |  | protected | 
 
 
◆ scale_
  
  | 
        
          | float rviz::InteractiveMarker::scale_ |  | protected | 
 
 
◆ show_visual_aids_
  
  | 
        
          | bool rviz::InteractiveMarker::show_visual_aids_ |  | protected | 
 
 
◆ sys_thread_
◆ three_d_point_for_menu_
  
  | 
        
          | Ogre::Vector3 rviz::InteractiveMarker::three_d_point_for_menu_ |  | protected | 
 
 
◆ time_since_last_feedback_
  
  | 
        
          | double rviz::InteractiveMarker::time_since_last_feedback_ |  | protected | 
 
 
◆ top_level_menu_ids_
  
  | 
        
          | std::vector<uint32_t> rviz::InteractiveMarker::top_level_menu_ids_ |  | protected | 
 
 
◆ topic_ns_
  
  | 
        
          | std::string rviz::InteractiveMarker::topic_ns_ |  | protected | 
 
 
The documentation for this class was generated from the following files:
 
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall 
autogenerated on Sun May 4 2025 02:31:27