API Documentation
Loading...
Searching...
No Matches
SLAMEngine.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Buffer.h>
4#include <NDEVR/UUID.h>
5#include <NDEVR/RGBColor.h>
6#include <NDEVR/Vertex.h>
7#include <NDEVR/Matrix.h>
8#include <NDEVR/Dictionary.h>
9namespace NDEVR
10{
24 {
25 public:
26 virtual void addFrame(const SLAMFrame& frame) = 0;
27 virtual void setTransform(Matrix<fltp08>& transform) = 0;
28 virtual Matrix<fltp08> getTransform() const = 0;
29 virtual void reset() = 0;
30 };
32 {
33 public:
35 virtual UUID id() const = 0;
36 };
38 {
39 public:
40 static void RegisterEngine(SLAMEngineFactory* engine, bool make_default);
41 static SLAMEngineFactory* DefaultEngineFactory();
42 static SLAMEngine* CreateDefaultSLAMEngine();
44 private:
46 static UUID s_default_engine;
47 };
48
49}
#define NDEVR_DESIGN_API
Definition DLLInfo.h:77
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Dictionary.h:48
Definition Matrix.hpp:173
Definition SLAMEngine.h:32
virtual UUID id() const =0
virtual SLAMEngine * createSLAMEngine()=0
Definition SLAMEngine.h:24
virtual void reset()=0
virtual Matrix< fltp08 > getTransform() const =0
virtual void addFrame(const SLAMFrame &frame)=0
virtual void setTransform(Matrix< fltp08 > &transform)=0
Definition SLAMEngine.h:38
Definition SLAMEngine.h:12
fltp08 max_transform_error
Definition SLAMEngine.h:20
fltp08 time
Definition SLAMEngine.h:18
Matrix< fltp08 > estimated_transform
Definition SLAMEngine.h:14
bool request_filter
Definition SLAMEngine.h:21
Buffer< RGBColor > colors
Definition SLAMEngine.h:16
Buffer< Vertex< 3, fltp04 > > points
Definition SLAMEngine.h:15
fltp08 max_distance_error
Definition SLAMEngine.h:19
Buffer< Ray< 3, fltp04 > > normals
Definition SLAMEngine.h:17
Definition UUID.h:66
Definition ACIColor.h:37
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition BaseValues.hpp:272