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
 
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 updateBGAlpha ()
 
void updateBGColor ()
 
void updateClockwiseRotate ()
 
void updateFGAlpha ()
 
void updateFGAlpha2 ()
 
void updateFGColor ()
 
void updateLeft ()
 
void updateMaxColor ()
 
void updateMaxValue ()
 
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_value_
 
rviz::FloatPropertymax_value_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)
 
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 53 of file pie_chart_display.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::PieChartDisplay::PieChartDisplay ( )

Definition at line 50 of file pie_chart_display.cpp.

jsk_rviz_plugins::PieChartDisplay::~PieChartDisplay ( )
virtual

Definition at line 121 of file pie_chart_display.cpp.

Member Function Documentation

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

Definition at line 193 of file pie_chart_display.cpp.

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

Definition at line 65 of file pie_chart_display.h.

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

Definition at line 66 of file pie_chart_display.h.

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

Definition at line 402 of file pie_chart_display.cpp.

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

Definition at line 408 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 301 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 294 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 141 of file pie_chart_display.cpp.

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

Definition at line 179 of file pie_chart_display.cpp.

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

Definition at line 414 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::subscribe ( )
protectedvirtual

Definition at line 279 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::unsubscribe ( )
protectedvirtual

Definition at line 289 of file pie_chart_display.cpp.

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

Reimplemented from rviz::Display.

Definition at line 167 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateAutoColorChange ( )
protectedslot

Definition at line 381 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateBGAlpha ( )
protectedslot

Definition at line 344 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateBGColor ( )
protectedslot

Definition at line 323 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateClockwiseRotate ( )
protectedslot

Definition at line 397 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha ( )
protectedslot

Definition at line 333 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha2 ( )
protectedslot

Definition at line 338 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateFGColor ( )
protectedslot

Definition at line 328 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateLeft ( )
protectedslot

Definition at line 318 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateMaxColor ( )
protectedslot

Definition at line 392 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateMaxValue ( )
protectedslot

Definition at line 354 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateMinValue ( )
protectedslot

Definition at line 349 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateShowCaption ( )
protectedslot

Definition at line 369 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateSize ( )
protectedslot

Definition at line 307 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateTextSize ( )
protectedslot

Definition at line 359 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateTop ( )
protectedslot

Definition at line 313 of file pie_chart_display.cpp.

void jsk_rviz_plugins::PieChartDisplay::updateTopic ( )
protectedslot

Definition at line 375 of file pie_chart_display.cpp.

Member Data Documentation

bool jsk_rviz_plugins::PieChartDisplay::auto_color_change_
protected

Definition at line 106 of file pie_chart_display.h.

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

Definition at line 93 of file pie_chart_display.h.

double jsk_rviz_plugins::PieChartDisplay::bg_alpha_
protected

Definition at line 110 of file pie_chart_display.h.

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

Definition at line 87 of file pie_chart_display.h.

QColor jsk_rviz_plugins::PieChartDisplay::bg_color_
protected

Definition at line 102 of file pie_chart_display.h.

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

Definition at line 83 of file pie_chart_display.h.

int jsk_rviz_plugins::PieChartDisplay::caption_offset_
protected

Definition at line 107 of file pie_chart_display.h.

bool jsk_rviz_plugins::PieChartDisplay::clockwise_rotate_
protected

Definition at line 117 of file pie_chart_display.h.

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

Definition at line 95 of file pie_chart_display.h.

float jsk_rviz_plugins::PieChartDisplay::data_
protected

Definition at line 113 of file pie_chart_display.h.

double jsk_rviz_plugins::PieChartDisplay::fg_alpha2_
protected

Definition at line 109 of file pie_chart_display.h.

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

Definition at line 86 of file pie_chart_display.h.

double jsk_rviz_plugins::PieChartDisplay::fg_alpha_
protected

Definition at line 108 of file pie_chart_display.h.

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

Definition at line 85 of file pie_chart_display.h.

QColor jsk_rviz_plugins::PieChartDisplay::fg_color_
protected

Definition at line 101 of file pie_chart_display.h.

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

Definition at line 82 of file pie_chart_display.h.

bool jsk_rviz_plugins::PieChartDisplay::first_time_
protected

Definition at line 115 of file pie_chart_display.h.

int jsk_rviz_plugins::PieChartDisplay::left_
protected

Definition at line 98 of file pie_chart_display.h.

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

Definition at line 80 of file pie_chart_display.h.

QColor jsk_rviz_plugins::PieChartDisplay::max_color_
protected

Definition at line 103 of file pie_chart_display.h.

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

Definition at line 94 of file pie_chart_display.h.

double jsk_rviz_plugins::PieChartDisplay::max_value_
protected

Definition at line 111 of file pie_chart_display.h.

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

Definition at line 90 of file pie_chart_display.h.

double jsk_rviz_plugins::PieChartDisplay::min_value_
protected

Definition at line 112 of file pie_chart_display.h.

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

Definition at line 91 of file pie_chart_display.h.

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

Definition at line 119 of file pie_chart_display.h.

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

Definition at line 116 of file pie_chart_display.h.

bool jsk_rviz_plugins::PieChartDisplay::show_caption_
protected

Definition at line 105 of file pie_chart_display.h.

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

Definition at line 92 of file pie_chart_display.h.

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

Definition at line 79 of file pie_chart_display.h.

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

Definition at line 97 of file pie_chart_display.h.

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

Definition at line 88 of file pie_chart_display.h.

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

Definition at line 84 of file pie_chart_display.h.

int jsk_rviz_plugins::PieChartDisplay::text_size_
protected

Definition at line 104 of file pie_chart_display.h.

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

Definition at line 89 of file pie_chart_display.h.

uint16_t jsk_rviz_plugins::PieChartDisplay::texture_size_
protected

Definition at line 100 of file pie_chart_display.h.

int jsk_rviz_plugins::PieChartDisplay::top_
protected

Definition at line 99 of file pie_chart_display.h.

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

Definition at line 81 of file pie_chart_display.h.

bool jsk_rviz_plugins::PieChartDisplay::update_required_
protected

Definition at line 114 of file pie_chart_display.h.

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