OKVIS ROS
|
Unique identifier for a keypoint. More...
#include <FrameTypedefs.hpp>
Public Member Functions | |
KeypointIdentifier (uint64_t fi=0, size_t ci=0, size_t ki=0) | |
Constructor. More... | |
uint64_t | getFrameId () |
Get multiframe ID. More... | |
void | setFrameId (uint64_t fid) |
Set multiframe ID. More... | |
bool | isBinaryEqual (const KeypointIdentifier &rhs) const |
Are two identifiers identical? More... | |
bool | operator== (const KeypointIdentifier &rhs) const |
Equal to operator. More... | |
bool | operator< (const KeypointIdentifier &rhs) const |
Less than operator. Compares first multiframe ID, then camera index, then keypoint index. More... | |
Public Attributes | |
uint64_t | frameId |
Multiframe ID. More... | |
size_t | cameraIndex |
Camera index. More... | |
size_t | keypointIndex |
Index of the keypoint. More... | |
Unique identifier for a keypoint.
A keypoint is identified as the keypoint with index keypointIndex in the frame with index cameraIndex of multiframe with ID frameID.
|
inline |
Constructor.
fi | Multiframe ID. |
ci | Camera index. |
ki | Keypoint index. |
|
inline |
Get multiframe ID.
|
inline |
Are two identifiers identical?
|
inline |
Less than operator. Compares first multiframe ID, then camera index, then keypoint index.
|
inline |
Equal to operator.
|
inline |
Set multiframe ID.
size_t okvis::KeypointIdentifier::cameraIndex |
Camera index.
uint64_t okvis::KeypointIdentifier::frameId |
Multiframe ID.
size_t okvis::KeypointIdentifier::keypointIndex |
Index of the keypoint.