![]() |
VR-Forces 4.6 Class Documentation
|
Instances of DtRectangularPyramidPdu are used for DIS network packets which encode the DtRectangularPyramidStateRepository repository. More...

Public Member Functions | |
| DtRectangularPyramidPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtRectangularPyramidPdu (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) | |
| DtRectangularPyramidPdu (const DtRectangularPyramidPdu &orig) | |
| Copy constructor. | |
| virtual | ~DtRectangularPyramidPdu () |
| destructor | |
| DtRectangularPyramidPdu & | operator= (const DtRectangularPyramidPdu &orig) |
| Assignment operator. | |
| virtual void | setXHalfAngle (DtFloat64 val) |
| Set the XHalfAngle. | |
| DtFloat64 | xHalfAngle () const |
| Get the XHalfAngle. | |
| virtual void | setYHalfAngle (DtFloat64 val) |
| Set the YHalfAngle. | |
| DtFloat64 | yHalfAngle () const |
| Get the YHalfAngle. | |
| DtEntityIdentifier | pduEntityIdentifier () const |
| DtString | uniqueKey () const |
Public Member Functions inherited from DtSensorFieldOfViewPdu | |
| DtSensorFieldOfViewPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtSensorFieldOfViewPdu (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) | |
| DtSensorFieldOfViewPdu (const DtSensorFieldOfViewPdu &orig) | |
| Copy Constructor. | |
| virtual | ~DtSensorFieldOfViewPdu () |
| destructor | |
| DtSensorFieldOfViewPdu & | operator= (const DtSensorFieldOfViewPdu &orig) |
| Assignment operator. | |
| virtual void | setRelativeLocation (const DtVector &val) |
| Set the RelativeLocation. | |
| DtVector | relativeLocation () const |
| Get the RelativeLocation. | |
| virtual void | setHost (const DtGlobalObjectDesignator &val) |
| Set the Host. | |
| DtGlobalObjectDesignator | host () const |
| Get the Host. | |
| virtual void | setId (const DtString &val) |
| Set the Id. | |
| DtString | id () const |
| Get the Id. | |
| virtual void | setRadius (DtFloat64 val) |
| Set the Radius. | |
| DtFloat64 | radius () const |
| Get the Radius. | |
| virtual void | setTrackingMode (DtSensorTrackingMode val) |
| Set the TrackingMode. | |
| DtSensorTrackingMode | trackingMode () const |
| Get the TrackingMode. | |
| virtual void | setRelativeOrientation (const DtTaitBryan &val) |
| Set the RelativeOrientation. | |
| DtTaitBryan | relativeOrientation () const |
| Get the RelativeOrientation. | |
| virtual void | setTargetedEntity (const DtGlobalObjectDesignator &val) |
| Set the TargetedEntity. | |
| DtGlobalObjectDesignator | targetedEntity () const |
| Get the TargetedEntity. | |
| virtual void | setTargetedLocation (const DtVector &val) |
| Set the TargetedLocation. | |
| DtVector | targetedLocation () const |
| Get the TargetedLocation. | |
| virtual void | setMinimumAzimuthAngle (DtFloat64 val) |
| Set the MinimumAzimuthAngle. | |
| DtFloat64 | minimumAzimuthAngle () const |
| Get the MinimumAzimuthAngle. | |
| virtual void | setMaximumAzimuthAngle (DtFloat64 val) |
| Set the MaximumAzimuthAngle. | |
| DtFloat64 | maximumAzimuthAngle () const |
| Get the MaximumAzimuthAngle. | |
| virtual void | setMinimumElevationAngle (DtFloat64 val) |
| Set the MinimumElevationAngle. | |
| DtFloat64 | minimumElevationAngle () const |
| Get the MinimumElevationAngle. | |
| virtual void | setMaximumElevationAngle (DtFloat64 val) |
| Set the MaximumElevationAngle. | |
| DtFloat64 | maximumElevationAngle () const |
| Get the MaximumElevationAngle. | |
| virtual void | setMaximumZoomLevel (DtFloat64 val) |
| Set the MaximumZoomLevel. | |
| DtFloat64 | maximumZoomLevel () const |
| Get the MaximumZoomLevel. | |
| virtual void | setZoomLevel (DtFloat64 val) |
| Set the ZoomLevel. | |
| DtFloat64 | zoomLevel () const |
| Get the ZoomLevel. | |
| virtual void | setColor (DtU32 val) |
| Set the color. | |
| DtU32 | color () const |
| Get the Color. | |
Static Public Member Functions | |
| static DtPdu * | create (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| Create a DtRectangularPyramidPdu. | |
| static void | addCallback (DtExerciseConn *conn, RectangularPyramidCb cb, void *usr) |
| Add (register)/Remove (deregister) function to be called when a PDU is received. | |
| static void | removeCallback (DtExerciseConn *conn, RectangularPyramidCb cb, void *usr) |
Static Public Member Functions inherited from DtSensorFieldOfViewPdu | |
| static void | addCallback (DtExerciseConn *conn, SensorFieldOfViewCb cb, void *usr) |
| Add (register)/Remove (deregister) function to be called when a PDU is received. | |
| static void | removeCallback (DtExerciseConn *conn, SensorFieldOfViewCb cb, void *usr) |
Protected Member Functions | |
| virtual unsigned int | fixedBytesSize () const |
| virtual char * | firstVarDatumStart () const |
| DtPduKind | internalGetPduKind () const |
Static Protected Member Functions | |
| static DtPduKind | internalGetPduKindImpl () |
Instances of DtRectangularPyramidPdu are used for DIS network packets which encode the DtRectangularPyramidStateRepository repository.
The actual network layout occurs in the DtNetRectangularPyramidPdu.
| DtRectangularPyramidPdu::DtRectangularPyramidPdu | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
| DtRectangularPyramidPdu::DtRectangularPyramidPdu | ( | const DtNetPacket * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER, |
||
| DtPduFactory * | pduFactory = 0 |
||
| ) |
| DtRectangularPyramidPdu::DtRectangularPyramidPdu | ( | const DtRectangularPyramidPdu & | orig | ) |
Copy constructor.
|
virtual |
destructor
| DtRectangularPyramidPdu& DtRectangularPyramidPdu::operator= | ( | const DtRectangularPyramidPdu & | orig | ) |
Assignment operator.
|
virtual |
Set the XHalfAngle.
| DtFloat64 DtRectangularPyramidPdu::xHalfAngle | ( | ) | const |
Get the XHalfAngle.
|
virtual |
Set the YHalfAngle.
| DtFloat64 DtRectangularPyramidPdu::yHalfAngle | ( | ) | const |
Get the YHalfAngle.
| DtEntityIdentifier DtRectangularPyramidPdu::pduEntityIdentifier | ( | ) | const |
Reimplemented from DtSensorFieldOfViewPdu.
| DtString DtRectangularPyramidPdu::uniqueKey | ( | ) | const |
Reimplemented from DtSensorFieldOfViewPdu.
|
static |
Create a DtRectangularPyramidPdu.
Caller is responsible for deletion.
Reimplemented from DtSensorFieldOfViewPdu.
|
static |
Add (register)/Remove (deregister) function to be called when a PDU is received.
|
static |
Reimplemented from DtSensorFieldOfViewPdu.
|
protectedvirtual |
Reimplemented from DtSensorFieldOfViewPdu.
|
inlinestaticprotected |
Reimplemented from DtSensorFieldOfViewPdu.
References DtSensorFieldOfViewRectangularPyramidPduKind.
|
inlineprotected |
Reimplemented from DtSensorFieldOfViewPdu.
References DtSensorFieldOfViewPdu::internalGetPduKindImpl().