VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSensorRelAzimuthAngleElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvLocalMS/vrvLocalMS.h>
14 
15 #include <vlutil/vlNetTypes.h>
16 
17 namespace makVrv
18 {
20  {
21  public:
24 
25  virtual unsigned int encodedLength();
26  virtual unsigned char* encode(unsigned char* buffer);
27 
28  virtual void decode(unsigned char* buffer, unsigned int length);
29 
30  double relAzimuth();
31  void setRelAzimuth(double val);
32 
35  DtSensorRelAzimuthAngleElement& operator=(const DtSensorRelAzimuthAngleElement& rhs) = delete;
36 
37  protected:
38 
39  virtual void update();
40  //const DtCoordinateSystem& myCoordSys;
41  DtNetU32 myRelAzimuth;
42  };
43 }
Definition: DtSensorRelAzimuthAngleElement.h:19
#define DT_DLL_VRVLOCALMS
Definition: vrvLocalMS.h:21
Contains DLL export macros.
Contains the DtSensorAngleElement class declaration.
DtNetU32 myRelAzimuth
Definition: DtSensorRelAzimuthAngleElement.h:41
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
base class for the various sensor angle elements. exists primarily to hold DtDe and manager coordinat...
Definition: DtSensorAngleElement.h:23
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)