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, bool default_value, const QString &description, P *parent, Func &&changed_slot)
 
 BoolProperty (const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
 
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=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 ()
 
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (const QObject *context, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
QMetaObject::Connection connect (const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection)
 
std::enable_if< QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (const R *receiver, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type connect (Func &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
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 () const
 
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, const QVariant &default_value, const QString &description, P *parent, Func &&changed_slot)
 
 Property (const QString &name, const QVariant &default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
 
 Property (const QString &name=QString(), const QVariant &default_value=QVariant(), const QString &description=QString(), Property *parent=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 85 of file pie_chart_display.h.

Constructor & Destructor Documentation

◆ PieChartDisplay()

jsk_rviz_plugins::PieChartDisplay::PieChartDisplay ( )

Definition at line 82 of file pie_chart_display.cpp.

◆ ~PieChartDisplay()

jsk_rviz_plugins::PieChartDisplay::~PieChartDisplay ( )
virtual

Definition at line 169 of file pie_chart_display.cpp.

Member Function Documentation

◆ drawPlot()

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

Definition at line 246 of file pie_chart_display.cpp.

◆ getX()

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

Definition at line 129 of file pie_chart_display.h.

◆ getY()

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

Definition at line 130 of file pie_chart_display.h.

◆ isInRegion()

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

Definition at line 520 of file pie_chart_display.cpp.

◆ movePosition()

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

Definition at line 526 of file pie_chart_display.cpp.

◆ onDisable()

void jsk_rviz_plugins::PieChartDisplay::onDisable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 368 of file pie_chart_display.cpp.

◆ onEnable()

void jsk_rviz_plugins::PieChartDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 361 of file pie_chart_display.cpp.

◆ onInitialize()

void jsk_rviz_plugins::PieChartDisplay::onInitialize ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 191 of file pie_chart_display.cpp.

◆ processMessage()

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

Definition at line 232 of file pie_chart_display.cpp.

◆ setPosition()

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

Definition at line 532 of file pie_chart_display.cpp.

◆ subscribe()

void jsk_rviz_plugins::PieChartDisplay::subscribe ( )
protectedvirtual

Definition at line 346 of file pie_chart_display.cpp.

◆ unsubscribe()

void jsk_rviz_plugins::PieChartDisplay::unsubscribe ( )
protectedvirtual

Definition at line 356 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 220 of file pie_chart_display.cpp.

◆ updateAutoColorChange

void jsk_rviz_plugins::PieChartDisplay::updateAutoColorChange ( )
protectedslot

Definition at line 468 of file pie_chart_display.cpp.

◆ updateBGAlpha

void jsk_rviz_plugins::PieChartDisplay::updateBGAlpha ( )
protectedslot

Definition at line 422 of file pie_chart_display.cpp.

◆ updateBGColor

void jsk_rviz_plugins::PieChartDisplay::updateBGColor ( )
protectedslot

Definition at line 393 of file pie_chart_display.cpp.

◆ updateClockwiseRotate

void jsk_rviz_plugins::PieChartDisplay::updateClockwiseRotate ( )
protectedslot

Definition at line 513 of file pie_chart_display.cpp.

◆ updateFGAlpha

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha ( )
protectedslot

Definition at line 407 of file pie_chart_display.cpp.

◆ updateFGAlpha2

void jsk_rviz_plugins::PieChartDisplay::updateFGAlpha2 ( )
protectedslot

Definition at line 414 of file pie_chart_display.cpp.

◆ updateFGColor

void jsk_rviz_plugins::PieChartDisplay::updateFGColor ( )
protectedslot

Definition at line 400 of file pie_chart_display.cpp.

◆ updateLeft

void jsk_rviz_plugins::PieChartDisplay::updateLeft ( )
protectedslot

Definition at line 387 of file pie_chart_display.cpp.

◆ updateMaxColor

void jsk_rviz_plugins::PieChartDisplay::updateMaxColor ( )
protectedslot

Definition at line 487 of file pie_chart_display.cpp.

◆ updateMaxColorThreshold

void jsk_rviz_plugins::PieChartDisplay::updateMaxColorThreshold ( )
protectedslot

Definition at line 501 of file pie_chart_display.cpp.

◆ updateMaxValue

void jsk_rviz_plugins::PieChartDisplay::updateMaxValue ( )
protectedslot

Definition at line 436 of file pie_chart_display.cpp.

◆ updateMedColor

void jsk_rviz_plugins::PieChartDisplay::updateMedColor ( )
protectedslot

Definition at line 494 of file pie_chart_display.cpp.

◆ updateMedColorThreshold

void jsk_rviz_plugins::PieChartDisplay::updateMedColorThreshold ( )
protectedslot

Definition at line 507 of file pie_chart_display.cpp.

◆ updateMinValue

void jsk_rviz_plugins::PieChartDisplay::updateMinValue ( )
protectedslot

Definition at line 429 of file pie_chart_display.cpp.

◆ updateShowCaption

void jsk_rviz_plugins::PieChartDisplay::updateShowCaption ( )
protectedslot

Definition at line 454 of file pie_chart_display.cpp.

◆ updateSize

void jsk_rviz_plugins::PieChartDisplay::updateSize ( )
protectedslot

Definition at line 374 of file pie_chart_display.cpp.

◆ updateTextSize

void jsk_rviz_plugins::PieChartDisplay::updateTextSize ( )
protectedslot

Definition at line 443 of file pie_chart_display.cpp.

◆ updateTop

void jsk_rviz_plugins::PieChartDisplay::updateTop ( )
protectedslot

Definition at line 381 of file pie_chart_display.cpp.

◆ updateTopic

void jsk_rviz_plugins::PieChartDisplay::updateTopic ( )
protectedslot

Definition at line 462 of file pie_chart_display.cpp.

Member Data Documentation

◆ auto_color_change_

bool jsk_rviz_plugins::PieChartDisplay::auto_color_change_
protected

Definition at line 174 of file pie_chart_display.h.

◆ auto_color_change_property_

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

Definition at line 157 of file pie_chart_display.h.

◆ bg_alpha_

double jsk_rviz_plugins::PieChartDisplay::bg_alpha_
protected

Definition at line 178 of file pie_chart_display.h.

◆ bg_alpha_property_

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

Definition at line 151 of file pie_chart_display.h.

◆ bg_color_

QColor jsk_rviz_plugins::PieChartDisplay::bg_color_
protected

Definition at line 169 of file pie_chart_display.h.

◆ bg_color_property_

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

Definition at line 147 of file pie_chart_display.h.

◆ caption_offset_

int jsk_rviz_plugins::PieChartDisplay::caption_offset_
protected

Definition at line 175 of file pie_chart_display.h.

◆ clockwise_rotate_

bool jsk_rviz_plugins::PieChartDisplay::clockwise_rotate_
protected

Definition at line 187 of file pie_chart_display.h.

◆ clockwise_rotate_property_

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

Definition at line 162 of file pie_chart_display.h.

◆ data_

float jsk_rviz_plugins::PieChartDisplay::data_
protected

Definition at line 183 of file pie_chart_display.h.

◆ fg_alpha2_

double jsk_rviz_plugins::PieChartDisplay::fg_alpha2_
protected

Definition at line 177 of file pie_chart_display.h.

◆ fg_alpha2_property_

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

Definition at line 150 of file pie_chart_display.h.

◆ fg_alpha_

double jsk_rviz_plugins::PieChartDisplay::fg_alpha_
protected

Definition at line 176 of file pie_chart_display.h.

◆ fg_alpha_property_

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

Definition at line 149 of file pie_chart_display.h.

◆ fg_color_

QColor jsk_rviz_plugins::PieChartDisplay::fg_color_
protected

Definition at line 168 of file pie_chart_display.h.

◆ fg_color_property_

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

Definition at line 146 of file pie_chart_display.h.

◆ first_time_

bool jsk_rviz_plugins::PieChartDisplay::first_time_
protected

Definition at line 185 of file pie_chart_display.h.

◆ left_

int jsk_rviz_plugins::PieChartDisplay::left_
protected

Definition at line 165 of file pie_chart_display.h.

◆ left_property_

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

Definition at line 144 of file pie_chart_display.h.

◆ max_color_

QColor jsk_rviz_plugins::PieChartDisplay::max_color_
protected

Definition at line 170 of file pie_chart_display.h.

◆ max_color_property_

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

Definition at line 158 of file pie_chart_display.h.

◆ max_color_threshold_

double jsk_rviz_plugins::PieChartDisplay::max_color_threshold_
protected

Definition at line 181 of file pie_chart_display.h.

◆ max_color_threshold_property_

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

Definition at line 160 of file pie_chart_display.h.

◆ max_value_

double jsk_rviz_plugins::PieChartDisplay::max_value_
protected

Definition at line 179 of file pie_chart_display.h.

◆ max_value_property_

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

Definition at line 154 of file pie_chart_display.h.

◆ med_color_

QColor jsk_rviz_plugins::PieChartDisplay::med_color_
protected

Definition at line 171 of file pie_chart_display.h.

◆ med_color_property_

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

Definition at line 159 of file pie_chart_display.h.

◆ med_color_threshold_

double jsk_rviz_plugins::PieChartDisplay::med_color_threshold_
protected

Definition at line 182 of file pie_chart_display.h.

◆ med_color_threshold_property_

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

Definition at line 161 of file pie_chart_display.h.

◆ min_value_

double jsk_rviz_plugins::PieChartDisplay::min_value_
protected

Definition at line 180 of file pie_chart_display.h.

◆ min_value_property_

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

Definition at line 155 of file pie_chart_display.h.

◆ mutex_

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

Definition at line 189 of file pie_chart_display.h.

◆ overlay_

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

Definition at line 186 of file pie_chart_display.h.

◆ show_caption_

bool jsk_rviz_plugins::PieChartDisplay::show_caption_
protected

Definition at line 173 of file pie_chart_display.h.

◆ show_caption_property_

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

Definition at line 156 of file pie_chart_display.h.

◆ size_property_

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

Definition at line 143 of file pie_chart_display.h.

◆ sub_

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

Definition at line 164 of file pie_chart_display.h.

◆ text_alpha_property_

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

Definition at line 152 of file pie_chart_display.h.

◆ text_color_property_

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

Definition at line 148 of file pie_chart_display.h.

◆ text_size_

int jsk_rviz_plugins::PieChartDisplay::text_size_
protected

Definition at line 172 of file pie_chart_display.h.

◆ text_size_property_

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

Definition at line 153 of file pie_chart_display.h.

◆ texture_size_

uint16_t jsk_rviz_plugins::PieChartDisplay::texture_size_
protected

Definition at line 167 of file pie_chart_display.h.

◆ top_

int jsk_rviz_plugins::PieChartDisplay::top_
protected

Definition at line 166 of file pie_chart_display.h.

◆ top_property_

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

Definition at line 145 of file pie_chart_display.h.

◆ update_required_

bool jsk_rviz_plugins::PieChartDisplay::update_required_
protected

Definition at line 184 of file pie_chart_display.h.

◆ update_topic_property_

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

Definition at line 142 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 Fri Dec 13 2024 03:49:57