Class PointDrawingPlugin

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Derived Types

Class Documentation

class PointDrawingPlugin : public mapviz::MapvizPlugin

Subclassed by mapviz_plugins::GpsPlugin, mapviz_plugins::NavSatPlugin, mapviz_plugins::OdometryPlugin, mapviz_plugins::PathPlugin, mapviz_plugins::PosePlugin, mapviz_plugins::TfFramePlugin

Public Types

enum DrawStyle

Values:

enumerator LINES
enumerator POINTS
enumerator ARROWS

Public Functions

PointDrawingPlugin()
~PointDrawingPlugin() override = default
void ClearHistory() override
void Transform() override
virtual bool DrawPoints(double scale)
virtual bool DrawArrows()
virtual bool DrawArrow(const StampedPoint &point)
virtual bool DrawLaps()
virtual bool DrawLines()
virtual void CollectLaps()
virtual bool DrawLapsArrows()
virtual bool TransformPoint(StampedPoint &point)
virtual void UpdateColor(QColor base_color, int i)
virtual void DrawCovariance()

Protected Functions

void pushPoint(StampedPoint point)
double bufferSize() const
double positionTolerance() const
const std::deque<StampedPoint> &points() const

Protected Slots

virtual void BufferSizeChanged(int value)
void DrawIcon() override
virtual void SetColor(const QColor &color)
virtual void SetDrawStyle(QString style)
virtual void SetDrawStyle(DrawStyle style)
virtual void SetStaticArrowSizes(bool isChecked)
virtual void SetArrowSize(int arrowSize)
virtual void PositionToleranceChanged(double value)
virtual void LapToggled(bool checked)
virtual void CovariancedToggled(bool checked)
virtual void ShowAllCovariancesToggled(bool checked)
void ResetTransformedPoints()
void ClearPoints()
struct StampedPoint

Public Functions

inline StampedPoint()

Public Members

tf2::Vector3 point
tf2::Quaternion orientation
tf2::Vector3 transformed_point
tf2::Vector3 transformed_arrow_point
tf2::Vector3 transformed_arrow_left
tf2::Vector3 transformed_arrow_right
std::string source_frame
bool transformed
rclcpp::Time stamp
std::vector<tf2::Vector3> cov_points
std::vector<tf2::Vector3> transformed_cov_points