MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / SemanticObject

Class SemanticObject

sloam/include/objects/semanticObject.h:6–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5template <typename T>
6class SemanticObject
7{
8public:
9 // pure virtual function
10 virtual Scalar distance(const T &model) const = 0;
11 virtual Scalar distance(const PointT &point) const = 0;
12 virtual void project(const SE3 &tf) = 0;
13 T getModel() const {return model;};
14 VectorType getFeatures() const {return features;};
15 size_t id;
16 bool isValid;
17 VectorType features;
18 T model; // object model
19};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected