Tesseract
Motion Planning Environment
|
The Vizualization class. More...
#include <visualization.h>
Public Types | |
using | Ptr = std::shared_ptr< Visualization > |
using | ConstPtr = std::shared_ptr< const Visualization > |
Public Member Functions | |
Visualization ()=default | |
virtual | ~Visualization ()=default |
Visualization (const Visualization &)=default | |
Visualization & | operator= (const Visualization &)=default |
Visualization (Visualization &&)=default | |
Visualization & | operator= (Visualization &&)=default |
virtual bool | isConnected () const =0 |
Some plotters may require connecting to external software. More... | |
virtual void | waitForConnection (long seconds=0) const =0 |
Wait for connection. More... | |
virtual void | plotEnvironment (const tesseract_environment::Environment &env, std::string ns="")=0 |
Plot environment. More... | |
virtual void | plotEnvironmentState (const tesseract_scene_graph::SceneState &state, std::string ns="")=0 |
Plot state of the environment. More... | |
virtual void | plotTrajectory (const tesseract_common::JointTrajectory &traj, const tesseract_scene_graph::StateSolver &state_solver, std::string ns="")=0 |
Plot a JointTrajectory. More... | |
virtual void | plotMarker (const Marker &marker, std::string ns="")=0 |
Plot marker. More... | |
virtual void | plotMarkers (const std::vector< Marker::Ptr > &markers, std::string ns="")=0 |
Plot a vector of markers under a given namespace. More... | |
virtual void | clear (std::string ns="")=0 |
This is called at the start of the plotting for each iteration to clear previous iteration graphics if necessary. More... | |
virtual void | waitForInput (std::string message="Hit enter key to continue!")=0 |
Pause code and wait for enter key in terminal. More... | |
The Vizualization class.
using tesseract_visualization::Visualization::ConstPtr = std::shared_ptr<const Visualization> |
using tesseract_visualization::Visualization::Ptr = std::shared_ptr<Visualization> |
|
default |
|
virtualdefault |
|
default |
|
default |
|
pure virtual |
This is called at the start of the plotting for each iteration to clear previous iteration graphics if necessary.
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Some plotters may require connecting to external software.
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
default |
|
default |
|
pure virtual |
Plot environment.
env | The environment. |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Plot state of the environment.
state | The state of the environment. |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Plot marker.
marker | The marker to plot |
ns | The namespace to plot the object under |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Plot a vector of markers under a given namespace.
markers | The markers to plot |
ns | The namespace to plot the objects under |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Plot a JointTrajectory.
state_solver | The environment |
trajectory | JointTrajectory to be plotted |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Wait for connection.
seconds | The number of seconds to wait before returning, if zero it waits indefinitely |
Implemented in tesseract_visualization::TesseractIgnitionVisualization.
|
pure virtual |
Pause code and wait for enter key in terminal.
Implemented in tesseract_visualization::TesseractIgnitionVisualization.