VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
terrainGeometryAndData.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
9 
10 #include <vlutil/vlMachineTypes.h>
11 #include <vlutil/vlString.h>
12 #include <vl/globalObjectDesignator.h>
13 #include <vlpi/entityType.h>
14 #include <vlpi/entityIdentifier.h>
15 #include <matrix/vlVector.h>
16 #include <vector>
17 
18 #include "terrainGeometry.h"
19 #include "keyValuePairList.h"
20 
21 
23 
26 {
27 public:
31  DtTerrainGeometryAndData& operator=(const DtTerrainGeometryAndData& orig);
32 
33  virtual void setGeometry(const DtTerrainGeometry& val);
34  virtual const DtTerrainGeometry& geometry() const;
35  virtual void setGeometryData(const DtKeyValuePairList& val);
36  virtual void addGeometryData(const DtKeyValuePair& val);
37  virtual const DtKeyValuePairList& geometryData() const;
38  virtual void setEventNumber(const DtU32& val);
39  virtual const DtU32& eventNumber() const;
40  virtual void setPriority(const DtU32& val);
41  virtual const DtU32& priority() const;
42 
43  bool operator==(const DtTerrainGeometryAndData& other) const;
44  bool operator!=(const DtTerrainGeometryAndData& other) const;
45 
49  virtual bool approximatelyEqual(const DtTerrainGeometryAndData& other, double tolerance = -1.0) const;
50 
51  int netSize() const;
52  static int octetBoundary();
53  unsigned int getPaddingSize(DtU64 byteOffset, unsigned int boundary) const;
54 
55  void writeToBuffer( char* buffer ) const;
56  void fillFromBuffer( const char* buffer, int bufferSize, int offset );
57 
58  virtual void printData() const;
59  virtual void printDataToStream(std::ostream &) const;
60 
61 protected:
62 
66  DtU32 myPriority;
67 };
68 
69 DT_DLL_vrfExtObjects std::ostream& operator<<(std::ostream& stream, const DtTerrainGeometryAndData&);
70 
71 

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)