RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
nitfMetadataPublisher.h
Go to the documentation of this file.
1 
5 
6 
7 
8 
9 #pragma once
10 
11 #include <radarFxServer/export.h>
12 
13 #include <vrvVideoStream/DtVideoStreamManager.h>
14 #include <vrvVideoStream/DtMetadataPublisher.h>
15 
16 namespace makVrv
17 {
18  class DtOsgChannel;
19 }
20 
21 namespace makRadarFx
22 {
23 
24 extern const char* DtNtifMetadataPublisherName;
25 
26 class DT_DLL_RFXSERVER DtNifMetadatPublisher : public makVrv::DtMetadataPublisher
27 {
28  public:
30 
31  virtual ~DtNifMetadatPublisher();
32 
33  virtual void tick(double dt);
34 
36 
37 
38 
39  virtual bool haveValidUpperLeftCorner() const;
40  virtual bool haveValidUpperRightCorner() const;
41  virtual bool haveValidLowerRightCorner() const;
42  virtual bool haveValidLowerLeftCorner() const;
44 
46 
47  virtual DtVector upperLeftCorner() const;
48  virtual DtVector upperRightCorner() const;
49  virtual DtVector lowerRightCorner() const;
50  virtual DtVector lowerLeftCorner() const;
52 
53  protected:
54  DtNifMetadatPublisher(makVrv::DtDe& de, const makVrv::DtVideoStream& videoStream);
55  virtual void updateTargetCorners();
56  virtual makVrv::DtOsgChannel* getChannel();
57 
62  DtVector myUpperLeftCorner; // point 1 in standard
63  DtVector myUpperRightCorner; // point 2 in standard
64  DtVector myLowerRightCorner; // point 3 in standard
65  DtVector myLowerLeftCorner; // point 4 in standard
66 
67  makVrv::DtOsgChannel* myChannel;
68 };
69 
70 class DT_DLL_RFXSERVER DtNifMetadatPublisherCreator : public makVrv::DtMetadataPublisherCreator
71 {
72  public:
73  friend class makVrv::DtVideoStreamManager;
74 
76 
78 
79  protected:
80  virtual makVrv::DtMetadataPublisher* create(makVrv::DtDe& de, const makVrv::DtVideoStream& videoStream);
81 };
82 
83 }

Document ID: 1.0
Copyright © 2017 VT MAK Inc. All Rights Reserved (www.mak.com)