NDEVR
API Documentation
KeypointMap.h
1#include "Atlas.h"
2#include "MapPoint.h"
3#include "KeyFrame.h"
4#include "Design/Headers/Model.h"
5#include <mutex>
6
7namespace NDEVR
8{
9 class Settings;
16 class KeyPointMap : public Model
17 {
18 public:
19 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
23 KeyPointMap(const Model& model);
28 void drawMapPoints(Buffer<MapPoint*> mTrackedMapPoints, Atlas* mpAtlas);
34 void init();
38 static constexpr StringView TypeName() { return "orb_keypoint_map"; }
39
40 };
41}
Manages a collection of maps for the ORB-SLAM system.
Definition Atlas.h:29
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
void createMapPointGeometry()
Creates geometry for all map points.
void init()
Initializes the keypoint map.
static constexpr StringView TypeName()
Returns the type name for this model.
Definition KeypointMap.h:38
void createActiveMapPointGeometry()
Creates geometry for active (tracked) map points.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW KeyPointMap(const Model &model)
Constructs a KeyPointMap from an existing model.
void drawMapPoints(Buffer< MapPoint * > mTrackedMapPoints, Atlas *mpAtlas)
Draws map points from the Atlas into the design model.
Model()
Default constructor. Creates an uninitialized Model.
Definition Model.h:365
The core String View class for the NDEVR API.
Definition StringView.h:58
The primary namespace for the NDEVR SDK.