| 4 | |
| 5 | template <typename T> |
| 6 | class SemanticObject |
| 7 | { |
| 8 | public: |
| 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 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected