GEOM
Computer Graphics Structures library
Filtering.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef GEOM_FILTERING_H
7 #define GEOM_FILTERING_H
8 
9 #include <memory>
10 #include <vector>
11 
12 #include <glm/glm.hpp>
13 
14 #include <GEOM/API.h>
15 
16 namespace geom
17 {
18 
19  class GEOM_API KalmanFilterObject
20  {
21  public:
22 
23  KalmanFilterObject();
24  KalmanFilterObject(int size);
25 
26  ~KalmanFilterObject();
27 
28  void SetSize(int size);
29 
30  std::vector<glm::vec3> ApplyKalmanFilter(const std::vector<glm::vec3> &values);
31  void InitKalmanFilter(glm::vec3 *initVal);
32  glm::vec3 NextKalmanFilter(glm::vec3 *nextVal);
33 
34  private:
35  struct Impl;
36  std::unique_ptr<Impl> m;
37  };
38 
39 }
40 
41 
42 #endif /* !GEOM_FILTERING_H */
Definition: Constructors.h:9