#include <transformable_object.h>
Public Member Functions | |
void | addControl (visualization_msgs::InteractiveMarker &int_marker) |
void | addMarker (visualization_msgs::InteractiveMarker &int_marker, bool always_visible=true, unsigned int interaction_mode=visualization_msgs::InteractiveMarkerControl::MOVE_3D) |
void | addPose (geometry_msgs::Pose msg, bool relative=false) |
std::string | getFrameId () |
visualization_msgs::InteractiveMarker | getInteractiveMarker () |
virtual float | getInteractiveMarkerScale () |
geometry_msgs::Pose | getPose (bool for_interactive_control=false) |
virtual void | getRGBA (float &r, float &g, float &b, float &a) |
virtual void | getRSR (float &r, float &sr) |
virtual void | getRZ (float &r, float &z) |
int | getType () |
virtual visualization_msgs::Marker | getVisualizationMsgMarker () |
virtual void | getXYZ (float &x, float &y, float &z) |
std::vector< visualization_msgs::InteractiveMarkerControl > | makeRotateTransFixControl (unsigned int orientation_mode=visualization_msgs::InteractiveMarkerControl::FIXED) |
void | publishTF () |
void | setDisplayDescription (bool v) |
void | setDisplayInteractiveManipulator (bool v) |
virtual bool | setHeight (std_msgs::Float32 recieve_val) |
void | setInteractiveMarkerSetting (const InteractiveSettingConfig &config) |
void | setPose (geometry_msgs::Pose pose, bool for_interactive_control=false) |
virtual bool | setRadius (std_msgs::Float32 recieve_val) |
virtual void | setRGBA (float r, float g, float b, float a) |
virtual void | setRSR (float r, float sr) |
virtual void | setRZ (float r, float z) |
virtual bool | setSmallRadius (std_msgs::Float32 recieve_val) |
void | setType (int type) |
virtual bool | setX (std_msgs::Float32 recieve_val) |
virtual void | setXYZ (float x, float y, float z) |
virtual bool | setY (std_msgs::Float32 recieve_val) |
virtual bool | setZ (std_msgs::Float32 recieve_val) |
TransformableObject () | |
Public Attributes | |
tf::TransformBroadcaster | br |
geometry_msgs::Pose | control_offset_pose_ |
std::string | description_ |
bool | display_description_ |
bool | display_interactive_manipulator_ |
std::string | frame_id_ |
unsigned int | interaction_mode_ |
int | interactive_manipulator_orientation_ |
visualization_msgs::Marker | marker_ |
std::string | name_ |
geometry_msgs::Pose | pose_ |
int | type_ |
Definition at line 19 of file transformable_object.h.
TransformableObject::TransformableObject | ( | ) |
Definition at line 17 of file transformable_object.cpp.
void TransformableObject::addControl | ( | visualization_msgs::InteractiveMarker & | int_marker | ) |
Definition at line 96 of file transformable_object.cpp.
void TransformableObject::addMarker | ( | visualization_msgs::InteractiveMarker & | int_marker, |
bool | always_visible = true , |
||
unsigned int | interaction_mode = visualization_msgs::InteractiveMarkerControl::MOVE_3D |
||
) |
Definition at line 86 of file transformable_object.cpp.
void TransformableObject::addPose | ( | geometry_msgs::Pose | msg, |
bool | relative = false |
||
) |
Definition at line 151 of file transformable_object.cpp.
|
inline |
Definition at line 46 of file transformable_object.h.
visualization_msgs::InteractiveMarker TransformableObject::getInteractiveMarker | ( | ) |
Definition at line 104 of file transformable_object.cpp.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, jsk_interactive_marker::TransformableTorus, jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 69 of file transformable_object.h.
geometry_msgs::Pose TransformableObject::getPose | ( | bool | for_interactive_control = false | ) |
Definition at line 134 of file transformable_object.cpp.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, jsk_interactive_marker::TransformableTorus, jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 58 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableTorus.
Definition at line 62 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder.
Definition at line 64 of file transformable_object.h.
|
inline |
Definition at line 66 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, jsk_interactive_marker::TransformableTorus, jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 27 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 60 of file transformable_object.h.
std::vector< visualization_msgs::InteractiveMarkerControl > TransformableObject::makeRotateTransFixControl | ( | unsigned int | orientation_mode = visualization_msgs::InteractiveMarkerControl::FIXED | ) |
Definition at line 45 of file transformable_object.cpp.
void TransformableObject::publishTF | ( | ) |
Definition at line 172 of file transformable_object.cpp.
void TransformableObject::setDisplayDescription | ( | bool | v | ) |
Definition at line 33 of file transformable_object.cpp.
void TransformableObject::setDisplayInteractiveManipulator | ( | bool | v | ) |
Definition at line 28 of file transformable_object.cpp.
|
inlinevirtual |
Definition at line 53 of file transformable_object.h.
void TransformableObject::setInteractiveMarkerSetting | ( | const InteractiveSettingConfig & | config | ) |
Definition at line 38 of file transformable_object.cpp.
void TransformableObject::setPose | ( | geometry_msgs::Pose | pose, |
bool | for_interactive_control = false |
||
) |
Definition at line 121 of file transformable_object.cpp.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, and jsk_interactive_marker::TransformableTorus.
Definition at line 51 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, jsk_interactive_marker::TransformableTorus, jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 57 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableTorus.
Definition at line 61 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder.
Definition at line 63 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableTorus.
Definition at line 52 of file transformable_object.h.
|
inline |
Definition at line 67 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 54 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 59 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 55 of file transformable_object.h.
|
inlinevirtual |
Reimplemented in jsk_interactive_marker::TransformableCylinder, jsk_interactive_marker::TransformableMesh, and jsk_interactive_marker::TransformableBox.
Definition at line 56 of file transformable_object.h.
tf::TransformBroadcaster jsk_interactive_marker::TransformableObject::br |
Definition at line 25 of file transformable_object.h.
geometry_msgs::Pose jsk_interactive_marker::TransformableObject::control_offset_pose_ |
Definition at line 33 of file transformable_object.h.
std::string jsk_interactive_marker::TransformableObject::description_ |
Definition at line 36 of file transformable_object.h.
bool jsk_interactive_marker::TransformableObject::display_description_ |
Definition at line 39 of file transformable_object.h.
bool jsk_interactive_marker::TransformableObject::display_interactive_manipulator_ |
Definition at line 38 of file transformable_object.h.
std::string jsk_interactive_marker::TransformableObject::frame_id_ |
Definition at line 35 of file transformable_object.h.
unsigned int jsk_interactive_marker::TransformableObject::interaction_mode_ |
Definition at line 41 of file transformable_object.h.
int jsk_interactive_marker::TransformableObject::interactive_manipulator_orientation_ |
Definition at line 40 of file transformable_object.h.
visualization_msgs::Marker jsk_interactive_marker::TransformableObject::marker_ |
Definition at line 31 of file transformable_object.h.
std::string jsk_interactive_marker::TransformableObject::name_ |
Definition at line 34 of file transformable_object.h.
geometry_msgs::Pose jsk_interactive_marker::TransformableObject::pose_ |
Definition at line 32 of file transformable_object.h.
int jsk_interactive_marker::TransformableObject::type_ |
Definition at line 37 of file transformable_object.h.