#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) |
|
virtual | ~InteractiveMarker () |
|
Definition at line 67 of file interactive_marker.h.
rviz::InteractiveMarker::InteractiveMarker |
( |
Ogre::SceneNode * |
scene_node, |
|
|
DisplayContext * |
context |
|
) |
| |
rviz::InteractiveMarker::~InteractiveMarker |
( |
| ) |
|
|
virtual |
const std::string& rviz::InteractiveMarker::getName |
( |
| ) |
|
|
inline |
const Ogre::Quaternion& rviz::InteractiveMarker::getOrientation |
( |
| ) |
|
|
inline |
const std::string& rviz::InteractiveMarker::getReferenceFrame |
( |
| ) |
|
|
inline |
float rviz::InteractiveMarker::getSize |
( |
| ) |
|
|
inline |
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 490 of file interactive_marker.cpp.
void rviz::InteractiveMarker::handleMenuSelect |
( |
int |
menu_item_id | ) |
|
|
protectedslot |
bool rviz::InteractiveMarker::handleMouseEvent |
( |
ViewportMouseEvent & |
event, |
|
|
const std::string & |
control_name |
|
) |
| |
bool rviz::InteractiveMarker::hasMenu |
( |
| ) |
|
|
inline |
QString rviz::InteractiveMarker::makeMenuString |
( |
const std::string & |
entry | ) |
|
|
protected |
void rviz::InteractiveMarker::populateMenu |
( |
QMenu * |
menu, |
|
|
std::vector< uint32_t > & |
ids |
|
) |
| |
|
protected |
bool rviz::InteractiveMarker::processMessage |
( |
const visualization_msgs::InteractiveMarker & |
message | ) |
|
void rviz::InteractiveMarker::processMessage |
( |
const visualization_msgs::InteractiveMarkerPose & |
message | ) |
|
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) |
|
) |
| |
void rviz::InteractiveMarker::publishPose |
( |
| ) |
|
|
protected |
void rviz::InteractiveMarker::requestPoseUpdate |
( |
Ogre::Vector3 |
position, |
|
|
Ogre::Quaternion |
orientation |
|
) |
| |
void rviz::InteractiveMarker::reset |
( |
| ) |
|
|
protected |
void rviz::InteractiveMarker::rotate |
( |
Ogre::Quaternion |
delta_orientation, |
|
|
const std::string & |
control_name |
|
) |
| |
void rviz::InteractiveMarker::setPose |
( |
Ogre::Vector3 |
position, |
|
|
Ogre::Quaternion |
orientation, |
|
|
const std::string & |
control_name |
|
) |
| |
void rviz::InteractiveMarker::setShowAxes |
( |
bool |
show | ) |
|
void rviz::InteractiveMarker::setShowDescription |
( |
bool |
show | ) |
|
void rviz::InteractiveMarker::setShowVisualAids |
( |
bool |
show | ) |
|
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 584 of file interactive_marker.cpp.
void rviz::InteractiveMarker::startDragging |
( |
| ) |
|
void rviz::InteractiveMarker::statusUpdate |
( |
StatusProperty::Level |
level, |
|
|
const std::string & |
name, |
|
|
const std::string & |
text |
|
) |
| |
|
signal |
void rviz::InteractiveMarker::stopDragging |
( |
| ) |
|
void rviz::InteractiveMarker::translate |
( |
Ogre::Vector3 |
delta_position, |
|
|
const std::string & |
control_name |
|
) |
| |
void rviz::InteractiveMarker::update |
( |
float |
wall_dt | ) |
|
void rviz::InteractiveMarker::updateReferencePose |
( |
| ) |
|
|
protected |
void rviz::InteractiveMarker::userFeedback |
( |
visualization_msgs::InteractiveMarkerFeedback & |
feedback | ) |
|
|
signal |
Axes* rviz::InteractiveMarker::axes_ |
|
protected |
std::string rviz::InteractiveMarker::client_id_ |
|
protected |
std::string rviz::InteractiveMarker::description_ |
|
protected |
bool rviz::InteractiveMarker::dragging_ |
|
protected |
bool rviz::InteractiveMarker::frame_locked_ |
|
protected |
bool rviz::InteractiveMarker::got_3d_point_for_menu_ |
|
protected |
bool rviz::InteractiveMarker::has_menu_ |
|
protected |
double rviz::InteractiveMarker::heart_beat_t_ |
|
protected |
std::string rviz::InteractiveMarker::last_control_name_ |
|
protected |
std::map< uint32_t, MenuNode > rviz::InteractiveMarker::menu_entries_ |
|
protected |
boost::recursive_mutex rviz::InteractiveMarker::mutex_ |
|
protected |
std::string rviz::InteractiveMarker::name_ |
|
protected |
Ogre::Quaternion rviz::InteractiveMarker::orientation_ |
|
protected |
bool rviz::InteractiveMarker::pose_changed_ |
|
protected |
bool rviz::InteractiveMarker::pose_update_requested_ |
|
protected |
std::string rviz::InteractiveMarker::reference_frame_ |
|
protected |
Ogre::SceneNode* rviz::InteractiveMarker::reference_node_ |
|
protected |
ros::Time rviz::InteractiveMarker::reference_time_ |
|
protected |
Ogre::Quaternion rviz::InteractiveMarker::requested_orientation_ |
|
protected |
float rviz::InteractiveMarker::scale_ |
|
protected |
bool rviz::InteractiveMarker::show_visual_aids_ |
|
protected |
double rviz::InteractiveMarker::time_since_last_feedback_ |
|
protected |
std::vector<uint32_t> rviz::InteractiveMarker::top_level_menu_ids_ |
|
protected |
std::string rviz::InteractiveMarker::topic_ns_ |
|
protected |
The documentation for this class was generated from the following files: