VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtCigiLosExtendedResponse Class Reference

A DtCigiIntersectionHandler processes CIGI LOS Requests and packages the results into instances of this class if an Extended response was requested. More...

Inheritance diagram for makVrv::DtCigiLosExtendedResponse:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtCigiLosExtendedResponse ()
 DTOR.
DtCigiLosExtendedResponseoperator= (const DtCigiLosExtendedResponse &rhs)
 Assignment operator.
virtual bool valid () const
 Get/Set the valid flag.
virtual void setValid (bool valid)
virtual const DtVectorintersectionPoint () const
 Get/Set the intersection point.
virtual void setIntersectionPoint (const DtVector &isect)
virtual float normalAzimuth () const
 Get/Set the normal azimuth.
virtual void setNormalAzimuth (float az)
virtual float normalElevation () const
 Get/Set the normal elevation.
virtual void setNormalElevation (float el)
virtual bool responseIsGeodetic () const
 Set/Get the response is geodetic flag.
virtual void setResponseIsGeodetic (bool geodetic)
- Public Member Functions inherited from makVrv::DtCigiLosBasicResponse
virtual ~DtCigiLosBasicResponse ()
 DTOR.
DtCigiLosBasicResponseoperator= (const DtCigiLosBasicResponse &rhs)
 Assignment operator.
virtual unsigned int losId () const
 Get/Set the los id used by the host to request this los check.
virtual void setLosId (unsigned int id)
virtual unsigned int hostFrameNumber () const
 Get/Set the hostFrameNumber for this request.
virtual void setHostFrameNumber (unsigned int frameNum)
virtual bool rangeValid () const
 Get/Set the rangeValid flag.
virtual void setRangeValid (bool valid)
virtual double range () const
 The distance from the start of the intersector to the intersection.
virtual void setRange (double r)
virtual DtUniqueID entityHit () const
 Get/Set the scene object ID of the entity hit for this intersection, if any.
virtual void setEntityHit (DtUniqueID source)
virtual int cigiEntityHit () const
 Get/Set the cigi entity ID of the entity specified as the start point for the LOS request (or -1) if not set.
virtual void setCigiEntityHit (int source)
virtual bool endpointVisible () const
 Get/Set the endpointVisible flag.
virtual void setEndpointVisible (bool vis)
virtual unsigned int responseCount () const
 Get/Set the response count.
virtual void setResponseCount (unsigned int count)

Protected Member Functions

 DtCigiLosExtendedResponse ()
 (Protected) CTOR. Can only be constructed through DtCigiLosRequestCreator
- Protected Member Functions inherited from makVrv::DtCigiLosBasicResponse
 DtCigiLosBasicResponse ()
 (Protected) CTOR. Can only be constructed through DtCigiLosRequestCreator

Protected Attributes

bool myValid
DtVector myIntersectionPoint
float myNormalAzimuth
float myNormalElevation
bool myResponseIsGeodetic
- Protected Attributes inherited from makVrv::DtCigiLosBasicResponse
unsigned int myLosId
unsigned int myHostFrameNumber
bool myRangeValid
bool myEndpointVisible
unsigned int myResponseCount
DtUniqueID myEntityHit
int myCigiEntityHit
double myRange

Private Member Functions

 DtCigiLosExtendedResponse (const DtCigiLosExtendedResponse &orig)
 (Unimplemented) Copy CTOR

Friends

class DtCigiLosExtendedResponseCreator
 Friended so that the creator can call the (protected) CTOR.

Detailed Description

A DtCigiIntersectionHandler processes CIGI LOS Requests and packages the results into instances of this class if an Extended response was requested.

This container class extends the DtCigiLosBasicResponse class to add the additional data needed for an extended response.

Constructor & Destructor Documentation

virtual makVrv::DtCigiLosExtendedResponse::~DtCigiLosExtendedResponse ( )
virtual

DTOR.

makVrv::DtCigiLosExtendedResponse::DtCigiLosExtendedResponse ( )
protected

(Protected) CTOR. Can only be constructed through DtCigiLosRequestCreator

makVrv::DtCigiLosExtendedResponse::DtCigiLosExtendedResponse ( const DtCigiLosExtendedResponse orig)
private

(Unimplemented) Copy CTOR

Member Function Documentation

DtCigiLosExtendedResponse& makVrv::DtCigiLosExtendedResponse::operator= ( const DtCigiLosExtendedResponse rhs)

Assignment operator.

virtual bool makVrv::DtCigiLosExtendedResponse::valid ( ) const
virtual

Get/Set the valid flag.

This parameter indicates whether this packet contains valid data. A value of Invalid (0) indicates that the LOS test segment or vector did not intersect any geometry.

virtual void makVrv::DtCigiLosExtendedResponse::setValid ( bool  valid)
virtual
virtual const DtVector& makVrv::DtCigiLosExtendedResponse::intersectionPoint ( ) const
virtual

Get/Set the intersection point.

If the Entity ID Valid parameter is set to Invalid (0) or if Response Coordinate System in the requesting packet was set to Geodetic (0), this parameter indicates the geodetic lat/lon/alt of the point of intersection along the LOS test segment or vector. If this packet is in response to an LOS segment request and Visible is set to Occluded (0), this point is on the occulting surface. If this packet is in response to an LOS segment request and Visible is set to Visible (1), this point is simply the destination point. If the Entity ID Valid parameter is set to Valid (1) and Response Coordinate System in the requesting packet was set to Entity (1), this parameter specifies the offset of the point of intersection of the LOS test segment or vector along the intersected entity’s X/Y/Z axis.

virtual void makVrv::DtCigiLosExtendedResponse::setIntersectionPoint ( const DtVector isect)
virtual
virtual float makVrv::DtCigiLosExtendedResponse::normalAzimuth ( ) const
virtual

Get/Set the normal azimuth.

This parameter indicates the azimuth of a vector normal to the surface intersected by the LOS test segment or vector. This value is the horizontal angle from True North to the normal vector. This parameter is valid only if the Valid parameter is set to one(1). Values: -180.0 – 180.0

virtual void makVrv::DtCigiLosExtendedResponse::setNormalAzimuth ( float  az)
virtual
virtual float makVrv::DtCigiLosExtendedResponse::normalElevation ( ) const
virtual

Get/Set the normal elevation.

This parameter indicates the elevation of a vector normal to the surface intersected by the LOS test segment or vector. This value is the vertical angle from the geodetic reference plane to the normal vector. This parameter is valid only if the Valid parameter is set to one(1). Values: -90.0 – 90.0

virtual void makVrv::DtCigiLosExtendedResponse::setNormalElevation ( float  el)
virtual
virtual bool makVrv::DtCigiLosExtendedResponse::responseIsGeodetic ( ) const
virtual

Set/Get the response is geodetic flag.

This is not actually needed to send the response, but is useful to track for debugging

virtual void makVrv::DtCigiLosExtendedResponse::setResponseIsGeodetic ( bool  geodetic)
virtual

Friends And Related Function Documentation

friend class DtCigiLosExtendedResponseCreator
friend

Friended so that the creator can call the (protected) CTOR.

Member Data Documentation

bool makVrv::DtCigiLosExtendedResponse::myValid
protected
DtVector makVrv::DtCigiLosExtendedResponse::myIntersectionPoint
protected
float makVrv::DtCigiLosExtendedResponse::myNormalAzimuth
protected
float makVrv::DtCigiLosExtendedResponse::myNormalElevation
protected
bool makVrv::DtCigiLosExtendedResponse::myResponseIsGeodetic
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)