VR-Forces 5.0.3 Developer's Guide
 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. This container class extends the DtCigiLosBasicResponse class to add the additional data needed for an extended response.

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

Public Member Functions

virtual ~DtCigiLosExtendedResponse ()
 
DtCigiLosExtendedResponseoperator= (const DtCigiLosExtendedResponse &rhs)
 
virtual bool valid () const
 
virtual void setValid (bool valid)
 
virtual const DtVectorintersectionPoint () const
 
virtual void setIntersectionPoint (const DtVector &isect)
 
virtual float normalAzimuth () const
 
virtual void setNormalAzimuth (float az)
 
virtual float normalElevation () const
 
virtual void setNormalElevation (float el)
 
virtual bool responseIsGeodetic () const
 
virtual void setResponseIsGeodetic (bool geodetic)
 
- Public Member Functions inherited from makVrv::DtCigiLosBasicResponse
virtual ~DtCigiLosBasicResponse ()
 
DtCigiLosBasicResponseoperator= (const DtCigiLosBasicResponse &rhs)
 
virtual unsigned int losId () const
 
virtual void setLosId (unsigned int id)
 
virtual unsigned int hostFrameNumber () const
 
virtual void setHostFrameNumber (unsigned int frameNum)
 
virtual bool rangeValid () const
 
virtual void setRangeValid (bool valid)
 
virtual double range () const
 
virtual void setRange (double r)
 
virtual DtUniqueID entityHit () const
 
virtual void setEntityHit (DtUniqueID source)
 
virtual int cigiEntityHit () const
 
virtual void setCigiEntityHit (int source)
 
virtual std::string connectionObjectEntityHit () const
 
virtual void setConnectionObjectEntityHit (std::string source)
 
virtual bool endpointVisible () const
 
virtual void setEndpointVisible (bool vis)
 
virtual unsigned int responseCount () const
 
virtual void setResponseCount (unsigned int count)
 

Protected Member Functions

 DtCigiLosExtendedResponse ()
 
- Protected Member Functions inherited from makVrv::DtCigiLosBasicResponse
 DtCigiLosBasicResponse ()
 

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
 
std::string myConnectionObjectEntityHit
 
double myRange
 

Private Member Functions

 DtCigiLosExtendedResponse (const DtCigiLosExtendedResponse &orig)
 

Friends

class DtCigiLosExtendedResponseCreator
 

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

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 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

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 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

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 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

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 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

Set/Get the response is geodetic flag. This is not actually needed to send the response, but is useful to track for debugging.

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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)