A contact results marker. More...
#include <contact_results_marker.h>

Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ContactResultsMarker ()=default |
| ContactResultsMarker (std::vector< std::string > link_names, tesseract_collision::ContactResultVector dist_results, std::function< double(const std::string &, const std::string &)> margin_fn) | |
| ContactResultsMarker (std::vector< std::string > link_names, tesseract_collision::ContactResultVector dist_results, tesseract_collision::CollisionMarginData margin_data) | |
| int | getType () const override |
| Get the marker type. More... | |
Public Member Functions inherited from tesseract_visualization::Marker | |
| virtual int | getLayer () const |
| Get the layer of this Marker. More... | |
| virtual std::chrono::steady_clock::duration | getLifetime () const |
| Get the lifetime of this Marker. More... | |
| virtual const std::string & | getParentLink () const |
| Get the parent link name that marker should be attached to. More... | |
| virtual const Eigen::Vector3d & | getScale () const |
| Get the marker scale. More... | |
| Marker ()=default | |
| Marker (const Marker &)=default | |
| Marker (Marker &&)=default | |
| Marker & | operator= (const Marker &)=default |
| Marker & | operator= (Marker &&)=default |
| virtual void | setLayer (int layer) |
| Set the layer of this Marker. More... | |
| virtual void | setLifetime (const std::chrono::steady_clock::duration &lifetime) |
| Set the lifetime of the this marker. More... | |
| virtual void | setParentLink (std::string parent_link) |
| The parent link name the marker should be attached to. More... | |
| virtual void | setScale (const Eigen::Vector3d &scale) |
| Set the marker scale. More... | |
| virtual | ~Marker ()=default |
Public Attributes | |
| tesseract_collision::ContactResultVector | dist_results |
| std::vector< std::string > | link_names |
| tesseract_collision::CollisionMarginData | margin_data |
| std::function< double(const std::string &, const std::string &)> | margin_fn |
Additional Inherited Members | |
Public Types inherited from tesseract_visualization::Marker | |
| using | ConstPtr = std::shared_ptr< const Marker > |
| using | Ptr = std::shared_ptr< Marker > |
Protected Attributes inherited from tesseract_visualization::Marker | |
| int | layer_ { 0 } |
| The layer of the marker. More... | |
| std::chrono::steady_clock::duration | lifetime_ { 0 } |
| The lifetime of this Marker. More... | |
| std::string | parent_link_ |
| The parent link the marker is attched to. If empty relative to world. More... | |
| Eigen::Vector3d | scale_ { Eigen::Vector3d(1, 1, 1) } |
| The marker scale. More... | |
A contact results marker.
If margin_fn is provided it takes priority. This can be removed once trajopt_ifopt is fully tested and trajopt_sco and trajopt packages are removed
Definition at line 19 of file contact_results_marker.h.
|
default |
|
inline |
Definition at line 25 of file contact_results_marker.h.
|
inline |
Definition at line 32 of file contact_results_marker.h.
|
inlineoverridevirtual |
Get the marker type.
Implements tesseract_visualization::Marker.
Definition at line 39 of file contact_results_marker.h.
| tesseract_collision::ContactResultVector tesseract_visualization::ContactResultsMarker::dist_results |
Definition at line 42 of file contact_results_marker.h.
| std::vector<std::string> tesseract_visualization::ContactResultsMarker::link_names |
Definition at line 41 of file contact_results_marker.h.
| tesseract_collision::CollisionMarginData tesseract_visualization::ContactResultsMarker::margin_data |
Definition at line 43 of file contact_results_marker.h.
| std::function<double(const std::string&, const std::string&)> tesseract_visualization::ContactResultsMarker::margin_fn |
Definition at line 44 of file contact_results_marker.h.