Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
jsk_rviz_plugins::Plotter2DDisplay Class Reference

#include <plotter_2d_display.h>

Inheritance diagram for jsk_rviz_plugins::Plotter2DDisplay:
Inheritance graph
[legend]

Public Member Functions

virtual int getX ()
 
virtual int getY ()
 
virtual bool isInRegion (int x, int y)
 
virtual void movePosition (int x, int y)
 
 Plotter2DDisplay ()
 
virtual void setPosition (int x, int y)
 
virtual ~Plotter2DDisplay ()
 
- 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
 
QVariant getViewData (int column, int role) const override
 
Qt::ItemFlags getViewFlags (int column) const override
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
void load (const Config &config) override
 
virtual void reset ()
 
void save (Config config) const override
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name) override
 
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)
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
 ~Display () override
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual bool getBool () const
 
bool getDisableChildren () override
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
 ~BoolProperty () override
 
- 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 ()
 
void insertChildSorted (Property *child)
 
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=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
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)
 
 ~Property () override
 

Protected Slots

void updateAutoColorChange ()
 
void updateAutoScale ()
 
void updateBGAlpha ()
 
void updateBGColor ()
 
void updateBufferSize ()
 
void updateFGAlpha ()
 
void updateFGColor ()
 
void updateHeight ()
 
void updateLeft ()
 
void updateLineWidth ()
 
void updateMaxColor ()
 
void updateMaxValue ()
 
void updateMinValue ()
 
void updateShowBorder ()
 
void updateShowCaption ()
 
void updateShowValue ()
 
void updateTextSize ()
 
void updateTop ()
 
void updateTopic ()
 
void updateUpdateInterval ()
 
void updateWidth ()
 

Protected Member Functions

virtual void drawPlot ()
 
virtual void initializeBuffer ()
 
virtual void onDisable ()
 
virtual void onEnable ()
 
virtual void onInitialize ()
 
virtual void processMessage (const std_msgs::Float32::ConstPtr &msg)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void update (float wall_dt, float ros_dt)
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
virtual void fixedFrameChanged ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

Protected Attributes

bool auto_color_change_
 
rviz::BoolPropertyauto_color_change_property_
 
bool auto_scale_
 
rviz::BoolPropertyauto_scale_property_
 
double bg_alpha_
 
rviz::FloatPropertybg_alpha_property_
 
QColor bg_color_
 
rviz::ColorPropertybg_color_property_
 
std::vector< double > buffer_
 
int buffer_length_
 
rviz::IntPropertybuffer_length_property_
 
int caption_offset_
 
bool draw_required_
 
double fg_alpha_
 
rviz::FloatPropertyfg_alpha_property_
 
QColor fg_color_
 
rviz::ColorPropertyfg_color_property_
 
rviz::IntPropertyheight_property_
 
float last_time_
 
int left_
 
rviz::IntPropertyleft_property_
 
int line_width_
 
rviz::IntPropertyline_width_property_
 
QColor max_color_
 
rviz::ColorPropertymax_color_property_
 
double max_value_
 
rviz::FloatPropertymax_value_property_
 
double min_value_
 
rviz::FloatPropertymin_value_property_
 
boost::mutex mutex_
 
OverlayObject::Ptr overlay_
 
bool show_border_
 
rviz::BoolPropertyshow_border_property_
 
bool show_caption_
 
rviz::BoolPropertyshow_caption_property_
 
bool show_value_
 
rviz::BoolPropertyshow_value_property_
 
ros::Subscriber sub_
 
int text_size_
 
rviz::IntPropertytext_size_property_
 
uint16_t texture_height_
 
uint16_t texture_width_
 
int top_
 
rviz::IntPropertytop_property_
 
float update_interval_
 
rviz::FloatPropertyupdate_interval_property_
 
rviz::RosTopicPropertyupdate_topic_property_
 
rviz::IntPropertywidth_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_
 

Additional Inherited Members

- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
void setIcon (const QIcon &icon) override
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (ros::Time time, QPrivateSignal)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 

Detailed Description

Definition at line 55 of file plotter_2d_display.h.

Constructor & Destructor Documentation

◆ Plotter2DDisplay()

jsk_rviz_plugins::Plotter2DDisplay::Plotter2DDisplay ( )

Definition at line 44 of file plotter_2d_display.cpp.

◆ ~Plotter2DDisplay()

jsk_rviz_plugins::Plotter2DDisplay::~Plotter2DDisplay ( )
virtual

Definition at line 147 of file plotter_2d_display.cpp.

Member Function Documentation

◆ drawPlot()

void jsk_rviz_plugins::Plotter2DDisplay::drawPlot ( )
protectedvirtual

Definition at line 215 of file plotter_2d_display.cpp.

◆ getX()

virtual int jsk_rviz_plugins::Plotter2DDisplay::getX ( )
inlinevirtual

Definition at line 66 of file plotter_2d_display.h.

◆ getY()

virtual int jsk_rviz_plugins::Plotter2DDisplay::getY ( )
inlinevirtual

Definition at line 67 of file plotter_2d_display.h.

◆ initializeBuffer()

void jsk_rviz_plugins::Plotter2DDisplay::initializeBuffer ( )
protectedvirtual

Definition at line 172 of file plotter_2d_display.cpp.

◆ isInRegion()

bool jsk_rviz_plugins::Plotter2DDisplay::isInRegion ( int  x,
int  y 
)
virtual

Definition at line 537 of file plotter_2d_display.cpp.

◆ movePosition()

void jsk_rviz_plugins::Plotter2DDisplay::movePosition ( int  x,
int  y 
)
virtual

Definition at line 543 of file plotter_2d_display.cpp.

◆ onDisable()

void jsk_rviz_plugins::Plotter2DDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 393 of file plotter_2d_display.cpp.

◆ onEnable()

void jsk_rviz_plugins::Plotter2DDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 385 of file plotter_2d_display.cpp.

◆ onInitialize()

void jsk_rviz_plugins::Plotter2DDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 184 of file plotter_2d_display.cpp.

◆ processMessage()

void jsk_rviz_plugins::Plotter2DDisplay::processMessage ( const std_msgs::Float32::ConstPtr &  msg)
protectedvirtual

Definition at line 311 of file plotter_2d_display.cpp.

◆ setPosition()

void jsk_rviz_plugins::Plotter2DDisplay::setPosition ( int  x,
int  y 
)
virtual

Definition at line 549 of file plotter_2d_display.cpp.

◆ subscribe()

void jsk_rviz_plugins::Plotter2DDisplay::subscribe ( )
protectedvirtual

Definition at line 370 of file plotter_2d_display.cpp.

◆ unsubscribe()

void jsk_rviz_plugins::Plotter2DDisplay::unsubscribe ( )
protectedvirtual

Definition at line 380 of file plotter_2d_display.cpp.

◆ update()

void jsk_rviz_plugins::Plotter2DDisplay::update ( float  wall_dt,
float  ros_dt 
)
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 352 of file plotter_2d_display.cpp.

◆ updateAutoColorChange

void jsk_rviz_plugins::Plotter2DDisplay::updateAutoColorChange ( )
protectedslot

Definition at line 468 of file plotter_2d_display.cpp.

◆ updateAutoScale

void jsk_rviz_plugins::Plotter2DDisplay::updateAutoScale ( )
protectedslot

Definition at line 522 of file plotter_2d_display.cpp.

◆ updateBGAlpha

void jsk_rviz_plugins::Plotter2DDisplay::updateBGAlpha ( )
protectedslot

Definition at line 436 of file plotter_2d_display.cpp.

◆ updateBGColor

void jsk_rviz_plugins::Plotter2DDisplay::updateBGColor ( )
protectedslot

Definition at line 421 of file plotter_2d_display.cpp.

◆ updateBufferSize

void jsk_rviz_plugins::Plotter2DDisplay::updateBufferSize ( )
protectedslot

Definition at line 462 of file plotter_2d_display.cpp.

◆ updateFGAlpha

void jsk_rviz_plugins::Plotter2DDisplay::updateFGAlpha ( )
protectedslot

Definition at line 431 of file plotter_2d_display.cpp.

◆ updateFGColor

void jsk_rviz_plugins::Plotter2DDisplay::updateFGColor ( )
protectedslot

Definition at line 426 of file plotter_2d_display.cpp.

◆ updateHeight

void jsk_rviz_plugins::Plotter2DDisplay::updateHeight ( )
protectedslot

Definition at line 405 of file plotter_2d_display.cpp.

◆ updateLeft

void jsk_rviz_plugins::Plotter2DDisplay::updateLeft ( )
protectedslot

Definition at line 416 of file plotter_2d_display.cpp.

◆ updateLineWidth

void jsk_rviz_plugins::Plotter2DDisplay::updateLineWidth ( )
protectedslot

Definition at line 457 of file plotter_2d_display.cpp.

◆ updateMaxColor

void jsk_rviz_plugins::Plotter2DDisplay::updateMaxColor ( )
protectedslot

Definition at line 479 of file plotter_2d_display.cpp.

◆ updateMaxValue

void jsk_rviz_plugins::Plotter2DDisplay::updateMaxValue ( )
protectedslot

Definition at line 515 of file plotter_2d_display.cpp.

◆ updateMinValue

void jsk_rviz_plugins::Plotter2DDisplay::updateMinValue ( )
protectedslot

Definition at line 508 of file plotter_2d_display.cpp.

◆ updateShowBorder

void jsk_rviz_plugins::Plotter2DDisplay::updateShowBorder ( )
protectedslot

Definition at line 452 of file plotter_2d_display.cpp.

◆ updateShowCaption

void jsk_rviz_plugins::Plotter2DDisplay::updateShowCaption ( )
protectedslot

Definition at line 497 of file plotter_2d_display.cpp.

◆ updateShowValue

void jsk_rviz_plugins::Plotter2DDisplay::updateShowValue ( )
protectedslot

Definition at line 447 of file plotter_2d_display.cpp.

◆ updateTextSize

void jsk_rviz_plugins::Plotter2DDisplay::updateTextSize ( )
protectedslot

Definition at line 489 of file plotter_2d_display.cpp.

◆ updateTop

void jsk_rviz_plugins::Plotter2DDisplay::updateTop ( )
protectedslot

Definition at line 411 of file plotter_2d_display.cpp.

◆ updateTopic

void jsk_rviz_plugins::Plotter2DDisplay::updateTopic ( )
protectedslot

Definition at line 441 of file plotter_2d_display.cpp.

◆ updateUpdateInterval

void jsk_rviz_plugins::Plotter2DDisplay::updateUpdateInterval ( )
protectedslot

Definition at line 484 of file plotter_2d_display.cpp.

◆ updateWidth

void jsk_rviz_plugins::Plotter2DDisplay::updateWidth ( )
protectedslot

Definition at line 399 of file plotter_2d_display.cpp.

Member Data Documentation

◆ auto_color_change_

bool jsk_rviz_plugins::Plotter2DDisplay::auto_color_change_
protected

Definition at line 115 of file plotter_2d_display.h.

◆ auto_color_change_property_

rviz::BoolProperty* jsk_rviz_plugins::Plotter2DDisplay::auto_color_change_property_
protected

Definition at line 98 of file plotter_2d_display.h.

◆ auto_scale_

bool jsk_rviz_plugins::Plotter2DDisplay::auto_scale_
protected

Definition at line 113 of file plotter_2d_display.h.

◆ auto_scale_property_

rviz::BoolProperty* jsk_rviz_plugins::Plotter2DDisplay::auto_scale_property_
protected

Definition at line 102 of file plotter_2d_display.h.

◆ bg_alpha_

double jsk_rviz_plugins::Plotter2DDisplay::bg_alpha_
protected

Definition at line 112 of file plotter_2d_display.h.

◆ bg_alpha_property_

rviz::FloatProperty* jsk_rviz_plugins::Plotter2DDisplay::bg_alpha_property_
protected

Definition at line 89 of file plotter_2d_display.h.

◆ bg_color_

QColor jsk_rviz_plugins::Plotter2DDisplay::bg_color_
protected

Definition at line 109 of file plotter_2d_display.h.

◆ bg_color_property_

rviz::ColorProperty* jsk_rviz_plugins::Plotter2DDisplay::bg_color_property_
protected

Definition at line 87 of file plotter_2d_display.h.

◆ buffer_

std::vector<double> jsk_rviz_plugins::Plotter2DDisplay::buffer_
protected

Definition at line 123 of file plotter_2d_display.h.

◆ buffer_length_

int jsk_rviz_plugins::Plotter2DDisplay::buffer_length_
protected

Definition at line 122 of file plotter_2d_display.h.

◆ buffer_length_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::buffer_length_property_
protected

Definition at line 92 of file plotter_2d_display.h.

◆ caption_offset_

int jsk_rviz_plugins::Plotter2DDisplay::caption_offset_
protected

Definition at line 130 of file plotter_2d_display.h.

◆ draw_required_

bool jsk_rviz_plugins::Plotter2DDisplay::draw_required_
protected

Definition at line 118 of file plotter_2d_display.h.

◆ fg_alpha_

double jsk_rviz_plugins::Plotter2DDisplay::fg_alpha_
protected

Definition at line 111 of file plotter_2d_display.h.

◆ fg_alpha_property_

rviz::FloatProperty* jsk_rviz_plugins::Plotter2DDisplay::fg_alpha_property_
protected

Definition at line 88 of file plotter_2d_display.h.

◆ fg_color_

QColor jsk_rviz_plugins::Plotter2DDisplay::fg_color_
protected

Definition at line 107 of file plotter_2d_display.h.

◆ fg_color_property_

rviz::ColorProperty* jsk_rviz_plugins::Plotter2DDisplay::fg_color_property_
protected

Definition at line 86 of file plotter_2d_display.h.

◆ height_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::height_property_
protected

Definition at line 94 of file plotter_2d_display.h.

◆ last_time_

float jsk_rviz_plugins::Plotter2DDisplay::last_time_
protected

Definition at line 119 of file plotter_2d_display.h.

◆ left_

int jsk_rviz_plugins::Plotter2DDisplay::left_
protected

Definition at line 126 of file plotter_2d_display.h.

◆ left_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::left_property_
protected

Definition at line 95 of file plotter_2d_display.h.

◆ line_width_

int jsk_rviz_plugins::Plotter2DDisplay::line_width_
protected

Definition at line 128 of file plotter_2d_display.h.

◆ line_width_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::line_width_property_
protected

Definition at line 97 of file plotter_2d_display.h.

◆ max_color_

QColor jsk_rviz_plugins::Plotter2DDisplay::max_color_
protected

Definition at line 108 of file plotter_2d_display.h.

◆ max_color_property_

rviz::ColorProperty* jsk_rviz_plugins::Plotter2DDisplay::max_color_property_
protected

Definition at line 99 of file plotter_2d_display.h.

◆ max_value_

double jsk_rviz_plugins::Plotter2DDisplay::max_value_
protected

Definition at line 132 of file plotter_2d_display.h.

◆ max_value_property_

rviz::FloatProperty* jsk_rviz_plugins::Plotter2DDisplay::max_value_property_
protected

Definition at line 103 of file plotter_2d_display.h.

◆ min_value_

double jsk_rviz_plugins::Plotter2DDisplay::min_value_
protected

Definition at line 131 of file plotter_2d_display.h.

◆ min_value_property_

rviz::FloatProperty* jsk_rviz_plugins::Plotter2DDisplay::min_value_property_
protected

Definition at line 104 of file plotter_2d_display.h.

◆ mutex_

boost::mutex jsk_rviz_plugins::Plotter2DDisplay::mutex_
protected

Definition at line 137 of file plotter_2d_display.h.

◆ overlay_

OverlayObject::Ptr jsk_rviz_plugins::Plotter2DDisplay::overlay_
protected

Definition at line 106 of file plotter_2d_display.h.

◆ show_border_

bool jsk_rviz_plugins::Plotter2DDisplay::show_border_
protected

Definition at line 114 of file plotter_2d_display.h.

◆ show_border_property_

rviz::BoolProperty* jsk_rviz_plugins::Plotter2DDisplay::show_border_property_
protected

Definition at line 91 of file plotter_2d_display.h.

◆ show_caption_

bool jsk_rviz_plugins::Plotter2DDisplay::show_caption_
protected

Definition at line 117 of file plotter_2d_display.h.

◆ show_caption_property_

rviz::BoolProperty* jsk_rviz_plugins::Plotter2DDisplay::show_caption_property_
protected

Definition at line 100 of file plotter_2d_display.h.

◆ show_value_

bool jsk_rviz_plugins::Plotter2DDisplay::show_value_
protected

Definition at line 116 of file plotter_2d_display.h.

◆ show_value_property_

rviz::BoolProperty* jsk_rviz_plugins::Plotter2DDisplay::show_value_property_
protected

Definition at line 85 of file plotter_2d_display.h.

◆ sub_

ros::Subscriber jsk_rviz_plugins::Plotter2DDisplay::sub_
protected

Definition at line 138 of file plotter_2d_display.h.

◆ text_size_

int jsk_rviz_plugins::Plotter2DDisplay::text_size_
protected

Definition at line 129 of file plotter_2d_display.h.

◆ text_size_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::text_size_property_
protected

Definition at line 101 of file plotter_2d_display.h.

◆ texture_height_

uint16_t jsk_rviz_plugins::Plotter2DDisplay::texture_height_
protected

Definition at line 125 of file plotter_2d_display.h.

◆ texture_width_

uint16_t jsk_rviz_plugins::Plotter2DDisplay::texture_width_
protected

Definition at line 124 of file plotter_2d_display.h.

◆ top_

int jsk_rviz_plugins::Plotter2DDisplay::top_
protected

Definition at line 127 of file plotter_2d_display.h.

◆ top_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::top_property_
protected

Definition at line 96 of file plotter_2d_display.h.

◆ update_interval_

float jsk_rviz_plugins::Plotter2DDisplay::update_interval_
protected

Definition at line 120 of file plotter_2d_display.h.

◆ update_interval_property_

rviz::FloatProperty* jsk_rviz_plugins::Plotter2DDisplay::update_interval_property_
protected

Definition at line 90 of file plotter_2d_display.h.

◆ update_topic_property_

rviz::RosTopicProperty* jsk_rviz_plugins::Plotter2DDisplay::update_topic_property_
protected

Definition at line 84 of file plotter_2d_display.h.

◆ width_property_

rviz::IntProperty* jsk_rviz_plugins::Plotter2DDisplay::width_property_
protected

Definition at line 93 of file plotter_2d_display.h.


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


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Thu Jun 1 2023 02:45:58