Template Struct KeypointsListT
Defined in File KeypointsListT.hpp
Struct Documentation
-
template<class KeypointT>
struct KeypointsListT Public Types
Public Functions
-
KeypointsListT() = default
-
~KeypointsListT() = default
-
inline const_iterator begin() const noexcept
-
inline const_iterator end() const noexcept
-
inline const_iterator cbegin() const noexcept
-
inline const_iterator cend() const noexcept
-
inline bool empty() const noexcept
-
inline size_t size() const noexcept
-
inline value_type &operator[](size_t i)
-
inline const value_type &operator[](size_t i) const
-
inline void setKeypoints(const std::vector<KeypointT> kps)
Sets the keypoints list.
Note
This will clear any existing keypoints and edges.
- Parameters:
keypoints – list of Keypoint objects to set.
-
inline void setKeypoints(std::vector<KeypointT> keypoints, std::vector<Edge> edges)
Sets the keypoints list.
Note
This will clear any existing keypoints and edges.
- Parameters:
keypoints – list of Keypoint objects and edges to set.
-
inline void setEdges(std::vector<Edge> edges)
Set the indices of the edges.
- Parameters:
edges – Vector of edge indices.
-
inline std::vector<KeypointT> getKeypoints() const
Get keypoints.
- Returns:
Vector of Keypoint objects.
-
inline std::vector<Edge> getEdges() const
Get the indices of the edges.
- Returns:
Vector of edge indices.
-
KeypointsListT() = default