26#ifndef TESSERACT_VISUALIZATION_VISUALIZATION_H
27#define TESSERACT_VISUALIZATION_VISUALIZATION_H
32#include <Eigen/Geometry>
43#define TESSERACT_ADD_VISUALIZATION_PLUGIN(DERIVED_CLASS, ALIAS) \
44 TESSERACT_ADD_PLUGIN_SECTIONED(DERIVED_CLASS, ALIAS, Plotter)
53 using Ptr = std::shared_ptr<Visualization>;
54 using ConstPtr = std::shared_ptr<const Visualization>;
94 std::string ns =
"") = 0;
108 virtual void plotMarkers(
const std::vector<Marker::Ptr>& markers, std::string ns =
"") = 0;
114 virtual void clear(std::string ns =
"") = 0;
117 virtual void waitForInput(std::string message =
"Hit enter key to continue!") = 0;
Represents a joint trajectory.
Definition: joint_state.h:78
Definition: environment.h:65
Definition: state_solver.h:46
The Vizualization class.
Definition: visualization.h:51
virtual void plotTrajectory(const tesseract_common::JointTrajectory &traj, const tesseract_scene_graph::StateSolver &state_solver, std::string ns="")=0
Plot a JointTrajectory.
Visualization & operator=(const Visualization &)=default
Visualization(Visualization &&)=default
std::shared_ptr< Visualization > Ptr
Definition: visualization.h:53
std::shared_ptr< const Visualization > ConstPtr
Definition: visualization.h:54
virtual void clear(std::string ns="")=0
This is called at the start of the plotting for each iteration to clear previous iteration graphics i...
virtual void plotMarker(const Marker &marker, std::string ns="")=0
Plot marker.
virtual void plotMarkers(const std::vector< Marker::Ptr > &markers, std::string ns="")=0
Plot a vector of markers under a given namespace.
virtual bool isConnected() const =0
Some plotters may require connecting to external software.
virtual void plotEnvironment(const tesseract_environment::Environment &env, std::string ns="")=0
Plot environment.
virtual void waitForInput(std::string message="Hit enter key to continue!")=0
Pause code and wait for enter key in terminal.
Visualization & operator=(Visualization &&)=default
virtual void waitForConnection(long seconds=0) const =0
Wait for connection.
virtual ~Visualization()=default
virtual void plotEnvironmentState(const tesseract_scene_graph::SceneState &state, std::string ns="")=0
Plot state of the environment.
Visualization(const Visualization &)=default
A basic scene graph using boost.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: conversions.h:39
This holds a state of the scene.
Definition: scene_state.h:54
Tesseracts Collision Common Types.
auto env
Definition: tesseract_environment_cache_unit.cpp:67