VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfSensorFieldOfView.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vlutil/vlList.h>
15 #include <vlpi/disEnums.h>
16 #include <vl/globalObjectDesignator.h>
17 #include <matrix/vlVector.h>
19 
20 class DtVrfObject;
23 
31 {
32 private:
36  DtVrfSensorFieldOfView& operator=(const DtVrfSensorFieldOfView& orig);
39 
40 public:
41  DtVrfSensorFieldOfView(DtVrfObject* hostEntity, const DtString& id);
42  virtual ~DtVrfSensorFieldOfView();
43 
45  virtual void tick();
46 
48  bool init();
49 
51  DtString id() const;
52 
54 
55  DtVector relativeLocation() const;
56  void setRelativeLocation(const DtVector& loc);
58 
61 
62  DtTaitBryan relativeOrientation() const;
63  void setRelativeOrientation(const DtTaitBryan& ori);
65 
67 
68  virtual void setTargetedEntity(const DtGlobalObjectDesignator& target);
69  virtual const DtGlobalObjectDesignator& targetedEntity() const;
71 
73 
74  virtual void setTargetedLocation(const DtVector& target);
75  virtual const DtVector& targetedLocation() const;
77 
79 
80  virtual void setTrackingMode(DtSensorTrackingMode mode);
81  virtual DtSensorTrackingMode trackingMode() const;
83 
85 
86  DtFloat64 radius() const;
87  void setRadius(DtFloat64 rad);
89 
91 
92  DtFloat64 xHalfAngle() const;
93  void setXHalfAngle(DtFloat64 angle);
95 
97 
98  DtFloat64 yHalfAngle() const;
99  void setYHalfAngle(DtFloat64 angle);
101 
103 
104  DtFloat64 minAzimuthAngle() const;
105  void setMinAzimuthAngle(DtFloat64 angle);
107 
109 
110  DtFloat64 maxAzimuthAngle() const;
111  void setMaxAzimuthAngle(DtFloat64 angle);
113 
115 
116  DtFloat64 minElevationAngle() const;
117  void setMinElevationAngle(DtFloat64 angle);
119 
121 
122  DtFloat64 maxElevationAngle() const;
123  void setMaxElevationAngle(DtFloat64 angle);
125 
127 
128  DtFloat64 maxZoomLevel() const;
129  void setMaxZoomLevel(DtFloat64 level);
131 
133 
134  DtFloat64 currentZoomLevel() const;
135  void setCurrentZoomLevel(DtFloat64 level);
137 
139 
140  DtU32 color() const;
141  void setColor(DtU32 c);
143 
144 protected:
145 
147  virtual bool createPublisher();
148 
150  virtual bool initSensorFieldOfView();
151 
152 protected:
156 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)