visageSDK
SystemModel.h
1 //
3 // (c) Visage Technologies AB 2002 - 2023 All rights reserved.
4 //
5 // This file is part of visage|SDK(tm).
6 // Unauthorized copying of this file, via any medium is strictly prohibited.
7 //
8 // No warranty, explicit or implicit, provided.
9 //
10 // This is proprietary software. No part of this software may be used or
11 // reproduced in any form or by any means otherwise than in accordance with
12 // any written license granted by Visage Technologies AB.
13 //
15 
16 #pragma once
17 
18 #include "vs_main.h"
19 #include <stdio.h>
20 
21 namespace VisageSDK
22 {
23 
24 class SystemModel
25 {
26 public:
27 
28  virtual bool IsCreated()=0;
29 
30  // process
31  virtual unsigned int GetNumberOfStates()=0;
32 
33  virtual bool PredictState(VsMat* x_pred, VsMat* x)=0;
34  virtual bool ProcessJacobian(VsMat* F)=0;
35  virtual bool ProcessNoise(VsMat* Q)=0;
36  virtual bool ProcessNoiseInv(VsMat* Qinv)=0;
37 
38  // observation
39  virtual unsigned int GetNumberOfObservations()=0;
40 
41  virtual bool Observe(VsMat* y, VsMat* x)=0;
42  virtual bool ObservationJacobianAndObserve(VsMat* H, VsMat* y, VsMat* x)=0;
43  virtual bool ObservationNoise(VsMat* R)=0;
44  virtual bool ObservationNoiseInv(VsMat* Rinv)=0;
45 };
46 
47 }
Namespace.
Definition: win_header.h:1