![]() |
Tesseract 0.28.4
|
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 (const Visualization &)=default | |
| Visualization (Visualization &&)=default | |
| Visualization & | operator= (const Visualization &)=default |
| Visualization & | operator= (Visualization &&)=default |
| virtual bool | isConnected () const=0 |
| Some plotters may require connecting to external software. | |
| virtual void | waitForConnection (long seconds=0) const=0 |
| Wait for connection. | |
| virtual void | plotEnvironment (const tesseract::environment::Environment &env, std::string ns="")=0 |
| Plot environment. | |
| virtual void | plotEnvironmentState (const tesseract::scene_graph::SceneState &state, std::string ns="")=0 |
| Plot state of the environment. | |
| virtual void | plotTrajectory (const tesseract::common::JointTrajectory &traj, const tesseract::scene_graph::StateSolver &state_solver, std::string ns="")=0 |
| Plot a JointTrajectory. | |
| virtual void | plotMarker (const Marker &marker, std::string ns="")=0 |
| Plot marker. | |
| virtual void | plotMarkers (const std::vector< std::shared_ptr< Marker > > &markers, std::string ns="")=0 |
| Plot a vector of markers under a given namespace. | |
| 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. | |
| virtual void | waitForInput (std::string message="Hit enter key to continue!")=0 |
| Pause code and wait for enter key in terminal. | |
The Vizualization class.
|
pure virtual |
Some plotters may require connecting to external software.
|
pure virtual |
Wait for connection.
| seconds | The number of seconds to wait before returning, if zero it waits indefinitely |
|
pure virtual |
Plot environment.
| env | The environment. |
|
pure virtual |
Plot state of the environment.
| state | The state of the environment. |
|
pure virtual |
Plot a JointTrajectory.
| state_solver | The environment |
| trajectory | JointTrajectory to be plotted |
|
pure virtual |
Plot marker.
| marker | The marker to plot |
| ns | The namespace to plot the object under |
|
pure virtual |
Plot a vector of markers under a given namespace.
| markers | The markers to plot |
| ns | The namespace to plot the objects under |