15 #include <matrix/vlVector.h>
34 ClosestIntersection = 0x00000001,
35 SoilType = 0x00000002,
36 AllIntersectionsThroughPoint = 0x00000004,
37 IntersectVectors = 0x00000008,
38 LineOfSight = 0x00000010,
39 IntersectEntities = 0x00000020,
40 IntersectTerrain = 0x00000040,
41 TerrainHeight = 0x00000080,
42 Default = AllIntersectionsThroughPoint | SoilType | IntersectVectors | IntersectTerrain | IntersectEntities
49 start(s), end(e), userData(u) {};
71 virtual int type()
const override;
76 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
84 virtual void setRequestId(
unsigned long);
93 virtual void addIntersectionRequest(
const DtVector& from,
const DtVector& to,
const DtString& userData =
"");
94 virtual void clearIntersectionRequests();
97 return myIntersectionRequests;
102 virtual void setRequestFlags(
int);
115 namespace DtBufferSerialize
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
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...
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
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...
virtual DtSimInterfaceContent * clone() const =0