Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
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 <vector>
30#include <memory>
33
34namespace tesseract_collision
35{
37{
38public:
39 using Ptr = std::shared_ptr<ConvexDecomposition>;
40 using ConstPtr = std::shared_ptr<const ConvexDecomposition>;
41
43 virtual ~ConvexDecomposition() = default;
48
56 virtual std::vector<tesseract_geometry::ConvexMesh::Ptr> compute(const tesseract_common::VectorVector3d& vertices,
57 const Eigen::VectorXi& faces) const = 0;
58};
59
60} // namespace tesseract_collision
61
62#endif // TESSERACT_COLLISION_CONVEX_DECOMPOSITION_H
Definition: convex_decomposition.h:37
std::shared_ptr< ConvexDecomposition > Ptr
Definition: convex_decomposition.h:39
virtual std::vector< tesseract_geometry::ConvexMesh::Ptr > compute(const tesseract_common::VectorVector3d &vertices, const Eigen::VectorXi &faces) const =0
Run convex decomposition algorithm.
ConvexDecomposition(ConvexDecomposition &&)=default
ConvexDecomposition(const ConvexDecomposition &)=default
ConvexDecomposition & operator=(const ConvexDecomposition &)=default
std::shared_ptr< const ConvexDecomposition > ConstPtr
Definition: convex_decomposition.h:40
ConvexDecomposition & operator=(ConvexDecomposition &&)=default
Definition: bullet_cast_bvh_manager.h:49
std::vector< Eigen::Vector3d > VectorVector3d
Definition: types.h:64
Common Tesseract Types.
Tesseract Convex Mesh Geometry.
std::shared_ptr< const Eigen::VectorXi > faces
Definition: tesseract_geometry_unit.cpp:16