40typedef boost::variant<struct box, struct sphere, struct capsule, boost::blank> geometry_specifics;
44 viam::common::v1::Geometry to_proto()
const;
45 viam::common::v1::RectangularPrism box_proto()
const;
46 viam::common::v1::Sphere sphere_proto()
const;
47 viam::common::v1::Capsule capsule_proto()
const;
48 viam::common::v1::Pose pose_proto()
const;
49 static GeometryConfig from_proto(
const viam::common::v1::Geometry& proto);
50 static std::vector<GeometryConfig> from_proto(
51 const viam::common::v1::GetGeometriesResponse& proto);
55 void set_theta(
double theta);
56 void set_geometry_specifics(geometry_specifics gs);
57 void set_geometry_type(GeometryType type);
59 void set_label(std::string label);
60 double get_theta()
const;
62 pose get_pose()
const;
63 geometry_specifics get_geometry_specifics()
const;
64 GeometryType get_geometry_type()
const;
66 std::string get_label()
const;
71 GeometryType geometry_type_;
73 geometry_specifics geometry_specifics_;