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
 
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 reset ()
 
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)
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
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 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)
 
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)
 

Detailed Description

Definition at line 55 of file plotter_2d_display.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::Plotter2DDisplay::Plotter2DDisplay ( )

Definition at line 44 of file plotter_2d_display.cpp.

jsk_rviz_plugins::Plotter2DDisplay::~Plotter2DDisplay ( )
virtual

Definition at line 147 of file plotter_2d_display.cpp.

Member Function Documentation

void jsk_rviz_plugins::Plotter2DDisplay::drawPlot ( )
protectedvirtual

Definition at line 215 of file plotter_2d_display.cpp.

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

Definition at line 66 of file plotter_2d_display.h.

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

Definition at line 67 of file plotter_2d_display.h.

void jsk_rviz_plugins::Plotter2DDisplay::initializeBuffer ( )
protectedvirtual

Definition at line 172 of file plotter_2d_display.cpp.

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

Definition at line 537 of file plotter_2d_display.cpp.

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

Definition at line 543 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 393 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 385 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 184 of file plotter_2d_display.cpp.

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

Definition at line 311 of file plotter_2d_display.cpp.

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

Definition at line 549 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::subscribe ( )
protectedvirtual

Definition at line 370 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::unsubscribe ( )
protectedvirtual

Definition at line 380 of file plotter_2d_display.cpp.

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.

void jsk_rviz_plugins::Plotter2DDisplay::updateAutoColorChange ( )
protectedslot

Definition at line 468 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateAutoScale ( )
protectedslot

Definition at line 522 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateBGAlpha ( )
protectedslot

Definition at line 436 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateBGColor ( )
protectedslot

Definition at line 421 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateBufferSize ( )
protectedslot

Definition at line 462 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateFGAlpha ( )
protectedslot

Definition at line 431 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateFGColor ( )
protectedslot

Definition at line 426 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateHeight ( )
protectedslot

Definition at line 405 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateLeft ( )
protectedslot

Definition at line 416 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateLineWidth ( )
protectedslot

Definition at line 457 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateMaxColor ( )
protectedslot

Definition at line 479 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateMaxValue ( )
protectedslot

Definition at line 515 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateMinValue ( )
protectedslot

Definition at line 508 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateShowBorder ( )
protectedslot

Definition at line 452 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateShowCaption ( )
protectedslot

Definition at line 497 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateShowValue ( )
protectedslot

Definition at line 447 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateTextSize ( )
protectedslot

Definition at line 489 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateTop ( )
protectedslot

Definition at line 411 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateTopic ( )
protectedslot

Definition at line 441 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateUpdateInterval ( )
protectedslot

Definition at line 484 of file plotter_2d_display.cpp.

void jsk_rviz_plugins::Plotter2DDisplay::updateWidth ( )
protectedslot

Definition at line 399 of file plotter_2d_display.cpp.

Member Data Documentation

bool jsk_rviz_plugins::Plotter2DDisplay::auto_color_change_
protected

Definition at line 115 of file plotter_2d_display.h.

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

Definition at line 98 of file plotter_2d_display.h.

bool jsk_rviz_plugins::Plotter2DDisplay::auto_scale_
protected

Definition at line 113 of file plotter_2d_display.h.

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

Definition at line 102 of file plotter_2d_display.h.

double jsk_rviz_plugins::Plotter2DDisplay::bg_alpha_
protected

Definition at line 112 of file plotter_2d_display.h.

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

Definition at line 89 of file plotter_2d_display.h.

QColor jsk_rviz_plugins::Plotter2DDisplay::bg_color_
protected

Definition at line 109 of file plotter_2d_display.h.

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

Definition at line 87 of file plotter_2d_display.h.

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

Definition at line 123 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::buffer_length_
protected

Definition at line 122 of file plotter_2d_display.h.

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

Definition at line 92 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::caption_offset_
protected

Definition at line 130 of file plotter_2d_display.h.

bool jsk_rviz_plugins::Plotter2DDisplay::draw_required_
protected

Definition at line 118 of file plotter_2d_display.h.

double jsk_rviz_plugins::Plotter2DDisplay::fg_alpha_
protected

Definition at line 111 of file plotter_2d_display.h.

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

Definition at line 88 of file plotter_2d_display.h.

QColor jsk_rviz_plugins::Plotter2DDisplay::fg_color_
protected

Definition at line 107 of file plotter_2d_display.h.

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

Definition at line 86 of file plotter_2d_display.h.

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

Definition at line 94 of file plotter_2d_display.h.

float jsk_rviz_plugins::Plotter2DDisplay::last_time_
protected

Definition at line 119 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::left_
protected

Definition at line 126 of file plotter_2d_display.h.

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

Definition at line 95 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::line_width_
protected

Definition at line 128 of file plotter_2d_display.h.

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

Definition at line 97 of file plotter_2d_display.h.

QColor jsk_rviz_plugins::Plotter2DDisplay::max_color_
protected

Definition at line 108 of file plotter_2d_display.h.

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

Definition at line 99 of file plotter_2d_display.h.

double jsk_rviz_plugins::Plotter2DDisplay::max_value_
protected

Definition at line 132 of file plotter_2d_display.h.

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

Definition at line 103 of file plotter_2d_display.h.

double jsk_rviz_plugins::Plotter2DDisplay::min_value_
protected

Definition at line 131 of file plotter_2d_display.h.

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

Definition at line 104 of file plotter_2d_display.h.

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

Definition at line 137 of file plotter_2d_display.h.

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

Definition at line 106 of file plotter_2d_display.h.

bool jsk_rviz_plugins::Plotter2DDisplay::show_border_
protected

Definition at line 114 of file plotter_2d_display.h.

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

Definition at line 91 of file plotter_2d_display.h.

bool jsk_rviz_plugins::Plotter2DDisplay::show_caption_
protected

Definition at line 117 of file plotter_2d_display.h.

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

Definition at line 100 of file plotter_2d_display.h.

bool jsk_rviz_plugins::Plotter2DDisplay::show_value_
protected

Definition at line 116 of file plotter_2d_display.h.

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

Definition at line 85 of file plotter_2d_display.h.

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

Definition at line 138 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::text_size_
protected

Definition at line 129 of file plotter_2d_display.h.

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

Definition at line 101 of file plotter_2d_display.h.

uint16_t jsk_rviz_plugins::Plotter2DDisplay::texture_height_
protected

Definition at line 125 of file plotter_2d_display.h.

uint16_t jsk_rviz_plugins::Plotter2DDisplay::texture_width_
protected

Definition at line 124 of file plotter_2d_display.h.

int jsk_rviz_plugins::Plotter2DDisplay::top_
protected

Definition at line 127 of file plotter_2d_display.h.

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

Definition at line 96 of file plotter_2d_display.h.

float jsk_rviz_plugins::Plotter2DDisplay::update_interval_
protected

Definition at line 120 of file plotter_2d_display.h.

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

Definition at line 90 of file plotter_2d_display.h.

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

Definition at line 84 of file plotter_2d_display.h.

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 Sat Mar 20 2021 03:03:18