Public Member Functions | Public Attributes | List of all members
jsk_interactive_marker::TransformableObject Class Reference

#include <transformable_object.h>

Inheritance diagram for jsk_interactive_marker::TransformableObject:
Inheritance graph
[legend]

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_
 

Detailed Description

Definition at line 19 of file transformable_object.h.

Constructor & Destructor Documentation

◆ TransformableObject()

TransformableObject::TransformableObject ( )

Definition at line 17 of file transformable_object.cpp.

Member Function Documentation

◆ addControl()

void TransformableObject::addControl ( visualization_msgs::InteractiveMarker &  int_marker)

Definition at line 96 of file transformable_object.cpp.

◆ addMarker()

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.

◆ addPose()

void TransformableObject::addPose ( geometry_msgs::Pose  msg,
bool  relative = false 
)

Definition at line 151 of file transformable_object.cpp.

◆ getFrameId()

std::string jsk_interactive_marker::TransformableObject::getFrameId ( )
inline

Definition at line 46 of file transformable_object.h.

◆ getInteractiveMarker()

visualization_msgs::InteractiveMarker TransformableObject::getInteractiveMarker ( )

Definition at line 104 of file transformable_object.cpp.

◆ getInteractiveMarkerScale()

virtual float jsk_interactive_marker::TransformableObject::getInteractiveMarkerScale ( )
inlinevirtual

◆ getPose()

geometry_msgs::Pose TransformableObject::getPose ( bool  for_interactive_control = false)

Definition at line 134 of file transformable_object.cpp.

◆ getRGBA()

virtual void jsk_interactive_marker::TransformableObject::getRGBA ( float &  r,
float &  g,
float &  b,
float &  a 
)
inlinevirtual

◆ getRSR()

virtual void jsk_interactive_marker::TransformableObject::getRSR ( float &  r,
float &  sr 
)
inlinevirtual

Reimplemented in jsk_interactive_marker::TransformableTorus.

Definition at line 62 of file transformable_object.h.

◆ getRZ()

virtual void jsk_interactive_marker::TransformableObject::getRZ ( float &  r,
float &  z 
)
inlinevirtual

Reimplemented in jsk_interactive_marker::TransformableCylinder.

Definition at line 64 of file transformable_object.h.

◆ getType()

int jsk_interactive_marker::TransformableObject::getType ( )
inline

Definition at line 66 of file transformable_object.h.

◆ getVisualizationMsgMarker()

virtual visualization_msgs::Marker jsk_interactive_marker::TransformableObject::getVisualizationMsgMarker ( )
inlinevirtual

◆ getXYZ()

virtual void jsk_interactive_marker::TransformableObject::getXYZ ( float &  x,
float &  y,
float &  z 
)
inlinevirtual

◆ makeRotateTransFixControl()

std::vector< visualization_msgs::InteractiveMarkerControl > TransformableObject::makeRotateTransFixControl ( unsigned int  orientation_mode = visualization_msgs::InteractiveMarkerControl::FIXED)

Definition at line 45 of file transformable_object.cpp.

◆ publishTF()

void TransformableObject::publishTF ( )

Definition at line 172 of file transformable_object.cpp.

◆ setDisplayDescription()

void TransformableObject::setDisplayDescription ( bool  v)

Definition at line 33 of file transformable_object.cpp.

◆ setDisplayInteractiveManipulator()

void TransformableObject::setDisplayInteractiveManipulator ( bool  v)

Definition at line 28 of file transformable_object.cpp.

◆ setHeight()

virtual bool jsk_interactive_marker::TransformableObject::setHeight ( std_msgs::Float32  recieve_val)
inlinevirtual

Definition at line 53 of file transformable_object.h.

◆ setInteractiveMarkerSetting()

void TransformableObject::setInteractiveMarkerSetting ( const InteractiveSettingConfig &  config)

Definition at line 38 of file transformable_object.cpp.

◆ setPose()

void TransformableObject::setPose ( geometry_msgs::Pose  pose,
bool  for_interactive_control = false 
)

Definition at line 121 of file transformable_object.cpp.

◆ setRadius()

virtual bool jsk_interactive_marker::TransformableObject::setRadius ( std_msgs::Float32  recieve_val)
inlinevirtual

◆ setRGBA()

virtual void jsk_interactive_marker::TransformableObject::setRGBA ( float  r,
float  g,
float  b,
float  a 
)
inlinevirtual

◆ setRSR()

virtual void jsk_interactive_marker::TransformableObject::setRSR ( float  r,
float  sr 
)
inlinevirtual

Reimplemented in jsk_interactive_marker::TransformableTorus.

Definition at line 61 of file transformable_object.h.

◆ setRZ()

virtual void jsk_interactive_marker::TransformableObject::setRZ ( float  r,
float  z 
)
inlinevirtual

Reimplemented in jsk_interactive_marker::TransformableCylinder.

Definition at line 63 of file transformable_object.h.

◆ setSmallRadius()

virtual bool jsk_interactive_marker::TransformableObject::setSmallRadius ( std_msgs::Float32  recieve_val)
inlinevirtual

Reimplemented in jsk_interactive_marker::TransformableTorus.

Definition at line 52 of file transformable_object.h.

◆ setType()

void jsk_interactive_marker::TransformableObject::setType ( int  type)
inline

Definition at line 67 of file transformable_object.h.

◆ setX()

virtual bool jsk_interactive_marker::TransformableObject::setX ( std_msgs::Float32  recieve_val)
inlinevirtual

◆ setXYZ()

virtual void jsk_interactive_marker::TransformableObject::setXYZ ( float  x,
float  y,
float  z 
)
inlinevirtual

◆ setY()

virtual bool jsk_interactive_marker::TransformableObject::setY ( std_msgs::Float32  recieve_val)
inlinevirtual

◆ setZ()

virtual bool jsk_interactive_marker::TransformableObject::setZ ( std_msgs::Float32  recieve_val)
inlinevirtual

Member Data Documentation

◆ br

tf::TransformBroadcaster jsk_interactive_marker::TransformableObject::br

Definition at line 25 of file transformable_object.h.

◆ control_offset_pose_

geometry_msgs::Pose jsk_interactive_marker::TransformableObject::control_offset_pose_

Definition at line 33 of file transformable_object.h.

◆ description_

std::string jsk_interactive_marker::TransformableObject::description_

Definition at line 36 of file transformable_object.h.

◆ display_description_

bool jsk_interactive_marker::TransformableObject::display_description_

Definition at line 39 of file transformable_object.h.

◆ display_interactive_manipulator_

bool jsk_interactive_marker::TransformableObject::display_interactive_manipulator_

Definition at line 38 of file transformable_object.h.

◆ frame_id_

std::string jsk_interactive_marker::TransformableObject::frame_id_

Definition at line 35 of file transformable_object.h.

◆ interaction_mode_

unsigned int jsk_interactive_marker::TransformableObject::interaction_mode_

Definition at line 41 of file transformable_object.h.

◆ interactive_manipulator_orientation_

int jsk_interactive_marker::TransformableObject::interactive_manipulator_orientation_

Definition at line 40 of file transformable_object.h.

◆ marker_

visualization_msgs::Marker jsk_interactive_marker::TransformableObject::marker_

Definition at line 31 of file transformable_object.h.

◆ name_

std::string jsk_interactive_marker::TransformableObject::name_

Definition at line 34 of file transformable_object.h.

◆ pose_

geometry_msgs::Pose jsk_interactive_marker::TransformableObject::pose_

Definition at line 32 of file transformable_object.h.

◆ type_

int jsk_interactive_marker::TransformableObject::type_

Definition at line 37 of file transformable_object.h.


The documentation for this class was generated from the following files:


jsk_interactive_marker
Author(s): furuta
autogenerated on Fri Aug 2 2024 08:50:24