30#ifndef TESSERACT_SCENE_GRAPH_SCENE_STATE_H
31#define TESSERACT_SCENE_GRAPH_SCENE_STATE_H
35#include <boost/serialization/access.hpp>
37#include <unordered_map>
56 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
59 using Ptr = std::shared_ptr<SceneState>;
60 using ConstPtr = std::shared_ptr<const SceneState>;
61 using UPtr = std::unique_ptr<SceneState>;
62 using ConstUPtr = std::unique_ptr<const SceneState>;
65 std::unordered_map<std::string, double>
joints;
80 template <
class Archive>
81 void serialize(Archive& ar,
const unsigned int version);
85#include <boost/serialization/export.hpp>
86#include <boost/serialization/tracking.hpp>
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
AlignedMap< std::string, Eigen::Isometry3d > TransformMap
Definition: types.h:66
This holds a state of the scene.
Definition: scene_state.h:54
std::unique_ptr< const SceneState > ConstUPtr
Definition: scene_state.h:62
void serialize(Archive &ar, const unsigned int version)
Definition: scene_state.cpp:73
tesseract_common::TransformMap link_transforms
The link transforms in world coordinate system.
Definition: scene_state.h:68
Eigen::VectorXd getJointValues(const std::vector< std::string > &joint_names) const
Definition: scene_state.cpp:46
std::shared_ptr< const SceneState > ConstPtr
Definition: scene_state.h:60
bool operator==(const SceneState &rhs) const
Definition: scene_state.cpp:56
friend class boost::serialization::access
Definition: scene_state.h:79
std::unordered_map< std::string, double > joints
The joint values used for calculating the joint and link transforms.
Definition: scene_state.h:65
bool operator!=(const SceneState &rhs) const
Definition: scene_state.cpp:70
tesseract_common::TransformMap joint_transforms
The joint transforms in world coordinate system.
Definition: scene_state.h:71
std::shared_ptr< SceneState > Ptr
Definition: scene_state.h:59
std::unique_ptr< SceneState > UPtr
Definition: scene_state.h:61
joint_state joint_names
Definition: tesseract_common_serialization_unit.cpp:75