Go to the documentation of this file.
26 #ifndef TESSERACT_GEOMETRY_COMPOUND_MESH_H
27 #define TESSERACT_GEOMETRY_COMPOUND_MESH_H
31 #include <boost/serialization/export.hpp>
52 using Ptr = std::shared_ptr<CompoundMesh>;
53 using ConstPtr = std::shared_ptr<const CompoundMesh>;
56 CompoundMesh(std::vector<std::shared_ptr<PolygonMesh>> meshes);
57 CompoundMesh(std::vector<std::shared_ptr<ConvexMesh>> meshes);
59 CompoundMesh(std::vector<std::shared_ptr<SDFMesh>> meshes);
65 const std::vector<std::shared_ptr<PolygonMesh>>&
getMeshes()
const;
74 std::shared_ptr<const tesseract_common::Resource>
getResource()
const;
80 const Eigen::Vector3d&
getScale()
const;
90 friend class
boost::serialization::access;
92 template <class Archive>
93 void serialize(Archive& ar, const
unsigned int version);
100 #endif // TESSERACT_GEOMETRY_COMPOUND_MESH_H
const std::vector< std::shared_ptr< PolygonMesh > > & getMeshes() const
Get the meshes.
std::shared_ptr< Geometry > Ptr
std::vector< std::shared_ptr< PolygonMesh > > meshes_
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
void serialize(Archive &ar, const unsigned int version)
Tesseract Polygon Mesh Geometry.
std::shared_ptr< const tesseract_common::Resource > getResource() const
Get the path to file used to generate the meshs.
Geometry::Ptr clone() const override final
Create a copy of this shape.
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
std::shared_ptr< const Geometry > ConstPtr
const Eigen::Vector3d & getScale() const
Get the scale applied to file used to generate the meshs.
This is store meshes that are associated with as single resource.