Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
jsk_rviz_plugins::OverlayDiagnosticDisplay Class Reference

#include <overlay_diagnostic_display.h>

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

List of all members.

Public Types

enum  State { OK_STATE, ERROR_STATE, WARN_STATE, STALL_STATE }

Public Member Functions

virtual int getX ()
virtual int getY ()
virtual bool isInRegion (int x, int y)
virtual void movePosition (int x, int y)
 OverlayDiagnosticDisplay ()
virtual void setPosition (int x, int y)
virtual ~OverlayDiagnosticDisplay ()

Protected Slots

virtual void updateAlpha ()
virtual void updateDiagnosticsNamespace ()
virtual void updateLeft ()
virtual void updateRosTopic ()
virtual void updateSize ()
virtual void updateStallDuration ()
virtual void updateTop ()
virtual void updateType ()

Protected Member Functions

virtual double animationRate ()
virtual QColor blendColor (QColor a, QColor b, double a_rate)
virtual double drawAnimatingText (QPainter &painter, QColor fg_color, const double height, const double font_size, const std::string text)
virtual void drawEVA (QImage &Hud)
virtual void drawEVAConnectedRectangle (QPainter &painter, QColor color, QColor small_color, int width)
virtual void drawEVANonConnectedRectangle (QPainter &painter, QColor color, QColor small_color, int width, double gap)
virtual void drawSAC (QImage &Hud)
virtual void drawText (QPainter &painter, QColor fg_color, const std::string &text)
virtual void fillNamespaceList ()
virtual QColor foregroundColor ()
virtual State getLatestState ()
virtual bool isAnimating ()
virtual bool isStalled ()
virtual void onDisable ()
virtual void onEnable ()
virtual void onInitialize ()
virtual void processMessage (const diagnostic_msgs::DiagnosticArray::ConstPtr &msg)
virtual void redraw ()
virtual std::string statusText ()
virtual void subscribe ()
virtual QColor textColor ()
virtual double textHeight (QPainter &painter, double font_size)
virtual double textWidth (QPainter &painter, double font_size, const std::string &text)
virtual void unsubscribe ()
virtual void update (float wall_dt, float ros_dt)

Protected Attributes

double alpha_
rviz::FloatPropertyalpha_property_
ros::WallTime animation_start_time_
std::string diagnostics_namespace_
rviz::EditableEnumPropertydiagnostics_namespace_property_
bool is_animating_
ros::WallTime latest_message_time_
std::shared_ptr
< diagnostic_msgs::DiagnosticStatus > 
latest_status_
int left_
rviz::IntPropertyleft_property_
boost::mutex mutex_
std::set< std::string > namespaces_
OverlayObject::Ptr overlay_
State previous_state_
rviz::RosTopicPropertyros_topic_property_
int size_
rviz::IntPropertysize_property_
double stall_duration_
rviz::FloatPropertystall_duration_property_
ros::Subscriber sub_
double t_
int top_
rviz::IntPropertytop_property_
int type_
rviz::EnumPropertytype_property_

Detailed Description

Definition at line 60 of file overlay_diagnostic_display.h.


Member Enumeration Documentation

Enumerator:
OK_STATE 
ERROR_STATE 
WARN_STATE 
STALL_STATE 

Definition at line 65 of file overlay_diagnostic_display.h.


Constructor & Destructor Documentation

Definition at line 53 of file overlay_diagnostic_display.cpp.

Definition at line 96 of file overlay_diagnostic_display.cpp.


Member Function Documentation

Definition at line 202 of file overlay_diagnostic_display.cpp.

QColor jsk_rviz_plugins::OverlayDiagnosticDisplay::blendColor ( QColor  a,
QColor  b,
double  a_rate 
) [protected, virtual]

Definition at line 371 of file overlay_diagnostic_display.cpp.

double jsk_rviz_plugins::OverlayDiagnosticDisplay::drawAnimatingText ( QPainter &  painter,
QColor  fg_color,
const double  height,
const double  font_size,
const std::string  text 
) [protected, virtual]

Definition at line 413 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawEVA ( QImage &  Hud) [protected, virtual]

Definition at line 561 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawEVAConnectedRectangle ( QPainter &  painter,
QColor  color,
QColor  small_color,
int  width 
) [protected, virtual]

Definition at line 497 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawEVANonConnectedRectangle ( QPainter &  painter,
QColor  color,
QColor  small_color,
int  width,
double  gap 
) [protected, virtual]

Definition at line 523 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawSAC ( QImage &  Hud) [protected, virtual]

Definition at line 472 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::drawText ( QPainter &  painter,
QColor  fg_color,
const std::string &  text 
) [protected, virtual]

Definition at line 445 of file overlay_diagnostic_display.cpp.

Definition at line 634 of file overlay_diagnostic_display.cpp.

Definition at line 325 of file overlay_diagnostic_display.cpp.

Definition at line 297 of file overlay_diagnostic_display.cpp.

virtual int jsk_rviz_plugins::OverlayDiagnosticDisplay::getX ( ) [inline, virtual]

Definition at line 72 of file overlay_diagnostic_display.h.

virtual int jsk_rviz_plugins::OverlayDiagnosticDisplay::getY ( ) [inline, virtual]

Definition at line 73 of file overlay_diagnostic_display.h.

Definition at line 197 of file overlay_diagnostic_display.cpp.

bool jsk_rviz_plugins::OverlayDiagnosticDisplay::isInRegion ( int  x,
int  y 
) [virtual]

Definition at line 684 of file overlay_diagnostic_display.cpp.

Definition at line 253 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::movePosition ( int  x,
int  y 
) [virtual]

Definition at line 690 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 216 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 207 of file overlay_diagnostic_display.cpp.

Reimplemented from rviz::Display.

Definition at line 225 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::processMessage ( const diagnostic_msgs::DiagnosticArray::ConstPtr &  msg) [protected, virtual]

Definition at line 112 of file overlay_diagnostic_display.cpp.

Definition at line 621 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::setPosition ( int  x,
int  y 
) [virtual]

Definition at line 696 of file overlay_diagnostic_display.cpp.

std::string jsk_rviz_plugins::OverlayDiagnosticDisplay::statusText ( ) [protected, virtual]

Definition at line 270 of file overlay_diagnostic_display.cpp.

Definition at line 244 of file overlay_diagnostic_display.cpp.

Definition at line 347 of file overlay_diagnostic_display.cpp.

double jsk_rviz_plugins::OverlayDiagnosticDisplay::textHeight ( QPainter &  painter,
double  font_size 
) [protected, virtual]

Definition at line 396 of file overlay_diagnostic_display.cpp.

double jsk_rviz_plugins::OverlayDiagnosticDisplay::textWidth ( QPainter &  painter,
double  font_size,
const std::string &  text 
) [protected, virtual]

Definition at line 379 of file overlay_diagnostic_display.cpp.

Definition at line 239 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::update ( float  wall_dt,
float  ros_dt 
) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 159 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateAlpha ( ) [protected, virtual, slot]

Definition at line 664 of file overlay_diagnostic_display.cpp.

Definition at line 653 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateLeft ( ) [protected, virtual, slot]

Definition at line 674 of file overlay_diagnostic_display.cpp.

Definition at line 646 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateSize ( ) [protected, virtual, slot]

Definition at line 659 of file overlay_diagnostic_display.cpp.

Definition at line 679 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateTop ( ) [protected, virtual, slot]

Definition at line 669 of file overlay_diagnostic_display.cpp.

void jsk_rviz_plugins::OverlayDiagnosticDisplay::updateType ( ) [protected, virtual, slot]

Definition at line 702 of file overlay_diagnostic_display.cpp.


Member Data Documentation

Definition at line 126 of file overlay_diagnostic_display.h.

Definition at line 136 of file overlay_diagnostic_display.h.

Definition at line 121 of file overlay_diagnostic_display.h.

Definition at line 123 of file overlay_diagnostic_display.h.

Definition at line 132 of file overlay_diagnostic_display.h.

Definition at line 130 of file overlay_diagnostic_display.h.

Definition at line 120 of file overlay_diagnostic_display.h.

std::shared_ptr<diagnostic_msgs::DiagnosticStatus> jsk_rviz_plugins::OverlayDiagnosticDisplay::latest_status_ [protected]

Definition at line 118 of file overlay_diagnostic_display.h.

Definition at line 127 of file overlay_diagnostic_display.h.

Definition at line 135 of file overlay_diagnostic_display.h.

Definition at line 115 of file overlay_diagnostic_display.h.

Definition at line 125 of file overlay_diagnostic_display.h.

Definition at line 116 of file overlay_diagnostic_display.h.

Definition at line 119 of file overlay_diagnostic_display.h.

Definition at line 131 of file overlay_diagnostic_display.h.

Definition at line 122 of file overlay_diagnostic_display.h.

Definition at line 137 of file overlay_diagnostic_display.h.

Definition at line 129 of file overlay_diagnostic_display.h.

Definition at line 138 of file overlay_diagnostic_display.h.

Definition at line 140 of file overlay_diagnostic_display.h.

Definition at line 128 of file overlay_diagnostic_display.h.

Definition at line 127 of file overlay_diagnostic_display.h.

Definition at line 134 of file overlay_diagnostic_display.h.

Definition at line 124 of file overlay_diagnostic_display.h.

Definition at line 133 of file overlay_diagnostic_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 Wed May 1 2019 02:40:22