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

#include <pie_chart_display.h>

Inheritance diagram for jsk_rviz_plugins::PieChartDisplay:
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)
 
 PieChartDisplay ()
 
virtual void setPosition (int x, int y)
 
virtual ~PieChartDisplay ()
 
- 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 updateBGAlpha ()
 
void updateBGColor ()
 
void updateClockwiseRotate ()
 
void updateFGAlpha ()
 
void updateFGAlpha2 ()
 
void updateFGColor ()
 
void updateLeft ()
 
void updateMaxColor ()
 
void updateMaxColorThreshold ()
 
void updateMaxValue ()
 
void updateMedColor ()
 
void updateMedColorThreshold ()
 
void updateMinValue ()
 
void updateShowCaption ()
 
void updateSize ()
 
void updateTextSize ()
 
void updateTop ()
 
void updateTopic ()
 

Protected Member Functions

virtual void drawPlot (double val)
 
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_
 
double bg_alpha_
 
rviz::FloatPropertybg_alpha_property_
 
QColor bg_color_
 
rviz::ColorPropertybg_color_property_
 
int caption_offset_
 
bool clockwise_rotate_
 
rviz::BoolPropertyclockwise_rotate_property_
 
float data_
 
double fg_alpha2_
 
rviz::FloatPropertyfg_alpha2_property_
 
double fg_alpha_
 
rviz::FloatPropertyfg_alpha_property_
 
QColor fg_color_
 
rviz::ColorPropertyfg_color_property_
 
bool first_time_
 
int left_
 
rviz::IntPropertyleft_property_
 
QColor max_color_
 
rviz::ColorPropertymax_color_property_
 
double max_color_threshold_
 
rviz::FloatPropertymax_color_threshold_property_
 
double max_value_
 
rviz::FloatPropertymax_value_property_
 
QColor med_color_
 
rviz::ColorPropertymed_color_property_
 
double med_color_threshold_
 
rviz::FloatPropertymed_color_threshold_property_
 
double min_value_
 
rviz::FloatPropertymin_value_property_
 
boost::mutex mutex_
 
OverlayObject::Ptr overlay_
 
bool show_caption_
 
rviz::BoolPropertyshow_caption_property_
 
rviz::IntPropertysize_property_
 
ros::Subscriber sub_
 
rviz::FloatPropertytext_alpha_property_
 
rviz::ColorPropertytext_color_property_
 
int text_size_
 
rviz::IntPropertytext_size_property_
 
uint16_t texture_size_
 
int top_
 
rviz::IntPropertytop_property_
 
bool update_required_
 
rviz::RosTopicPropertyupdate_topic_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 53 of file pie_chart_display.h.

Constructor & Destructor Documentation

◆ PieChartDisplay()

jsk_rviz_plugins::PieChartDisplay::PieChartDisplay ( )

Definition at line 50 of file pie_chart_display.cpp.

◆ ~PieChartDisplay()

jsk_rviz_plugins::PieChartDisplay::~PieChartDisplay ( )
virtual

Definition at line 137 of file pie_chart_display.cpp.

Member Function Documentation

◆ drawPlot()

void jsk_rviz_plugins::PieChartDisplay::drawPlot ( double  val)
protectedvirtual

Definition at line 214 of file pie_chart_display.cpp.

◆ getX()

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

Definition at line 65 of file pie_chart_display.h.

◆ getY()

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

Definition at line 66 of file pie_chart_display.h.

◆ isInRegion()

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

Definition at line 488 of file pie_chart_display.cpp.

◆ movePosition()

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

Definition at line 494 of file pie_chart_display.cpp.

◆ onDisable()

void jsk_rviz_plugins::PieChartDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 336 of file pie_chart_display.cpp.

◆ onEnable()

void jsk_rviz_plugins::PieChartDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 329 of file pie_chart_display.cpp.

◆ onInitialize()

void jsk_rviz_plugins::PieChartDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 159 of file pie_chart_display.cpp.

◆ processMessage()

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

Definition at line 200 of file pie_chart_display.cpp.

◆ setPosition()

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

Definition at line 500 of file pie_chart_display.cpp.

◆ subscribe()

void jsk_rviz_plugins::PieChartDisplay::subscribe ( )
protectedvirtual

Definition at line 314 of file pie_chart_display.cpp.

◆ unsubscribe()

void jsk_rviz_plugins::PieChartDisplay::unsubscribe ( )
protectedvirtual

Definition at line 324 of file pie_chart_display.cpp.

◆ update()

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

Reimplemented from rviz::Display.

Definition at line 188 of file pie_chart_display.cpp.

◆ updateAutoColorChange

void jsk_rviz_plugins::PieChartDisplay::updateAutoColorChange ( )
protectedslot

Definition at line 436 of file pie_chart_display.cpp.

◆ updateBGAlpha

void jsk_rviz_plugins::PieChartDisplay::updateBGAlpha ( )
protectedslot

Definition at line 390 of file pie_chart_display.cpp.

◆ updateBGColor

void jsk_rviz_plugins::PieChartDisplay::updateBGColor ( )
protectedslot

Definition at line 361 of file pie_chart_display.cpp.

◆ updateClockwiseRotate

void jsk_rviz_plugins::PieChartDisplay::updateClockwiseRotate ( )
protectedslot

Definition at line 481 of file pie_chart_display.cpp.

◆ updateFGAlpha

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha ( )
protectedslot

Definition at line 375 of file pie_chart_display.cpp.

◆ updateFGAlpha2

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha2 ( )
protectedslot

Definition at line 382 of file pie_chart_display.cpp.

◆ updateFGColor

void jsk_rviz_plugins::PieChartDisplay::updateFGColor ( )
protectedslot

Definition at line 368 of file pie_chart_display.cpp.

◆ updateLeft

void jsk_rviz_plugins::PieChartDisplay::updateLeft ( )
protectedslot

Definition at line 355 of file pie_chart_display.cpp.

◆ updateMaxColor

void jsk_rviz_plugins::PieChartDisplay::updateMaxColor ( )
protectedslot

Definition at line 455 of file pie_chart_display.cpp.

◆ updateMaxColorThreshold

void jsk_rviz_plugins::PieChartDisplay::updateMaxColorThreshold ( )
protectedslot

Definition at line 469 of file pie_chart_display.cpp.

◆ updateMaxValue

void jsk_rviz_plugins::PieChartDisplay::updateMaxValue ( )
protectedslot

Definition at line 404 of file pie_chart_display.cpp.

◆ updateMedColor

void jsk_rviz_plugins::PieChartDisplay::updateMedColor ( )
protectedslot

Definition at line 462 of file pie_chart_display.cpp.

◆ updateMedColorThreshold

void jsk_rviz_plugins::PieChartDisplay::updateMedColorThreshold ( )
protectedslot

Definition at line 475 of file pie_chart_display.cpp.

◆ updateMinValue

void jsk_rviz_plugins::PieChartDisplay::updateMinValue ( )
protectedslot

Definition at line 397 of file pie_chart_display.cpp.

◆ updateShowCaption

void jsk_rviz_plugins::PieChartDisplay::updateShowCaption ( )
protectedslot

Definition at line 422 of file pie_chart_display.cpp.

◆ updateSize

void jsk_rviz_plugins::PieChartDisplay::updateSize ( )
protectedslot

Definition at line 342 of file pie_chart_display.cpp.

◆ updateTextSize

void jsk_rviz_plugins::PieChartDisplay::updateTextSize ( )
protectedslot

Definition at line 411 of file pie_chart_display.cpp.

◆ updateTop

void jsk_rviz_plugins::PieChartDisplay::updateTop ( )
protectedslot

Definition at line 349 of file pie_chart_display.cpp.

◆ updateTopic

void jsk_rviz_plugins::PieChartDisplay::updateTopic ( )
protectedslot

Definition at line 430 of file pie_chart_display.cpp.

Member Data Documentation

◆ auto_color_change_

bool jsk_rviz_plugins::PieChartDisplay::auto_color_change_
protected

Definition at line 110 of file pie_chart_display.h.

◆ auto_color_change_property_

rviz::BoolProperty* jsk_rviz_plugins::PieChartDisplay::auto_color_change_property_
protected

Definition at line 93 of file pie_chart_display.h.

◆ bg_alpha_

double jsk_rviz_plugins::PieChartDisplay::bg_alpha_
protected

Definition at line 114 of file pie_chart_display.h.

◆ bg_alpha_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::bg_alpha_property_
protected

Definition at line 87 of file pie_chart_display.h.

◆ bg_color_

QColor jsk_rviz_plugins::PieChartDisplay::bg_color_
protected

Definition at line 105 of file pie_chart_display.h.

◆ bg_color_property_

rviz::ColorProperty* jsk_rviz_plugins::PieChartDisplay::bg_color_property_
protected

Definition at line 83 of file pie_chart_display.h.

◆ caption_offset_

int jsk_rviz_plugins::PieChartDisplay::caption_offset_
protected

Definition at line 111 of file pie_chart_display.h.

◆ clockwise_rotate_

bool jsk_rviz_plugins::PieChartDisplay::clockwise_rotate_
protected

Definition at line 123 of file pie_chart_display.h.

◆ clockwise_rotate_property_

rviz::BoolProperty* jsk_rviz_plugins::PieChartDisplay::clockwise_rotate_property_
protected

Definition at line 98 of file pie_chart_display.h.

◆ data_

float jsk_rviz_plugins::PieChartDisplay::data_
protected

Definition at line 119 of file pie_chart_display.h.

◆ fg_alpha2_

double jsk_rviz_plugins::PieChartDisplay::fg_alpha2_
protected

Definition at line 113 of file pie_chart_display.h.

◆ fg_alpha2_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::fg_alpha2_property_
protected

Definition at line 86 of file pie_chart_display.h.

◆ fg_alpha_

double jsk_rviz_plugins::PieChartDisplay::fg_alpha_
protected

Definition at line 112 of file pie_chart_display.h.

◆ fg_alpha_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::fg_alpha_property_
protected

Definition at line 85 of file pie_chart_display.h.

◆ fg_color_

QColor jsk_rviz_plugins::PieChartDisplay::fg_color_
protected

Definition at line 104 of file pie_chart_display.h.

◆ fg_color_property_

rviz::ColorProperty* jsk_rviz_plugins::PieChartDisplay::fg_color_property_
protected

Definition at line 82 of file pie_chart_display.h.

◆ first_time_

bool jsk_rviz_plugins::PieChartDisplay::first_time_
protected

Definition at line 121 of file pie_chart_display.h.

◆ left_

int jsk_rviz_plugins::PieChartDisplay::left_
protected

Definition at line 101 of file pie_chart_display.h.

◆ left_property_

rviz::IntProperty* jsk_rviz_plugins::PieChartDisplay::left_property_
protected

Definition at line 80 of file pie_chart_display.h.

◆ max_color_

QColor jsk_rviz_plugins::PieChartDisplay::max_color_
protected

Definition at line 106 of file pie_chart_display.h.

◆ max_color_property_

rviz::ColorProperty* jsk_rviz_plugins::PieChartDisplay::max_color_property_
protected

Definition at line 94 of file pie_chart_display.h.

◆ max_color_threshold_

double jsk_rviz_plugins::PieChartDisplay::max_color_threshold_
protected

Definition at line 117 of file pie_chart_display.h.

◆ max_color_threshold_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::max_color_threshold_property_
protected

Definition at line 96 of file pie_chart_display.h.

◆ max_value_

double jsk_rviz_plugins::PieChartDisplay::max_value_
protected

Definition at line 115 of file pie_chart_display.h.

◆ max_value_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::max_value_property_
protected

Definition at line 90 of file pie_chart_display.h.

◆ med_color_

QColor jsk_rviz_plugins::PieChartDisplay::med_color_
protected

Definition at line 107 of file pie_chart_display.h.

◆ med_color_property_

rviz::ColorProperty* jsk_rviz_plugins::PieChartDisplay::med_color_property_
protected

Definition at line 95 of file pie_chart_display.h.

◆ med_color_threshold_

double jsk_rviz_plugins::PieChartDisplay::med_color_threshold_
protected

Definition at line 118 of file pie_chart_display.h.

◆ med_color_threshold_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::med_color_threshold_property_
protected

Definition at line 97 of file pie_chart_display.h.

◆ min_value_

double jsk_rviz_plugins::PieChartDisplay::min_value_
protected

Definition at line 116 of file pie_chart_display.h.

◆ min_value_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::min_value_property_
protected

Definition at line 91 of file pie_chart_display.h.

◆ mutex_

boost::mutex jsk_rviz_plugins::PieChartDisplay::mutex_
protected

Definition at line 125 of file pie_chart_display.h.

◆ overlay_

OverlayObject::Ptr jsk_rviz_plugins::PieChartDisplay::overlay_
protected

Definition at line 122 of file pie_chart_display.h.

◆ show_caption_

bool jsk_rviz_plugins::PieChartDisplay::show_caption_
protected

Definition at line 109 of file pie_chart_display.h.

◆ show_caption_property_

rviz::BoolProperty* jsk_rviz_plugins::PieChartDisplay::show_caption_property_
protected

Definition at line 92 of file pie_chart_display.h.

◆ size_property_

rviz::IntProperty* jsk_rviz_plugins::PieChartDisplay::size_property_
protected

Definition at line 79 of file pie_chart_display.h.

◆ sub_

ros::Subscriber jsk_rviz_plugins::PieChartDisplay::sub_
protected

Definition at line 100 of file pie_chart_display.h.

◆ text_alpha_property_

rviz::FloatProperty* jsk_rviz_plugins::PieChartDisplay::text_alpha_property_
protected

Definition at line 88 of file pie_chart_display.h.

◆ text_color_property_

rviz::ColorProperty* jsk_rviz_plugins::PieChartDisplay::text_color_property_
protected

Definition at line 84 of file pie_chart_display.h.

◆ text_size_

int jsk_rviz_plugins::PieChartDisplay::text_size_
protected

Definition at line 108 of file pie_chart_display.h.

◆ text_size_property_

rviz::IntProperty* jsk_rviz_plugins::PieChartDisplay::text_size_property_
protected

Definition at line 89 of file pie_chart_display.h.

◆ texture_size_

uint16_t jsk_rviz_plugins::PieChartDisplay::texture_size_
protected

Definition at line 103 of file pie_chart_display.h.

◆ top_

int jsk_rviz_plugins::PieChartDisplay::top_
protected

Definition at line 102 of file pie_chart_display.h.

◆ top_property_

rviz::IntProperty* jsk_rviz_plugins::PieChartDisplay::top_property_
protected

Definition at line 81 of file pie_chart_display.h.

◆ update_required_

bool jsk_rviz_plugins::PieChartDisplay::update_required_
protected

Definition at line 120 of file pie_chart_display.h.

◆ update_topic_property_

rviz::RosTopicProperty* jsk_rviz_plugins::PieChartDisplay::update_topic_property_
protected

Definition at line 78 of file pie_chart_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