Go to the documentation of this file.
37 #ifndef TESSERACT_SCENE_GRAPH_LINK_H
38 #define TESSERACT_SCENE_GRAPH_LINK_H
42 #include <boost/serialization/export.hpp>
46 #include <Eigen/Geometry>
62 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
64 using Ptr = std::shared_ptr<Material>;
65 using ConstPtr = std::shared_ptr<const Material>;
76 const std::string&
getName()
const;
93 template <
class Archive>
94 void serialize(Archive& ar,
const unsigned int version);
100 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
102 using Ptr = std::shared_ptr<Inertial>;
113 Eigen::Isometry3d
origin{ Eigen::Isometry3d::Identity() };
130 template <
class Archive>
131 void serialize(Archive& ar,
const unsigned int version);
137 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
139 using Ptr = std::shared_ptr<Visual>;
150 std::shared_ptr<const tesseract_geometry::Geometry>
geometry;
163 template <
class Archive>
164 void serialize(Archive& ar,
const unsigned int version);
170 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
172 using Ptr = std::shared_ptr<Collision>;
183 std::shared_ptr<const tesseract_geometry::Geometry>
geometry;
194 template <
class Archive>
195 void serialize(Archive& ar,
const unsigned int version);
201 using Ptr = std::shared_ptr<Link>;
204 Link(std::string name);
214 const std::string&
getName()
const;
237 Link clone(
const std::string& name)
const;
243 template <
class Archive>
244 void serialize(Archive& ar,
const unsigned int version);
255 #endif // TESSERACT_SCENE_GRAPH_LINK_H
std::shared_ptr< const tesseract_geometry::Geometry > geometry
std::shared_ptr< const Inertial > ConstPtr
std::shared_ptr< Link > Ptr
bool operator!=(const Visual &rhs) const
bool operator!=(const Collision &rhs) const
std::vector< Visual::Ptr > visual
Visual Elements.
std::shared_ptr< const Collision > ConstPtr
Collision & operator=(const Collision &)=default
void serialize(Archive &ar, const unsigned int version)
friend class boost::serialization::access
Inertial & operator=(const Inertial &)=default
Inertial::Ptr inertial
inertial element
std::shared_ptr< const tesseract_geometry::Geometry > geometry
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
const std::string & getName() const
std::vector< Collision::Ptr > collision
Collision Elements.
bool operator!=(const Inertial &rhs) const
friend class boost::serialization::access
std::shared_ptr< const Link > ConstPtr
bool operator!=(const Material &rhs) const
bool operator==(const Visual &rhs) const
friend class boost::serialization::access
std::shared_ptr< const Material > ConstPtr
bool operator==(const Link &rhs) const
Visual & operator=(const Visual &)=default
bool operator==(const Material &rhs) const
void serialize(Archive &ar, const unsigned int version)
std::shared_ptr< Collision > Ptr
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int version)
std::shared_ptr< const Visual > ConstPtr
std::shared_ptr< Inertial > Ptr
static std::shared_ptr< Material > getDefaultMaterial()
Material & operator=(const Material &)=default
const std::string & getName() const
Link clone() const
Clone the link keeping the name.
#define TESSERACT_COMMON_IGNORE_WARNINGS_POP
std::string texture_filename
std::shared_ptr< Visual > Ptr
void serialize(Archive &ar, const unsigned int version)
void serialize(Archive &ar, const unsigned int version)
bool operator==(const Collision &rhs) const
std::shared_ptr< Material > Ptr
friend class boost::serialization::access
Link & operator=(const Link &other)=delete
bool operator!=(const Link &rhs) const
bool operator==(const Inertial &rhs) const