convex_decomposition.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_COLLISION_CONVEX_DECOMPOSITION_H
27 #define TESSERACT_COLLISION_CONVEX_DECOMPOSITION_H
28 
29 #include <memory>
31 #include <tesseract_geometry/fwd.h>
32 
33 namespace tesseract_collision
34 {
36 {
37 public:
38  using Ptr = std::shared_ptr<ConvexDecomposition>;
39  using ConstPtr = std::shared_ptr<const ConvexDecomposition>;
40 
41  ConvexDecomposition() = default;
42  virtual ~ConvexDecomposition() = default;
43  ConvexDecomposition(const ConvexDecomposition&) = default;
47 
55  virtual std::vector<std::shared_ptr<tesseract_geometry::ConvexMesh>>
56  compute(const tesseract_common::VectorVector3d& vertices, const Eigen::VectorXi& faces) const = 0;
57 };
58 
59 } // namespace tesseract_collision
60 
61 #endif // TESSERACT_COLLISION_CONVEX_DECOMPOSITION_H
tesseract_collision::ConvexDecomposition::~ConvexDecomposition
virtual ~ConvexDecomposition()=default
tesseract_collision::ConvexDecomposition::ConstPtr
std::shared_ptr< const ConvexDecomposition > ConstPtr
Definition: convex_decomposition.h:39
tesseract_collision::ConvexDecomposition::compute
virtual std::vector< std::shared_ptr< tesseract_geometry::ConvexMesh > > compute(const tesseract_common::VectorVector3d &vertices, const Eigen::VectorXi &faces) const =0
Run convex decomposition algorithm.
tesseract_collision::ConvexDecomposition::Ptr
std::shared_ptr< ConvexDecomposition > Ptr
Definition: convex_decomposition.h:38
tesseract_collision::ConvexDecomposition::operator=
ConvexDecomposition & operator=(const ConvexDecomposition &)=default
tesseract_common::VectorVector3d
std::vector< Eigen::Vector3d > VectorVector3d
tesseract_collision::ConvexDecomposition::ConvexDecomposition
ConvexDecomposition()=default
fwd.h
eigen_types.h
tesseract_collision
Definition: bullet_cast_bvh_manager.h:48
tesseract_collision::ConvexDecomposition
Definition: convex_decomposition.h:35


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:52