TapeMeasure.hh
Go to the documentation of this file.
void Measure()
Starts a new measurement. Erases any previous measurement in progress or already made.
double Distance()
Callback in Qt thread to get the distance to display in the gui window.
void OnMeasure()
Callback in Qt thread when the new measurement button is clicked.
void newDistance()
Signal fired when a new tape measure distance is set.
void Reset()
Resets all of the relevant data for this plugin. Called when the user clicks the reset button and whe...
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Provides buttons for the tape measure tool.
Definition: TapeMeasure.hh:33
void DeleteMarker(int _id)
Deletes the marker with the provided id within the "tape_measure" namespace.
bool eventFilter(QObject *_obj, QEvent *_event) override
void DrawPoint(int _id, ignition::math::Vector3d &_point, ignition::math::Color &_color)
Draws a point marker. Called to display the start and end point of the tape measure.
This library is part of the Ignition Robotics project.
void DrawLine(int _id, ignition::math::Vector3d &_startPoint, ignition::math::Vector3d &_endPoint, ignition::math::Color &_color)
Draws a line marker. Called to display the line between the start and end point of the tape measure...
void OnReset()
Callback in Qt thread when the reset button is clicked.