VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 <matrix/vlVector.h>
19 
20 class DtLocalObject;
22 
28 {
29 private:
33  DtVrfSensorFieldOfView& operator=(const DtVrfSensorFieldOfView& orig);
36 
37 public:
38  DtVrfSensorFieldOfView(DtLocalObject* hostEntity, const DtString& id);
39  virtual ~DtVrfSensorFieldOfView();
40 
41  bool init();
42 
44  DtString id() const;
45 
47 
48  DtVector relativeLocation() const;
49  void setRelativeLocation(const DtVector& loc);
51 
54 
55  DtTaitBryan relativeOrientation() const;
56  void setRelativeOrientation(const DtTaitBryan& ori);
58 
60 
61  virtual void setTargetedEntity(const DtUUID& target);
62  virtual const DtUUID& targetedEntity() const;
64 
66 
67  virtual void setTargetedLocation(const DtVector& target);
68  virtual DtVector targetedLocation() const;
70 
72 
73  virtual void setTrackingMode(DtSensorTrackingMode mode);
74  virtual DtSensorTrackingMode trackingMode() const;
76 
78 
79  DtFloat64 radius() const;
80  void setRadius(DtFloat64 rad);
82 
84 
85  DtFloat64 xHalfAngle() const;
86  void setXHalfAngle(DtFloat64 angle);
88 
90 
91  DtFloat64 yHalfAngle() const;
92  void setYHalfAngle(DtFloat64 angle);
94 
96 
97  DtFloat64 minAzimuthAngle() const;
98  void setMinAzimuthAngle(DtFloat64 angle);
100 
102 
103  DtFloat64 maxAzimuthAngle() const;
104  void setMaxAzimuthAngle(DtFloat64 angle);
106 
108 
109  DtFloat64 minElevationAngle() const;
110  void setMinElevationAngle(DtFloat64 angle);
112 
114 
115  DtFloat64 maxElevationAngle() const;
116  void setMaxElevationAngle(DtFloat64 angle);
118 
120 
121  DtFloat64 maxZoomLevel() const;
122  void setMaxZoomLevel(DtFloat64 level);
124 
126 
127  DtFloat64 currentZoomLevel() const;
128  void setCurrentZoomLevel(DtFloat64 level);
130 
132 
133  DtU32 color() const;
134  void setColor(DtU32 c);
136 
137 protected:
138 
140  virtual bool initSensorFieldOfView();
141 
142 protected:
146 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfSensorFieldOfView manages a VR-Link sensor field of view (FOV) publisher, and sets all the value...
Definition: vrfSensorFieldOfView.h:27
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtLocalObject * myHostEntity
Definition: vrfSensorFieldOfView.h:144
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: sensorFieldOfViewStateComponent.h:21
Instances of DtSensorFieldOfViewEntry are used to specify the parameters that describe the possible a...
Definition: sensorFieldOfViewEntry.h:24
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
DtSensorTrackingMode
Definition: sensorFieldOfViewEnums.h:9
DtString mySensorFieldOfViewId
Definition: vrfSensorFieldOfView.h:145
double DtFloat64
Definition: vrvControlStructTypes.h:36
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const char int mode
Definition: ioapi.h:38
A locally simulated VRF object.
Definition: localObject.h:98
makVrf::DtSensorFieldOfViewStateComponent * mySensorFieldOfViewComponent
Definition: vrfSensorFieldOfView.h:143

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)