Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
trajectory_tracker_rviz_plugins::PathWithVelocityDisplay Class Reference

Displays a trajectory_tracker_msgs::PathWithVelocity message. More...

#include <path_with_velocity_display.h>

Inheritance diagram for trajectory_tracker_rviz_plugins::PathWithVelocityDisplay:
Inheritance graph
[legend]

Public Member Functions

 PathWithVelocityDisplay ()
 
virtual void reset ()
 Overridden from Display. More...
 
virtual ~PathWithVelocityDisplay ()
 
- Public Member Functions inherited from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >
 MessageFilterDisplay ()
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
virtual ~MessageFilterDisplay ()
 
- Public Member Functions inherited from rviz::_RosTopicDisplay
 _RosTopicDisplay ()
 
- Public Member Functions inherited from rviz::Display
virtual void deleteStatus (const QString &name)
 
void deleteStatusStd (const std::string &name)
 
 Display ()
 
void emitTimeSignal (ros::Time time)
 
QWidget * getAssociatedWidget () const
 
PanelDockWidgetgetAssociatedWidgetPanel ()
 
virtual QString getClassId () const
 
Ogre::SceneNode * getSceneNode () const
 
virtual QVariant getViewData (int column, int role) const
 
virtual Qt::ItemFlags getViewFlags (int column) const
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
virtual void load (const Config &config)
 
virtual void save (Config config) const
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name)
 
virtual void setStatus (StatusProperty::Level level, const QString &name, const QString &text)
 
void setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
virtual void update (float wall_dt, float ros_dt)
 
virtual ~Display ()
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual bool getBool () const
 
virtual bool getDisableChildren ()
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
virtual ~BoolProperty ()
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly ()
 
virtual QVariant getValue () const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant default_value=QVariant(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
void setParent (Property *new_parent)
 
virtual void setReadOnly (bool read_only)
 
void setShouldBeSaved (bool save)
 
virtual bool setValue (const QVariant &new_value)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
virtual ~Property ()
 

Protected Member Functions

virtual void onInitialize ()
 Overridden from Display. More...
 
void processMessage (const trajectory_tracker_msgs::PathWithVelocity::ConstPtr &msg)
 Overridden from MessageFilterDisplay. More...
 
- Protected Member Functions inherited from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >
virtual void fixedFrameChanged ()
 
void incomingMessage (const typename trajectory_tracker_msgs::PathWithVelocity::ConstPtr &msg)
 
virtual void onDisable ()
 
virtual void onEnable ()
 
virtual void processMessage (const typename trajectory_tracker_msgs::PathWithVelocity::ConstPtr &msg)=0
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void updateTopic ()
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

Private Types

typedef std::vector< rviz::Arrow * > ArrowPtrArray
 
typedef std::vector< rviz::Axes * > AxesPtrArray
 
enum  LineStyle { LINES, BILLBOARDS }
 
enum  PoseStyle { NONE, AXES, ARROWS }
 

Private Slots

void updateBufferLength ()
 
void updateLineWidth ()
 
void updateOffset ()
 
void updatePoseArrowColor ()
 
void updatePoseArrowGeometry ()
 
void updatePoseAxisGeometry ()
 
void updatePoseStyle ()
 
void updateStyle ()
 

Private Member Functions

void allocateArrowVector (std::vector< rviz::Arrow * > &arrow_vect, size_t num)
 
void allocateAxesVector (std::vector< rviz::Axes * > &axes_vect, size_t num)
 
void destroyObjects ()
 
void destroyPoseArrowChain ()
 
void destroyPoseAxesChain ()
 

Private Attributes

rviz::FloatPropertyalpha_property_
 
std::vector< ArrowPtrArrayarrow_chain_
 
std::vector< AxesPtrArrayaxes_chain_
 
std::vector< rviz::BillboardLine * > billboard_lines_
 
rviz::IntPropertybuffer_length_property_
 
rviz::ColorPropertycolor_property_
 
rviz::FloatPropertyline_width_property_
 
std::vector< Ogre::ManualObject * > manual_objects_
 
rviz::VectorPropertyoffset_property_
 
rviz::ColorPropertypose_arrow_color_property_
 
rviz::FloatPropertypose_arrow_head_diameter_property_
 
rviz::FloatPropertypose_arrow_head_length_property_
 
rviz::FloatPropertypose_arrow_shaft_diameter_property_
 
rviz::FloatPropertypose_arrow_shaft_length_property_
 
rviz::FloatPropertypose_axes_length_property_
 
rviz::FloatPropertypose_axes_radius_property_
 
rviz::EnumPropertypose_style_property_
 
rviz::EnumPropertystyle_property_
 

Additional Inherited Members

- Public Types inherited from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >
typedef MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity > MFDClass
 
- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
virtual void setIcon (const QIcon &icon)
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (rviz::Display *display, ros::Time time)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 
- Protected Slots inherited from rviz::_RosTopicDisplay
- Protected Attributes inherited from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >
uint32_t messages_received_
 
message_filters::Subscriber< trajectory_tracker_msgs::PathWithVelocity > sub_
 
tf::MessageFilter< trajectory_tracker_msgs::PathWithVelocity > * tf_filter_
 
- Protected Attributes inherited from rviz::_RosTopicDisplay
RosTopicPropertytopic_property_
 
BoolPropertyunreliable_property_
 
- Protected Attributes inherited from rviz::Display
DisplayContextcontext_
 
QString fixed_frame_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 
ros::NodeHandle threaded_nh_
 
ros::NodeHandle update_nh_
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

Detailed Description

Displays a trajectory_tracker_msgs::PathWithVelocity message.

Definition at line 64 of file path_with_velocity_display.h.

Member Typedef Documentation

Definition at line 99 of file path_with_velocity_display.h.

Definition at line 98 of file path_with_velocity_display.h.

Member Enumeration Documentation

Enumerator
LINES 
BILLBOARDS 

Definition at line 113 of file path_with_velocity_display.h.

Enumerator
NONE 
AXES 
ARROWS 

Definition at line 129 of file path_with_velocity_display.h.

Constructor & Destructor Documentation

trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::PathWithVelocityDisplay ( )

Definition at line 62 of file path_with_velocity_display.cpp.

trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::~PathWithVelocityDisplay ( )
virtual

Definition at line 149 of file path_with_velocity_display.cpp.

Member Function Documentation

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::allocateArrowVector ( std::vector< rviz::Arrow * > &  arrow_vect,
size_t  num 
)
private

Definition at line 190 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::allocateAxesVector ( std::vector< rviz::Axes * > &  axes_vect,
size_t  num 
)
private

Definition at line 168 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::destroyObjects ( )
private

Definition at line 350 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::destroyPoseArrowChain ( )
private

Definition at line 219 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::destroyPoseAxesChain ( )
private

Definition at line 210 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::onInitialize ( )
protectedvirtual

Overridden from Display.

Reimplemented from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >.

Definition at line 156 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::processMessage ( const trajectory_tracker_msgs::PathWithVelocity::ConstPtr &  msg)
protected

Overridden from MessageFilterDisplay.

Definition at line 417 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::reset ( )
virtual

Overridden from Display.

Reimplemented from rviz::MessageFilterDisplay< trajectory_tracker_msgs::PathWithVelocity >.

Definition at line 162 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updateBufferLength ( )
privateslot

Definition at line 376 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updateLineWidth ( )
privateslot

Definition at line 247 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updateOffset ( )
privateslot

Definition at line 264 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updatePoseArrowColor ( )
privateslot

Definition at line 319 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updatePoseArrowGeometry ( )
privateslot

Definition at line 334 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updatePoseAxisGeometry ( )
privateslot

Definition at line 305 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updatePoseStyle ( )
privateslot

Definition at line 270 of file path_with_velocity_display.cpp.

void trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::updateStyle ( )
privateslot

Definition at line 228 of file path_with_velocity_display.cpp.

Member Data Documentation

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::alpha_property_
private

Definition at line 108 of file path_with_velocity_display.h.

std::vector<ArrowPtrArray> trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::arrow_chain_
private

Definition at line 104 of file path_with_velocity_display.h.

std::vector<AxesPtrArray> trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::axes_chain_
private

Definition at line 103 of file path_with_velocity_display.h.

std::vector<rviz::BillboardLine*> trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::billboard_lines_
private

Definition at line 102 of file path_with_velocity_display.h.

rviz::IntProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::buffer_length_property_
private

Definition at line 110 of file path_with_velocity_display.h.

rviz::ColorProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::color_property_
private

Definition at line 107 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::line_width_property_
private

Definition at line 109 of file path_with_velocity_display.h.

std::vector<Ogre::ManualObject*> trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::manual_objects_
private

Definition at line 101 of file path_with_velocity_display.h.

rviz::VectorProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::offset_property_
private

Definition at line 111 of file path_with_velocity_display.h.

rviz::ColorProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_arrow_color_property_
private

Definition at line 123 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_arrow_head_diameter_property_
private

Definition at line 127 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_arrow_head_length_property_
private

Definition at line 125 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_arrow_shaft_diameter_property_
private

Definition at line 126 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_arrow_shaft_length_property_
private

Definition at line 124 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_axes_length_property_
private

Definition at line 121 of file path_with_velocity_display.h.

rviz::FloatProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_axes_radius_property_
private

Definition at line 122 of file path_with_velocity_display.h.

rviz::EnumProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::pose_style_property_
private

Definition at line 120 of file path_with_velocity_display.h.

rviz::EnumProperty* trajectory_tracker_rviz_plugins::PathWithVelocityDisplay::style_property_
private

Definition at line 106 of file path_with_velocity_display.h.


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


trajectory_tracker_rviz_plugins
Author(s): Atsushi Watanabe
autogenerated on Sat Jun 8 2019 19:23:54