18 #include <vlutil/vlString.h>
19 #include <vlutil/vlHashlist.h>
20 #include <vlutil/vlInetAddr.h>
22 #include <vl/environmentalPointRecord.h>
23 #include <vl/environmentalBoundingSphereRecord.h>
24 #include <vl/environmentalRectangularVolumeRecord.h>
25 #include <vl/hostStructs.h>
26 #include <vl/environmentalEllipsoidRecord.h>
27 #include <vl/environmentalLineRecord.h>
28 #include <vl/environmentProcessPublisher.h>
29 #include <vl/exerciseConn.h>
30 #include <vl/hostStructs.h>
32 #include <vl/rprFomMapper.h>
33 #include <vl/globalObjectDesignator.h>
34 #include <vl/packets/pduHeader.h>
46 #include <matrix/vlVector.h>
47 #include <matrix/vlTaitBryan.h>
48 #include <matrix/vlMath.h>
51 #include <vl/rprFomMapper.h>
53 #include <vlutil/vlInetAddr.h>
56 #include <vlpi/disEnums.h>
57 #include <vlpi/netStructs.h>
66 DtNetFloat64 position[3];
67 DtNetFloat64 orientation[3];
134 DtNetGlobalObjectDesignator myEntityId[2];
135 DtNetU32 myObjectId[2];
136 DtNetWorldCoordinates myPosition[2];
150 DtNetGlobalObjectDesignator myEntityId[2];
151 DtNetU32 myObjectId[2];
152 DtNetWorldCoordinates myPosition[2];
168 DtNetGlobalObjectDesignator myEntityId[2];
169 DtNetU32 myObjectId[2];
170 DtNetWorldCoordinates myPosition[2];
187 DtNetGlobalObjectDesignator myEntityId[2];
188 DtNetU32 myObjectId[2];
189 DtNetWorldCoordinates myPosition[2];
207 DtNetGlobalObjectDesignator myEntityId[2];
208 DtNetU32 myObjectId[2];
209 DtNetWorldCoordinates myPosition[2];
225 DtNetGlobalObjectDesignator myEntityId[2];
226 DtNetU32 myObjectId[2];
227 DtNetWorldCoordinates myPosition[2];
232 DtNetWorldCoordinates myPoints[3];
246 DtNetGlobalObjectDesignator myEntityId[2];
247 DtNetU32 myObjectId[2];
248 DtNetWorldCoordinates myPosition[2];
253 DtNetWorldCoordinates myPoints[16];
279 DtNetGlobalObjectDesignator myEntityId[2];
280 DtNetU32 myObjectId[2];
281 DtNetWorldCoordinates myPosition[2];
309 DtNetGlobalObjectDesignator myEntityId[2];
310 DtNetU32 myObjectId[2];
311 DtNetWorldCoordinates myPosition[2];
417 DtNetU8 myPercentage[2];
421 DtNetGlobalObjectDesignator myEntityId[2];
425 DtNetU32 myObjectId[2];
430 #endif // on 8-byte boundary
432 DtNetWorldCoordinates myPosition[2];
539 DtNetWorldCoordinates myPoints[3];
547 #define DT_MAX_SDC_AREA_VERTS 16
553 char myTextureFilename[256];
554 char myTextureDirectory[256];
563 #ifndef _VIEWCONTROLP_H_GATEWAY_PROTECTION
564 #define _VIEWCONTROLP_H_GATEWAY_PROTECTION
566 #define DtNetViewerCommand DtNetU16
583 char markingText[64];
597 char markingText[64];
607 char markingText[64];
622 char markingText[64];
632 char markingText[64];
642 char attachMarkingText[64];
643 char trackMarkingText[64];
653 char attachMarkingText[64];
654 char trackMarkingText[64];
658 #define MAX_EIG_ENTITIES 100
668 #define DtCMD_GROUP (0)
669 #define DtCMD_WIDE_GROUP (1)
695 DtNetU8 optionsBitField[8];
735 char databaseToLoad[256];
739 char modelsetname[32];
740 char texturesetname[32];
765 char videoCaptureFilename[256];
766 char videoCaptureDirectory[256];
767 char videoCaptureFilenameBase[64];
773 DtNetU8 optionsBitField2[8];
776 char featureFilename[256];
783 #ifdef DT_CANT_HAVE_NET_UNIONS
812 #define DtVCPDU_PARAMS(pdu, type) (*((DtNet##type##Params *) &pdu->params))
813 #define DtVIEW_PARAMS(params, type) (*((DtNet##type##Params *) ¶ms))
817 #define DtVCPDU_PARAMS(pdu, type) (pdu->params.type)
818 #define DtVIEW_PARAMS(params, type) (params.type)
879 const double& x()
const;
880 void setX(
const double& x);
885 const double& y()
const;
886 void setY(
const double& y);
908 double& operator[](
int ind);
911 double operator[](
int ind)
const;
935 double magnitudeSquared()
const;
941 bool isNormalized()
const;
947 bool approxEq(
const DtSdcVector2D& v,
const double& tolerance)
const;
950 bool magnitudeIsZero()
const;
955 bool magnitudeIsZero(
double tolerance)
const;
958 std::ostream &printDataToStream(std::ostream &str)
const;
966 operator const double* ()
const;
1001 #define DtStealthViewModeStatusStart 500
1002 #define DtStealthViewModeStatusEnd 600
1004 #define DtNewViewModeStatusCommand(Mode) \
1005 const DtViewerCommand DtViewerStatus##Mode = (DtViewerCommand) \
1006 ((int) DtStealthViewModeStatusStart + DtViewer##Mode);
1022 #define DtStealthRemoteDrawControlStart 2500
1023 #define DtStealthRemoteDrawControlEnd 2600
1025 #define DtNewViewerCommand(newType, value) \
1026 const DtViewerCommand newType = (DtViewerCommand) \
1027 ((int)DtStealthRemoteDrawControlStart + value);
1029 #define EVCSTR(id) #id
1030 #define CASE_EVCSTRING(af) case af: return (EVCSTR(af) + 2)
1158 #ifndef DtViewControlPdu
1166 class DtExerciseConn;
1167 class DtStealthControlPdu;
1170 (DtStealthControlInteraction *inter,
void *usr);
1171 #include <vl/interaction.h>
1174 #define netViewControlPdu ((DtNetViewControlPdu *) netPdu)
1175 #define DtViewControlStaticSize \
1176 sizeof(DtNetViewControlPdu) - sizeof(DtNetViewControlParams)
1189 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
1198 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
1213 const DtGlobalObjectDesignator&
viewerId()
const;
1214 const DtGlobalObjectDesignator&
senderId()
const;
1221 void setViewerId(
const DtGlobalObjectDesignator&
id);
1222 void setSenderId(
const DtGlobalObjectDesignator&
id);
1227 virtual const char *
string()
const {
return "";}
1243 DtBufferPtr buffer, DtPduFactory*);
1246 DtBufferPtr buffer, DtPduFactory*);
1248 DtBufferPtr buffer, DtPduFactory*);
1259 #define DtIGNORE_EAST (1<<0)
1260 #define DtIGNORE_NORTH (1<<1)
1261 #define DtIGNORE_HEIGHT (1<<2)
1262 #define DtIGNORE_HEADING (1<<3)
1263 #define DtIGNORE_PITCH (1<<4)
1264 #define DtIGNORE_ROLL (1<<5)
1265 #define DtIGNORE_EAST_OFFSET (1<<6)
1266 #define DtIGNORE_NORTH_OFFSET (1<<7)
1267 #define DtIGNORE_HEIGHT_OFFSET (1<<8)
1268 #define DtIGNORE_RADIUS (1<<9)
1269 #define DtIGNORE_BODY_HEADING (1<<10)
1270 #define DtIGNORE_HEADING_OFFSET (1<<11)
1271 #define DtIGNORE_PITCH_OFFSET (1<<12)
1272 #define DtIGNORE_FORWARD (1<<13)
1273 #define DtIGNORE_RIGHT (1<<14)
1274 #define DtIGNORE_UP (1<<15)
1275 #define DtIGNORE_BODY_PITCH (1<<16)
1276 #define DtIGNORE_BODY_ROLL (1<<17)
1277 #define DtIGNORE_AZIMUTH_RATE (1<<18)
1278 #define DtIGNORE_RADIAL_OFFSET (1<<19)
1279 #define DtIGNORE_PRIMARY_ID (1<<20)
1280 #define DtIGNORE_SECONDARY_ID (1<<21)
1281 #define DtIGNORE_GROUP_IDS (1<<22)
1282 #define DtIGNORE_TURN_CMD (1<<23)
1283 #define DtIGNORE_STEP_CMD (1<<24)
1285 class DtExerciseConn;
1288 #define STEALTH_CONTROL_VERSION_STRING "1.2"
1289 #define STEALTH_CONTROL_MAJOR_VERSION 1
1290 #define STEALTH_CONTROL_MINOR_VERSION 2
1291 #define STEALTH_CONTROL_REVISION 0
1293 #include <vl/hostStructs.h>
1294 #if (VR_LINK_MINOR_VERSION == 9)
1295 #include <vlutil/vlMachineTypes.h>
1297 #include <matrix/vlMath.h>
1298 #include <vl/globalObjectDesignator.h>
1300 #define netStealthDrawControlPdu ((DtNetViewControlPdu *) netPdu)
1301 #define DtStealthDrawControlStaticSize (sizeof(DtNetViewControlPdu) - sizeof(DtNetViewControlParams))
1307 #define DtSetVec2D(v, x, y) v[DtSdcX]=x;v[DtSdcY]=y;
1424 inline DtSdcVector2D::operator
double* ()
1429 inline DtSdcVector2D::operator
const double* ()
const
1460 DtSdcColor(
unsigned r,
unsigned g,
unsigned b,
unsigned a = 255 );
1475 const unsigned& operator[](
int index )
const;
1484 unsigned& operator[](
int index );
1504 void setHSV(
unsigned hue,
double saturation,
double value,
1505 unsigned alpha = 255 );
1512 unsigned red()
const;
1519 void setRed(
unsigned red );
1526 unsigned green()
const;
1533 void setGreen(
unsigned green );
1540 unsigned blue()
const;
1547 void setBlue(
unsigned blue );
1554 unsigned hue()
const;
1561 void setHue(
unsigned hue );
1568 double saturation()
const;
1575 void setSaturation(
double saturation );
1582 double value()
const;
1589 void setValue(
double value );
1596 unsigned alpha()
const;
1603 void setAlpha(
unsigned alpha );
1642 virtual const DtNetU32 objectId()
const;
1643 virtual void setObjectId(DtNetU32 lid);
1645 virtual void setType(DtNetU32 type);
1646 virtual DtNetU32 type()
const;
1648 virtual DtU32 paramVersion()
const;
1651 static const char *typeString(
int param);
1655 virtual int setInternalText(
DtString str,
size_t structSize);
1656 virtual const DtString internalText(
int size,
size_t structSize)
const;
1665 virtual void setParamVersion( DtU32 paramVersion );
1673 class DtExerciseConn;
1675 class DtGlobalObjectDesignatorList;
1681 const DtStealthControlPdu& pdu,
void* usr);
1686 #include <vl/interactionWithEncDec.h>
1689 class DtStealthControlInteraction;
1690 class DtStealthControlPdu;
1691 class DtExerciseConn;
1698 (DtStealthControlInteraction* inter,
void* usr);
1713 virtual ~DtStealthControlInteraction();
1719 DtStealthControlInteraction& operator=(
const DtStealthControlInteraction& orig);
1722 virtual void printData()
const;
1725 virtual const char* name()
const;
1728 virtual const DtStealthControlPdu* vcPdu()
const;
1729 virtual void setVcPdu(
const DtStealthControlPdu& pdu);
1730 virtual void setFromNetPacket(
const DtNetPacket* pack);
1741 static void addCallback(DtExerciseConn* conn,
1743 static void removeCallback(DtExerciseConn* conn,
1748 virtual const char* interactionClassToUse(DtExerciseConn* exConn)
const;
1764 return "DtStealthControlInteraction";
1779 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1784 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1790 DtFomMapper* mapper = DtRprFomMapper::create(NULL),
1791 const char* fedFileName = NULL,
1792 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1795 const char* dsoName,
const char* fedFileName = NULL,
1796 void* fomMapInitData = NULL,
1797 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1803 int site_id,
int application_num,
1804 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1807 int exercise_id,
int site_id,
int application_num,
1808 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1811 int site_id,
int application_num,
1812 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL);
1821 virtual void setTargetStealthId(
const DtGlobalObjectDesignator&
id);
1822 virtual const DtGlobalObjectDesignator& targetStealthId()
const;
1825 virtual void setControllerId(
const DtGlobalObjectDesignator&
id);
1826 virtual const DtGlobalObjectDesignator& controllerId()
const;
1833 virtual void reset()
const;
1837 virtual void moveEyepoint(Direction d)
const;
1838 virtual void turnEyepoint(Direction d)
const;
1845 const DtTaitBryan* ori = NULL)
const;
1856 virtual void setMode(DtViewerCommand m,
1858 const DtTaitBryan* geocOri = NULL)
const;
1866 virtual void setAbsoluteMode(
1868 const DtTaitBryan* ori = NULL)
const;
1878 virtual void setCompassMode(
1879 const DtGlobalObjectDesignator* primary = NULL,
1880 const float* radius = NULL,
1881 const float* azimuth = NULL,
1882 const float* elevation = NULL)
const;
1890 virtual void setMimicMode(
1891 const DtGlobalObjectDesignator* primary = NULL,
1892 const DtVector* offset = NULL)
const;
1903 virtual void setOrbitMode(
1904 const DtGlobalObjectDesignator* primary = NULL,
1905 const float* radius = NULL,
1906 const float* azimuth = NULL,
1907 const float* elevation = NULL,
1908 const float* azimuthRate = NULL)
const;
1917 virtual void setTetherMode(
1918 const DtGlobalObjectDesignator* primary = NULL,
1920 const DtTaitBryan* ori = NULL)
const;
1928 virtual void setTrackMode(
1929 const DtGlobalObjectDesignator* primary = NULL,
1930 const DtVector* geoc = NULL)
const;
1939 virtual void setMimicTrackMode(
1940 const DtGlobalObjectDesignator* attach = NULL,
1941 const DtGlobalObjectDesignator* track = NULL,
1942 const DtVector* offset = NULL)
const;
1951 virtual void setTetherTrackMode(
1952 const DtGlobalObjectDesignator* attach = NULL,
1953 const DtGlobalObjectDesignator* track = NULL,
1954 const DtVector* offset = NULL)
const;
1959 virtual void send(
const DtStealthControlPdu& pdu)
const;
2025 virtual unsigned id()
const;
2033 virtual void setId(
unsigned id );
2035 virtual const DtGlobalObjectDesignator& globalId()
const;
2037 virtual void setVisible(
bool yesNo);
2039 virtual bool visible()
const;
2041 virtual bool flashing()
const;
2043 virtual void setFlashing(
bool yesNo);
2047 virtual void setColor(
const DtSdcColor& color);
2049 virtual void setRemoteGraphicSet(
const std::string& setName);
2055 virtual void update() = 0;
2070 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2073 DtConstVector offset()
const;
2074 void setOffset(DtConstVector loc);
2076 const DtGlobalObjectDesignator& attachId()
const;
2077 void setAttachId(
const DtGlobalObjectDesignator&
id);
2079 const DtGlobalObjectDesignator& trackId()
const;
2080 void setTrackId(
const DtGlobalObjectDesignator&
id);
2082 const DtString& trackMarkingText()
const;
2083 void setTrackMarkingText(
const DtString& markingText);
2085 const DtString& attachMarkingText()
const;
2086 void setAttachMarkingText(
const DtString& markingText);
2090 const char *
string()
const;
2108 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2112 DtConstVector topoUpOffset()
const;
2113 const DtTaitBryan &orientation()
const;
2114 const DtGlobalObjectDesignator& attachId()
const;
2115 const DtString& markingText()
const;
2119 void setTopoUpOffset(DtConstVector offset);
2120 void setOrientation(
const DtTaitBryan &ori);
2121 void setAttachId(
const DtGlobalObjectDesignator&
id);
2122 void setMarkingText(
const DtString& markingText);
2126 const char *
string()
const;
2142 DtTrackVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2144 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2147 DtConstVector worldLocation()
const;
2148 const DtGlobalObjectDesignator& trackId()
const;
2150 void setWorldLocation(DtConstVector loc);
2151 void setTrackId(
const DtGlobalObjectDesignator&
id);
2153 const DtString& markingText()
const;
2154 void setMarkingText(
const DtString& markingText);
2158 const char *
string()
const;
2174 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0)
2176 initPdu(initial, buffer, 0);
2189 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2193 DtConstVector worldLocation()
const;
2194 const DtTaitBryan &orientation()
const;
2198 void setWorldLocation(DtConstVector loc);
2199 void setOrientation(
const DtTaitBryan &ori);
2202 const char *
string()
const;
2217 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2219 float radius()
const;
2220 void setRadius(
float r);
2222 float bodyHeading()
const;
2223 void setBodyHeading(
float h);
2225 float pitch()
const;
2226 void setPitch(
float p);
2228 float headingOffset()
const;
2229 void setHeadingOffset(
float o);
2231 float pitchOffset()
const;
2232 void setPitchOffset(
float p);
2235 void setRoll(
float r);
2237 const DtGlobalObjectDesignator& attachId()
const;
2238 void setAttachId(
const DtGlobalObjectDesignator&
id);
2240 const DtString& markingText()
const;
2241 void setMarkingText(
const DtString& markingText);
2244 const char *
string()
const;
2257 virtual void send(
const char* packet,
int size) = 0;
2266 DtGroupVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2268 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2272 float radialOffset()
const;
2273 float heading()
const;
2274 float pitch()
const;
2275 float headingOffset()
const;
2276 float pitchOffset()
const;
2277 int groupCmd()
const;
2278 int numEntitiesToRemove()
const;
2279 int numEntitiesToAdd()
const;
2280 const DtGlobalObjectDesignator& entityToRemove(
int n)
const;
2281 const DtGlobalObjectDesignator& entityToAdd(
int n)
const;
2285 void setRadialOffset(
float o);
2286 void setHeading(
float h);
2287 void setPitch(
float p);
2288 void setHeadingOffset(
float o);
2289 void setPitchOffset(
float o);
2290 void setGroupCmd(
int c);
2291 void setNumEntitiesToRemove(
int n);
2292 void setNumEntitiesToAdd(
int n);
2293 void setEntityToRemove(
int n,
const DtGlobalObjectDesignator&
id);
2294 void setEntityToAdd(
int n,
const DtGlobalObjectDesignator&
id);
2297 const char *
string()
const;
2306 #include <vl/interactionDecoder.h>
2308 class DtStealthControlInteraction;
2315 #define DtDECLARE_VIEW_CONTROL_PARAM_DECODER(paramName) \
2316 DtDECLARE_PARAM_DECODER(DtStealthControlInteraction, paramName)
2329 DtInterClassDesc* classDesc);
2350 #include <vl/interactionEncoder.h>
2352 class DtStealthControlInteraction;
2356 #define DtDECLARE_VIEW_CONTROL_PARAM_ENCODER(paramName) \
2357 DtDECLARE_PARAM_ENCODER(DtStealthControlInteraction, paramName)
2359 #define DtDEFINE_SIMPLE_VIEW_CONTROL_PARAM_ENCODER(paramName, netType, inspector) \
2360 DtDEFINE_SIMPLE_PARAM_ENCODER(DtStealthControlEncoder, DtStealthControlInteraction, \
2361 paramName, netType, \
2373 DtInterClassDesc* classDesc);
2401 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2404 DtConstVector offset()
const;
2405 void setOffset(DtConstVector loc);
2407 const DtGlobalObjectDesignator& attachId()
const;
2408 void setAttachId(
const DtGlobalObjectDesignator&
id);
2410 void setTrackId(
const DtGlobalObjectDesignator&
id);
2411 const DtGlobalObjectDesignator& trackId()
const;
2413 const DtString& trackMarkingText()
const;
2414 void setTrackMarkingText(
const DtString& markingText);
2416 const DtString& attachMarkingText()
const;
2417 void setAttachMarkingText(
const DtString& markingText);
2421 const char *
string()
const;
2437 DtMimicVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2439 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2442 DtConstVector offset()
const;
2443 void setOffset(DtConstVector offset);
2445 const DtTaitBryan &bodyOrientation()
const;
2446 void setBodyOrientation(
const DtTaitBryan &ori);
2448 const DtGlobalObjectDesignator& attachId()
const;
2449 void setAttachId(
const DtGlobalObjectDesignator&
id);
2451 const DtString& markingText()
const;
2452 void setMarkingText(
const DtString& markingText);
2455 const char *
string()
const;
2471 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2480 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2482 const DtGlobalObjectDesignator& primary()
const;
2483 void setPrimary(
const DtGlobalObjectDesignator&
id);
2485 const DtGlobalObjectDesignator& secondary()
const;
2486 void setSecondary(
const DtGlobalObjectDesignator&
id);
2488 int numEntitiesToRemove()
const;
2489 void setNumEntitiesToRemove(
int n);
2491 int numEntitiesToAdd()
const;
2492 void setNumEntitiesToAdd(
int n);
2494 const DtGlobalObjectDesignator& entityToRemove(
int n)
const;
2495 void setEntityToRemove(
int n,
const DtGlobalObjectDesignator&
id);
2497 const DtGlobalObjectDesignator& entityToAdd(
int n)
const;
2498 void setEntityToAdd(
int n,
const DtGlobalObjectDesignator&
id);
2514 DtMoveVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2516 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2521 void setReset(
bool b);
2523 Direction turn()
const;
2524 void setTurn(Direction d);
2526 Direction move()
const;
2527 void setMove(Direction d);
2529 void setPosition(
const DtVector& v);
2532 void setOrientation(
const DtTaitBryan& o);
2533 DtTaitBryan orientation()
const;
2536 virtual const char *
string()
const;
2597 } DtStealthControlVideoCaptureCommand;
2604 } DtStealthControlFeatureCommand;
2610 DtOptionsPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2612 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2616 void setOverlayOption(DtOverlayOption option);
2617 void setLocatorRange(
double range);
2618 void setSmoothing(DtSmoothingOption option);
2619 void setSmoothingPeriod(
double period);
2620 void setSound(
bool onOff);
2621 void setEntityLabels(
bool onOff);
2622 void setTrailingEffects(
bool onOff);
2623 void setTrajectoryHistory(
bool onOff);
2624 void setRecording(
bool onOff);
2625 void setAggregateLevel(
int level);
2626 void setAggregateHighestOnly(
bool onOff);
2627 void setAggregatesAltitudeControlled(
bool onOff);
2628 void setNestedAggregates(
bool onOff);
2629 void setNestedEntities(
bool onOff);
2630 void setGroundClamping(
bool onOff);
2631 void setClampRange(
double range);
2632 void setFollowGround(
bool onOff);
2633 void setConstrainWithFloor(
bool onOff);
2634 void setFloor(
double height);
2635 void setTimeOfDay(
double time);
2636 void setNearClip(
double clip);
2637 void setFarClip(
double clip);
2638 void setFov(
double fov);
2639 void setFog(
bool onOff);
2640 void setNearFog(
double fog);
2641 void setFarFog(
double fog);
2642 void setTexture(
bool onOff);
2643 void setDatabaseToLoad(
const DtString& db);
2644 void setStepsize(
float step);
2645 void setTurnrate(
float step);
2646 void setDate(
const DtString& date);
2647 void setIncrementStepsize(
bool b);
2648 void setIncrementTurnrate(
bool b);
2649 void setDecrementStepsize(
bool b);
2650 void setDecrementTurnrate(
bool b);
2651 void setXr(
bool onOff);
2652 void setHatLabels(
bool onOff);
2653 void setCurrentModelSet(
const DtString& setname);
2654 void setShowNextModelSet(
bool b);
2655 void setShowPrevModelSet(
bool b);
2656 void setCurrentTextureSet(
const DtString& setname);
2657 void setShowNextTextureSet(
bool b);
2658 void setShowPrevTextureSet(
bool b);
2659 void setTerrainScale(
double s);
2660 void setObjectScale(
double s);
2661 void setExit(
bool b);
2662 void setSkyDome(
bool b);
2663 void setClouds(
bool b);
2664 void setMirroring(
bool b);
2665 void setMirrorMessageEveryFrame(
bool b);
2666 void setBroadcasting(
bool b);
2667 void setClusteringLabels(
bool b);
2668 void setTacticalGraphicsLabels(
bool b);
2669 void setTacticalGraphics(
bool b);
2670 void setShowAggregates(
bool b);
2671 void setShowEmitters(
bool b);
2672 void setVideoCaptureCommand(
2673 DtStealthControlVideoCaptureCommand videoCaptureCommand);
2674 void setVideoCaptureRecordInsets(
bool videoCaptureRecordInsets);
2675 void setVideoCaptureFramesPerSecond(
int videoCaptureFramesPerSecond);
2676 void setVideoCaptureFilename(
const DtString& videoCaptureFilename);
2677 void setVideoCaptureFilenameBase(
const DtString& videoCaptureFilenameBase);
2678 void setVideoCaptureDirectory(
const DtString& videoCaptureDirectory);
2679 void setConstrainToAll(
bool b );
2680 void setUseNearClipForBlockedDistance(
bool b );
2681 void setBlockedDistance(
double distance );
2682 void setFeatureFilename(
const DtString& featureFilename );
2683 void setFeatureCommand( DtStealthControlFeatureCommand featureCommand );
2694 bool optionPresent(DtStealthOption option)
const;
2696 DtOverlayOption overlayOption()
const;
2697 double locatorRange()
const;
2698 DtSmoothingOption smoothing()
const;
2699 double smoothingPeriod()
const;
2701 bool entityLabels()
const;
2702 bool trailingEffects()
const;
2703 bool trajectoryHistory()
const;
2704 bool recording()
const;
2705 int aggregateLevel()
const;
2706 bool aggregateHighestOnly()
const;
2707 bool aggregatesAltitudeControlled()
const;
2708 bool nestedAggregates()
const;
2709 bool nestedEntities()
const;
2710 bool groundClamping()
const;
2711 double clampRange()
const;
2712 bool followGround()
const;
2713 bool constrainWithFloor()
const;
2714 double floor()
const;
2715 double timeOfDay()
const;
2716 double nearClip()
const;
2717 double farClip()
const;
2720 double nearFog()
const;
2721 double farFog()
const;
2722 bool texture()
const;
2723 const DtString databaseToLoad()
const;
2724 float stepsize()
const;
2725 float turnrate()
const;
2726 bool incrementStepsize()
const;
2727 bool incrementTurnrate()
const;
2728 bool decrementStepsize()
const;
2729 bool decrementTurnrate()
const;
2732 bool hatLabels()
const;
2733 const DtString currentModelSet()
const;
2734 bool showNextModelSet()
const;
2735 bool showPrevModelSet()
const;
2736 const DtString currentTextureSet()
const;
2737 bool showNextTextureSet()
const;
2738 bool showPrevTextureSet()
const;
2739 double terrainScale()
const;
2740 double objectScale()
const;
2742 bool skyDome()
const;
2743 bool clouds()
const;
2744 bool mirroring()
const;
2745 bool mirrorMessageEveryFrame()
const;
2746 bool broadcasting()
const;
2747 bool clusteringLabels()
const;
2748 bool tacticalGraphicsLabels()
const;
2749 bool tacticalGraphics()
const;
2750 bool showAggregates()
const;
2751 bool showEmitters()
const;
2752 DtStealthControlVideoCaptureCommand videoCaptureCommand()
const;
2753 bool videoCaptureRecordInsets()
const;
2754 int videoCaptureFramesPerSecond()
const;
2755 const DtString videoCaptureFilename()
const;
2756 const DtString videoCaptureFilenameBase()
const;
2757 const DtString videoCaptureDirectory()
const;
2758 bool useNearClipForBlockedDistance()
const;
2759 bool constrainedToAll()
const;
2760 double blockedDistance()
const;
2761 DtStealthControlFeatureCommand featureCommand()
const;
2762 const DtString featureFilename()
const;
2769 const char*
string()
const;
2775 void setOptionPresent(DtStealthOption option);
2776 void clearOptionPresent(DtStealthOption option);
2789 DtOrbitVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2791 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2793 float radius()
const;
2794 void setRadius(
float r);
2796 float azimuthRate()
const;
2797 void setAzimuthRate(
float a);
2799 float heading()
const;
2800 void setHeading(
float h);
2802 float pitch()
const;
2803 void setPitch(
float p);
2805 float headingOffset()
const;
2806 void setHeadingOffset(
float o);
2808 float pitchOffset()
const;
2809 void setPitchOffset(
float p);
2812 void setRoll(
float r);
2814 const DtString& markingText()
const;
2815 void setMarkingText(
const DtString& markingText);
2818 const DtGlobalObjectDesignator& attachId()
const;
2819 void setAttachId(
const DtGlobalObjectDesignator&
id);
2822 const char *
string()
const;
2837 DtPivotVCPdu(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
2839 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
2843 virtual float radius()
const;
2844 virtual void setRadius(
float r);
2846 virtual float bodyHeading()
const;
2847 virtual void setBodyHeading(
float h);
2849 virtual float pitch()
const;
2850 virtual void setPitch(
float p);
2852 virtual float headingOffset()
const;
2853 virtual void setHeadingOffset(
float o);
2855 virtual float pitchOffset()
const;
2856 virtual void setPitchOffset(
float p);
2858 virtual float roll()
const;
2859 virtual void setRoll(
float r);
2862 virtual const DtVector& pivotPoint()
const;
2863 virtual void setPivotPoint(
const DtVector& v);
2866 virtual const char *
string()
const;
2885 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0)
2887 initPdu(initial, buffer, 0);
2930 virtual void setPosition(
const DtSdcVector2D& position ) = 0;
2948 attachmentTypeUndefined = 0,
2949 attachmentTypeScene = 1,
2950 attachmentTypeEntity = 2,
2951 attachmentTypeDrawObject = 3
2952 } DtSdc3DAttachmentType;
2977 DtSdc3DAttachPoint(
const DtGlobalObjectDesignator& drawObjectId,
double relativePosition);
2998 virtual DtSdc3DAttachmentType attachmentType()
const;
3016 virtual void setLocation(
DtVector location );
3024 virtual const DtGlobalObjectDesignator& drawObjectId()
const;
3033 virtual void setDrawObjectId(
const DtGlobalObjectDesignator& drawObjectId );
3039 virtual double relativePosition()
const;
3045 virtual void setRelativePosition(
double relativePosition );
3054 virtual DtGlobalObjectDesignator entityId()
const;
3063 virtual void setEntityId(
const DtGlobalObjectDesignator& entityId );
3065 virtual bool isAttached()
const;
3067 virtual const DtGlobalObjectDesignator& attachedId()
const;
3207 DtSdcArea3DObject(DtExerciseConn* exConn,
unsigned id, std::vector<DtVector> vertices,
3208 DtVector32 offset = DtVector32::zero(),
3210 const DtString& textureDirectory =
"",
3211 const DtString& textureFilename = DtString::nullString(),
3212 int numTextureTiles = 0,
bool flashing =
false);
3241 virtual const DtVector32& offset()
const;
3248 virtual void setOffset(
const DtVector32& off);
3287 virtual const DtString& textureDirectory()
const;
3294 virtual void setTextureDirectory(
const DtString& str);
3301 virtual const DtString& textureFilename()
const;
3308 virtual void setTextureFilename(
const DtString& str);
3316 virtual int numTextureTiles()
const;
3323 virtual void setNumTextureTiles(
int numTextureTiles);
3343 virtual const DtVector& vertex(
int index)
const;
3353 virtual void setVertex(
int index,
const DtVector& vertex);
3358 virtual void calculateBoundingSphere();
3359 virtual void setStateRecordUserData();
3384 class DtSdcAttachablePduV0;
3392 DtVcObjectNoAttach = 0,
3393 DtVcObjectNoAttachNoAttach = 1,
3394 DtVcObjectAttachedToEntity = 2,
3395 DtVcObjectAttachedToObject = 3,
3396 DtVcObjectAttachedToEntityNoAttach = 4,
3397 DtVcObjectAttachedToObjectNoAttach = 5,
3398 DtVcObjectAttachedToNoAttachEntity = 6,
3399 DtVcObjectAttachedToNoAttachObject = 7,
3400 DtVcObjectAttachedToEntityObject = 8,
3401 DtVcObjectAttachedToObjectEntity = 9,
3402 DtVcObjectAttachedToEntityEntity = 10,
3403 DtVcObjectAttachedToObjectObject = 11
3404 } DtVcObjectAttachment;
3408 DtVcStyleNoFlashing =0x00,
3409 DtVcStyleFlashing =0x04,
3410 DtVcDrawingStyleEntry =0x04
3415 virtual const DtVcObjectAttachment attachmentType()
const;
3419 virtual void attachTo(
const DtNetInt8 pos[2]);
3422 virtual void attachTo(
const DtNetInt8 pos1[2],
const DtNetInt8 pos2[2]);
3425 virtual void attachTo(
const DtVector &pos);
3426 virtual void attachTo(
const DtNetU32
id);
3427 virtual void attachTo(
const DtGlobalObjectDesignator&
id);
3430 virtual void attachTo(
const DtNetU32 id1,
const DtNetU32 id2);
3431 virtual void attachTo(
const DtGlobalObjectDesignator& id1,
const DtGlobalObjectDesignator& id2);
3433 virtual void attachTo(
const DtGlobalObjectDesignator& id1,
const DtNetU32 id2);
3434 virtual void attachTo(
const DtNetU32 id1,
const DtGlobalObjectDesignator& id2);
3435 virtual void attachTo(
const DtGlobalObjectDesignator&
id,
const DtVector &pos);
3436 virtual void attachTo(
const DtVector &pos,
const DtGlobalObjectDesignator&
id);
3437 virtual void attachTo(
const DtNetU32
id,
const DtVector &pos);
3438 virtual void attachTo(
const DtVector &pos,
const DtNetU32
id);
3450 virtual void setRelativeLocation(DtNetU8 percentage,
int index=0);
3451 virtual const DtNetU8 relativeLocation(
int index=0)
const;
3454 virtual void setOffset(
const DtVector &offsetVector);
3457 virtual const DtGlobalObjectDesignator attachEntityId(
int index)
const;
3458 virtual const DtNetU32 attachObjectId(
int index)
const;
3459 virtual DtVector position(
int index)
const;
3461 virtual void setColor(DtNetU8 color[4]);
3462 virtual const DtNetU8 *color()
const;
3464 virtual void setFlashing(
bool onOff);
3465 virtual const bool flashing()
const;
3468 virtual const char *
string()
const;
3471 static const char *
typeString(DtVcObjectAttachment param);
3478 virtual void setAttachmentType( DtVcObjectAttachment attachmentType );
3505 void setTextValue(
const DtString& textValue );
3511 double xValue()
const;
3512 void setXValue(
double x );
3516 double yValue()
const;
3517 void setYValue(
double y );
3525 void setDirty(
bool dirty ) ;
3573 const DtVector32& enuOffset = DtVector32::zero(),
3624 virtual const DtVector32& offset()
const;
3630 virtual void setOffset(
const DtVector32& enuOffset);
3680 virtual void setBmpAttributeValue(
const DtString& attName,
const DtString& filename);
3690 virtual double numericAttributeValue(
const DtString& attName)
const;
3701 virtual void setNumericAttributeValue(
const DtString& attName,
double xVal);
3713 virtual double valueBarAttributeValue(
const DtString& attName)
const;
3727 virtual void setValueBarAttributeValue(
const DtString& attName,
double xVal);
3739 virtual double graphAttributeValueX(
const DtString& attName)
const;
3752 virtual void setGraphAttributeValueX(
const DtString& attName,
double xVal);
3762 virtual double graphAttributeValueY(
const DtString& attName)
const;
3773 virtual void setGraphAttributeValueY(
const DtString& attName,
double yVal);
3784 virtual DtSdcAttributeValueMap& attributeValueMap();
3799 virtual void createAttributes();
3800 virtual void destroyAttributes();
3801 virtual void copyAttributes(
const DtSdcAttributeValueMap& valueMap);
3829 DtSdcAttributeTypeNoValue = 0,
3830 DtSdcAttributeValueNumeric = 1,
3831 DtSdcAttributeTypeValueBar = 2,
3832 DtSdcAttributeTypeValueGraph = 3,
3833 DtSdcAttributeTypeBitmap = 4,
3834 } DtSdcAttributeType;
3852 const DtString& name, DtSdcAttributeType attributeType );
3878 virtual const DtString& name()
const;
3885 virtual const DtGlobalObjectDesignator& templateId()
const;
3892 virtual DtSdcAttributeType attributeType()
const;
3908 typedef std::map<DtString, DtSdcAttributeTemplateObject*>
3958 virtual const DtString& name()
const;
3986 double minRange,
double maxRange);
3993 virtual DtSdcAttributeTemplateList& attributeTemplates();
4031 virtual void setName(
DtString name );
4032 virtual const DtString name()
const;
4034 virtual const DtNetU32 attributeGroupId()
const;
4035 virtual void setAttributeGroupId( DtNetU32 lid );
4037 virtual const bool hasRange()
const;
4038 virtual const double rangeMin()
const;
4039 virtual const double rangeMax()
const;
4040 virtual void setRange(
double min,
double max );
4043 virtual const char*
string()
const;
4053 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
4061 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
4075 virtual void setText(
DtString name);
4076 virtual const DtString text()
const;
4078 virtual const DtNetU32 groupId()
const;
4079 virtual void setGroupId(DtNetU32 lid);
4081 virtual const double valueX()
const;
4082 virtual const double valueY()
const;
4083 virtual void setValueX(
double val);
4084 virtual void setValueY(
double val);
4087 virtual const char*
string()
const;
4099 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
4109 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
4134 const DtGlobalObjectDesignator& templateId,
4135 const DtString& name,
double minRange,
double maxRange);
4162 virtual double minRange()
const;
4170 virtual double maxRange()
const;
4196 virtual const DtNetU32 layerId()
const;
4197 virtual void setLayerId( DtNetU32 lid );
4200 virtual const char*
string()
const;
4211 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
4219 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
4259 const DtVector32& enuOffset = DtVector32::zero(),
4260 const DtTaitBryan& rotation = zeros,
4305 virtual const DtVector32& offset()
const;
4311 virtual void setOffset(
const DtVector32& off);
4317 virtual const DtTaitBryan& rotation()
const;
4324 virtual void setRotation(
const DtTaitBryan& rotation);
4408 double length,
double width,
double height,
4409 const DtVector32& enuOffset = DtVector32::zero(),
4410 const DtTaitBryan& rotation = zeros,
4421 virtual double length()
const;
4428 virtual void setLength(
double length);
4435 virtual double width()
const;
4442 virtual void setWidth(
double width);
4449 virtual double height()
const;
4456 virtual void setHeight(
double height);
4459 virtual void setRotation(
const DtTaitBryan& rotation);
4480 void initCuboidRecords();
4530 const DtSdcVector2D& diameters,
const DtVector32& offset = DtVector32::zero(),
4531 const DtTaitBryan& rotation = zeros,
4559 const DtVector32& offset = DtVector32::zero(),
4631 virtual const DtVector32& offset()
const;
4638 virtual void setOffset(
const DtVector32& off);
4645 virtual double length()
const;
4652 virtual void setLength(
double length);
4675 virtual const DtTaitBryan& rotation()
const;
4683 virtual void setRotation(
const DtTaitBryan& rotation);
4787 double rotation = 0.0,
double scale = 1.0,
4789 unsigned pattern = 0xffffffff,
bool flashing =
false);
4844 virtual double rotation()
const;
4851 virtual void setRotation(
double rotation );
4873 virtual bool fill()
const;
4881 virtual void setFill(
bool fill );
4888 virtual unsigned pattern()
const;
4897 virtual void setPattern(
unsigned pattern );
4918 virtual double scale()
const;
4925 virtual void setScale(
double scale );
4986 const DtSdcVector2D& size,
double rotation = 0.0,
double scale = 1.0,
4988 unsigned pattern = 0xffffffff,
bool flashing =
false );
5044 const DtVector& diameters,
const DtVector32& enuOffset = DtVector32::zero(),
5045 const DtTaitBryan& rotation = zeros,
5057 virtual const DtVector& diameters()
const;
5064 virtual void setDiameters(
const DtVector& diameters);
5067 virtual void setRotation(
const DtTaitBryan& rotation);
5092 void initEllipsoidRecords();
5108 virtual void setName(
DtString name);
5109 virtual const DtString name()
const;
5112 virtual const char *
string()
const;
5122 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
5130 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
5153 DtSdcSegmentStyleLightning
5154 } DtSdcSegmentStyle;
5169 DtSdcSegmentArrowStyleArrowDouble
5170 } DtSdcSegmentArrowStyle;
5174 unsigned thickness, DtSdcSegmentStyle style,
5175 DtSdcSegmentArrowStyle arrowStyle);
5186 unsigned pattern()
const;
5187 void setPattern(
unsigned pattern );
5189 unsigned thickness()
const;
5190 void setThickness(
unsigned thickness );
5192 double percentage()
const;
5193 void setPercentage (
double percentage );
5195 DtSdcSegmentStyle style()
const;
5196 void setStyle( DtSdcSegmentStyle style );
5198 DtSdcSegmentArrowStyle arrowStyle()
const;
5199 void setArrowStyle( DtSdcSegmentArrowStyle arrowStyle );
5225 virtual int numSegments()
const = 0;
5232 virtual void setNumSegments(
int numSegments) = 0;
5281 virtual unsigned pattern(
int segment=0)
const = 0;
5290 virtual void setPattern(
unsigned pattern,
int segment=0) = 0;
5299 virtual unsigned thickness(
int segment=0)
const = 0;
5310 virtual void setThickness(
unsigned thickness,
int segment=0) = 0;
5319 virtual double percentage(
int segment)
const = 0;
5330 virtual void setPercentage(
double percentage,
int segment) = 0;
5385 unsigned thickness=1,
unsigned pattern=0xffffff,
bool flashing =
false );
5410 virtual void setStartPosition(
const DtSdcVector2D& startPosition );
5424 virtual void setEndPosition(
const DtSdcVector2D& endPosition );
5507 virtual unsigned pattern(
int segment=0 )
const;
5516 virtual void setPattern(
unsigned pattern,
int segment=0 );
5525 virtual unsigned thickness(
int segment=0 )
const;
5536 virtual void setThickness(
unsigned thickness,
int segment=0 );
5545 virtual double percentage(
int segment )
const;
5556 virtual void setPercentage(
double percentage,
int segment );
5579 virtual void initRecords();
5646 const DtVector32& offset = DtVector32::zero(),
5652 unsigned thickness=1,
unsigned pattern=0xffffff,
bool flashing =
false,
5653 bool checkLos =
false,
bool projected =
false);
5711 virtual const DtVector32& offset()
const;
5718 virtual void setOffset(
const DtVector32& off);
5801 virtual unsigned pattern(
int segment=0)
const;
5810 virtual void setPattern(
unsigned pattern,
int segment=0);
5819 virtual unsigned thickness(
int segment=0)
const;
5830 virtual void setThickness(
unsigned thickness,
int segment=0);
5839 virtual double percentage(
int segment)
const;
5872 virtual bool checkLos()
const;
5880 virtual void setCheckLos(
bool checkLos);
5888 virtual bool projected()
const;
5896 virtual void setProjected (
bool projected );
5941 DtSdcStyleNoArrow =0x00,
5942 DtSdcStyleArrowEnd =0x01,
5943 DtSdcStyleArrowStart =0x02,
5944 DtSdcStyleArrowDouble =0x03,
5945 DtSdcLineArrowStyleEntry =0x03
5946 } DtSdcLineArrowStyle;
5950 DtSdcLineAppearanceStraight =0x00,
5951 DtSdcLineAppearanceLightning =0x08,
5952 DtSdcLineAppearanceEntry =0x08
5953 } DtSdcLineAppearance;
5957 DtSdcLinePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
5959 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
5965 virtual void setNumSegments( DtNetU8 segments );
5966 virtual const DtNetU8 numSegments()
const;
5968 virtual void setArrowStyle( DtSdcLineArrowStyle style );
5969 virtual void setArrowStyle(
unsigned int segment, DtSdcLineArrowStyle style );
5970 virtual const DtSdcLineArrowStyle arrowStyle(
unsigned int segment=0 )
const;
5972 virtual void setAppearance( DtSdcLineAppearance app );
5973 virtual void setAppearance(
unsigned int segment, DtSdcLineAppearance app );
5974 virtual const DtSdcLineAppearance appearance(
unsigned int segment=0 )
const;
5976 virtual void setThickness( DtNetU8 thickness );
5977 virtual void setThickness(
unsigned int segment, DtNetU8 thickness );
5978 virtual const DtNetU8 thickness(
unsigned int segment=0 )
const;
5980 virtual void setPattern( DtNetU32 patt );
5981 virtual void setPattern(
unsigned int segment, DtNetU32 patt );
5982 virtual const DtNetU32 pattern(
unsigned int segment=0 )
const;
5984 virtual void setColor( DtNetU8 color[4] );
5985 virtual void setColor(
unsigned int segment, DtNetU8 color[4] );
5987 virtual const DtNetU8*
color()
const;
5988 virtual const DtNetU8*
color(
unsigned int segment )
const;
5990 virtual void setPercentage(
unsigned int segment, DtNetU8 percent );
5991 virtual const DtNetU8 percentage(
unsigned int segment=0 )
const;
5994 virtual void setCheckLos(
bool checkLos );
5995 virtual bool checkLos()
const;
6000 virtual void setProjected(
bool projected );
6001 virtual bool projected()
const;
6016 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6025 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6042 DtSdcFillAreaOff =0x00,
6043 DtSdcFillAreaOn =0x40,
6044 DtSdcFillAreaEntry =0x40
6048 virtual void setFill(
bool onOff )
const;
6049 virtual bool fill()
const;
6051 virtual void setPattern( DtNetU32 patt );
6052 virtual const DtNetU32 pattern()
const;
6054 virtual void setScale(
const DtVector &pos );
6057 virtual void setRotation(
const DtTaitBryan &tait );
6058 virtual DtTaitBryan rotation()
const;
6061 virtual const char*
string()
const;
6072 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6080 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6116 const DtSdcVector2D& size,
double rotation = 0.0,
double scale = 1.0,
6118 unsigned pattern = 0xffffffff,
bool flashing =
false );
6132 class DtExerciseConn;
6167 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6168 unsigned nextId = 0);
6188 const DtGlobalObjectDesignator& senderId,
6189 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6190 unsigned nextId = 0);
6217 DtFomMapper* mapper = DtRprFomMapper::create(NULL),
6218 const char* fedFileName = NULL,
6219 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6220 unsigned nextId = 0);
6245 const char* dsoName,
const char* fedFileName = NULL,
6246 void* fomMapInitData = NULL,
6247 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6248 unsigned nextId = 0);
6271 int siteId,
int applicationNum,
6272 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6273 unsigned nextId = 0);
6298 int siteId,
int applicationNum,
6299 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6300 unsigned nextId = 0);
6322 int siteId,
int applicationNum,
6323 const DtGlobalObjectDesignator& targetStealthId = SEND_TO_ALL,
6324 unsigned nextId = 0);
6359 virtual unsigned nextId();
6387 virtual void addToLayer(
unsigned id,
unsigned layerId);
6408 virtual void removeFromLayer(
unsigned id,
unsigned layerId );
6429 virtual void update(
unsigned id);
6437 virtual void show(
unsigned id);
6451 virtual void showAttribute(
unsigned groupId,
unsigned attributeId);
6459 virtual void hide(
unsigned id);
6473 virtual void hideAttribute(
unsigned groupId,
unsigned attributeId);
6523 bool flashing =
false );
6548 virtual void setText(
const DtString& text );
6595 virtual void setFont(
const char* fontFile,
float size);
6645 const DtVector32& enuOffset = DtVector32::zero(),
6674 virtual const DtString& text()
const;
6681 virtual void setText(
const DtString& text);
6703 virtual const DtVector32& offset()
const;
6710 virtual void setOffset(
const DtVector32& off);
6777 virtual void setText(
DtString s );
6778 virtual const DtString text()
const;
6781 virtual const char*
string()
const;
6790 DtSdcTextPdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
6792 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6800 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
6850 bool fill =
false,
unsigned pattern = 0xffffffff,
bool flashing =
false );
6947 virtual double rotation()
const;
6954 virtual void setRotation(
double rotation );
6976 virtual bool fill()
const;
6984 virtual void setFill(
bool fill );
6991 virtual unsigned pattern()
const;
7000 virtual void setPattern(
unsigned pattern );
7031 virtual void transformVertices();
7073 DtVector32 offset = DtVector32::zero(),
7075 const DtString& textureDirectory =
"",
7076 const DtString& textureFilename = DtString::nullString(),
7077 int numTextureTiles = 0,
bool flashing =
false);
7106 virtual const DtVector& vertex1()
const;
7113 virtual void setVertex1(
const DtVector& vertex1);
7120 virtual const DtVector& vertex2()
const;
7127 virtual void setVertex2(
const DtVector& vertex2);
7134 virtual const DtVector& vertex3()
const;
7141 virtual void setVertex3(
const DtVector& vertex3);
7151 virtual void setPoint(
int index,
const DtVector &pos );
7152 virtual const DtVector point(
int index )
const;
7155 virtual const char*
string()
const;
7167 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
7176 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
7183 virtual void setNumPoints(
int nPoints );
7184 virtual const int numPoints()
const;
7186 virtual void setPoint(
int index,
const DtVector &pos );
7187 virtual const DtVector point(
int index )
const;
7189 virtual void setTextureDirectory(
const DtString& str);
7190 virtual const DtString textureDirectory()
const;
7192 virtual void setTextureFilename(
const DtString& str);
7193 virtual const DtString textureFilename()
const;
7195 virtual void setNumTextureTiles(
int numTextureTiles );
7196 virtual const int numTextureTiles()
const;
7199 virtual const char*
string()
const;
7210 DtSdcAreaPdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
7212 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
7221 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
7224 #include <vrvVrl/legacyStealthControl.inl>