VR-Engage  2.2
Loading...
Searching...
No Matches
makRadarFx::DtIsarRequest Class Reference

Detailed Description

This class encapsulates a request for an Inverse Synthetic Aperture Radar (ISAR) image from the RadarFX server. It contains parameters that specify the sensor platform position, target entity, radar system settings, and image format settings. ISAR images provide detailed radar imagery of moving objects and vehicles, using the target's motion to create the synthetic aperture.

#include <rfxIsarMessage.h>

Inheritance diagram for makRadarFx::DtIsarRequest:
[legend]

Public Member Functions

 DtIsarRequest ()
 
virtual ~DtIsarRequest ()
 
virtual void useObserverAsHost ()
 
virtual void setOwnshipLocation (DtVector location)
 
virtual DtVector ownshipLocation ()
 
virtual void setOwnshipEntityId (const std::string &name)
 
virtual std::string ownshipEntityId ()
 
virtual bool isUsingObserverAsHost ()
 
virtual bool isUsingEntityAsHost ()
 
virtual bool isUsingAbsoluteLocation ()
 
virtual void useObserverForTarget ()
 
virtual void setTargetEntityId (const std::string &name)
 
virtual std::string targetEntityId ()
 
virtual void setTargetLocation (DtVector location)
 
virtual DtVector targetLocation ()
 
virtual bool isUsingObserverForTarget ()
 
virtual bool isUsingEntityForTarget ()
 
virtual bool isUsingLocationForTarget ()
 
virtual void setRadarOffsetLocation (DtVector offset)
 
virtual DtVector radarOffsetLocation ()
 
virtual void setRadarOffsetOrientation (DtTaitBryan offsetOrientation)
 
virtual DtTaitBryan radarOffsetOrientation ()
 
virtual void setRadarSystemName (const std::string &name)
 
virtual std::string radarSystemName ()
 
virtual void setIsAgcPowerEnabled (bool isAgcPowerEnabled)
 
virtual bool isAgcPowerEnabled () const
 
virtual void setPower (float power)
 
virtual float power ()
 
virtual void setImageSize (const DtImageSize &size)
 
virtual DtImageSize imageSize ()
 
virtual void setImageDataType (DtImageDataType type)
 
virtual DtImageDataType imageDataType ()
 
virtual void setImageFormat (DtImageFormat format)
 
virtual DtImageFormat imageFormat ()
 
virtual void setImageReturnMethod (unsigned int returnFlags)
 
virtual unsigned int imageReturnMethod ()
 
virtual void setImageSavePath (const std::string &filename)
 
virtual std::string imageSavePath ()
 
virtual void setImageFilename (const std::string &filename)
 
virtual std::string imageFilename ()
 
virtual int numRequestedImages ()
 
virtual void setNumRequestedImages (int numImages)
 
virtual float viewMagnification ()
 
virtual void setViewMagnification (float zoom)
 
virtual double integrationTime ()
 
virtual void setIntegrationTime (double time)
 
virtual int messageSize ()
 
virtual DtBaseMessageclone ()
 
- Public Member Functions inherited from makRadarFx::DtImageRequest
 DtImageRequest ()
 
virtual ~DtImageRequest ()
 
- Public Member Functions inherited from makRadarFx::DtBaseMessage
 DtBaseMessage ()
 
virtual ~DtBaseMessage ()
 
virtual unsigned int messageType () const
 
virtual unsigned char * encode ()
 
virtual void setRequestorId (const std::string &requestor)
 
virtual std::string requestorId ()
 
virtual void setRequestId (int id)
 
virtual int requestId ()
 

Static Public Member Functions

static DtBaseMessagedecode (unsigned char *buffer, int length)
 

Protected Member Functions

virtual void serialize (DtStreamWriter &writer)
 
virtual void deserialize (DtStreamReader &reader)
 

Protected Attributes

bool myUseObserverAsHost
 
bool myUseEntityAsHost
 
bool myUseAbsoluteOwnship
 
bool myUseObserverForTarget
 
bool myUseEntityAsTarget
 
bool myUseAbsoluteTarget
 
bool myIsAgcPowerEnabled
 
std::string myOwnshipName
 
std::string myTargetName
 
DtVector myOwnshipLocation
 
DtVector myTargetLocation
 
DtVector myRadarOffsetLocation
 
DtTaitBryan myRadarOffsetOrientation
 
std::string myRadarName
 
float myPower
 
DtImageSize myImageSize
 
DtImageFormat myImageFormat
 
DtImageDataType myImageDataType
 
unsigned int myReturnMethod
 
std::string myImageSavePath
 
std::string myImageFilename
 
int myNumRequestedImages
 
float myViewMagnification
 
double myIntegrationTime
 
- Protected Attributes inherited from makRadarFx::DtBaseMessage
unsigned int myMessageType
 
std::string myRequestorId
 
int myRequestId
 

Constructor & Destructor Documentation

◆ DtIsarRequest()

makRadarFx::DtIsarRequest::DtIsarRequest ( )

Default constructor.

Initializes a new ISAR image request message with default settings

◆ ~DtIsarRequest()

virtual makRadarFx::DtIsarRequest::~DtIsarRequest ( )
virtual

Virtual destructor.

Member Function Documentation

◆ useObserverAsHost()

virtual void makRadarFx::DtIsarRequest::useObserverAsHost ( )
virtual

calling this function causes the message to use the current observer's position and orientation for the SAR image setup. The client doees not need to set an ownship location or target location if using this method to orient the sensor.

◆ setOwnshipLocation()

virtual void makRadarFx::DtIsarRequest::setOwnshipLocation ( DtVector location)
virtual

if the ownship is not hosted in the simulation system, we can explicitly state where we want to perform the elevation test from

◆ ownshipLocation()

virtual DtVector makRadarFx::DtIsarRequest::ownshipLocation ( )
virtual

◆ setOwnshipEntityId()

virtual void makRadarFx::DtIsarRequest::setOwnshipEntityId ( const std::string & name)
virtual

If the ownship is hosted by the simulation system, we can use its global simulation name to look it up.

◆ ownshipEntityId()

virtual std::string makRadarFx::DtIsarRequest::ownshipEntityId ( )
virtual

◆ isUsingObserverAsHost()

virtual bool makRadarFx::DtIsarRequest::isUsingObserverAsHost ( )
virtual

functions to determine how to place the sensor

◆ isUsingEntityAsHost()

virtual bool makRadarFx::DtIsarRequest::isUsingEntityAsHost ( )
virtual

◆ isUsingAbsoluteLocation()

virtual bool makRadarFx::DtIsarRequest::isUsingAbsoluteLocation ( )
virtual

◆ useObserverForTarget()

virtual void makRadarFx::DtIsarRequest::useObserverForTarget ( )
virtual

calling this function causes the message to use the current observer's view to determine the target for the SAR image setup.

◆ setTargetEntityId()

virtual void makRadarFx::DtIsarRequest::setTargetEntityId ( const std::string & name)
virtual

If the ownship is the target of the sensor, we can use its global simulation name to look it up.

◆ targetEntityId()

virtual std::string makRadarFx::DtIsarRequest::targetEntityId ( )
virtual

◆ setTargetLocation()

virtual void makRadarFx::DtIsarRequest::setTargetLocation ( DtVector location)
virtual

this is the target that we would like to look at. Location format is latitude/longitude/altitude (in degrees/meters). the altitude of the target location is not required.

◆ targetLocation()

virtual DtVector makRadarFx::DtIsarRequest::targetLocation ( )
virtual

◆ isUsingObserverForTarget()

virtual bool makRadarFx::DtIsarRequest::isUsingObserverForTarget ( )
virtual

functions to determine how to place the target

◆ isUsingEntityForTarget()

virtual bool makRadarFx::DtIsarRequest::isUsingEntityForTarget ( )
virtual

◆ isUsingLocationForTarget()

virtual bool makRadarFx::DtIsarRequest::isUsingLocationForTarget ( )
virtual

◆ setRadarOffsetLocation()

virtual void makRadarFx::DtIsarRequest::setRadarOffsetLocation ( DtVector offset)
virtual

the offset location of the sensor on the hosting entity. Only valid when a hosting entity is defined

◆ radarOffsetLocation()

virtual DtVector makRadarFx::DtIsarRequest::radarOffsetLocation ( )
virtual

◆ setRadarOffsetOrientation()

virtual void makRadarFx::DtIsarRequest::setRadarOffsetOrientation ( DtTaitBryan offsetOrientation)
virtual

the offset orientation of the sensor from the hosting entite's orientation. Only valid when a hosting entity is defined

◆ radarOffsetOrientation()

virtual DtTaitBryan makRadarFx::DtIsarRequest::radarOffsetOrientation ( )
virtual

◆ setRadarSystemName()

virtual void makRadarFx::DtIsarRequest::setRadarSystemName ( const std::string & name)
virtual

The name of the sensor system to use. This must match one of the sensors that the RadarFX server has configured.

◆ radarSystemName()

virtual std::string makRadarFx::DtIsarRequest::radarSystemName ( )
virtual

◆ setIsAgcPowerEnabled()

virtual void makRadarFx::DtIsarRequest::setIsAgcPowerEnabled ( bool isAgcPowerEnabled)
virtual

Whether or not to use AGC for Power.

References isAgcPowerEnabled().

◆ isAgcPowerEnabled()

virtual bool makRadarFx::DtIsarRequest::isAgcPowerEnabled ( ) const
virtual

Referenced by setIsAgcPowerEnabled().

◆ setPower()

virtual void makRadarFx::DtIsarRequest::setPower ( float power)
virtual

Radar system power setting in Watts.

References power().

◆ power()

virtual float makRadarFx::DtIsarRequest::power ( )
virtual

Referenced by setPower().

◆ setImageSize()

virtual void makRadarFx::DtIsarRequest::setImageSize ( const DtImageSize & size)
virtual

Requested image pixel size. This may not be the returned size due to image rotation.

◆ imageSize()

virtual DtImageSize makRadarFx::DtIsarRequest::imageSize ( )
virtual

◆ setImageDataType()

virtual void makRadarFx::DtIsarRequest::setImageDataType ( DtImageDataType type)
virtual

Requested data type of the returned image data. Only available for RAW/NITF image types.

◆ imageDataType()

virtual DtImageDataType makRadarFx::DtIsarRequest::imageDataType ( )
virtual

◆ setImageFormat()

virtual void makRadarFx::DtIsarRequest::setImageFormat ( DtImageFormat format)
virtual

Requested format of the returned image data.

◆ imageFormat()

virtual DtImageFormat makRadarFx::DtIsarRequest::imageFormat ( )
virtual

◆ setImageReturnMethod()

virtual void makRadarFx::DtIsarRequest::setImageReturnMethod ( unsigned int returnFlags)
virtual

Bitfield for image data return types.

◆ imageReturnMethod()

virtual unsigned int makRadarFx::DtIsarRequest::imageReturnMethod ( )
virtual

◆ setImageSavePath()

virtual void makRadarFx::DtIsarRequest::setImageSavePath ( const std::string & filename)
virtual

Requested path for image if it is to be saved by the server If the path does not exist, the server will attempt to create it.

◆ imageSavePath()

virtual std::string makRadarFx::DtIsarRequest::imageSavePath ( )
virtual

◆ setImageFilename()

virtual void makRadarFx::DtIsarRequest::setImageFilename ( const std::string & filename)
virtual

Requested filename for image if it is to be saved by the server If this is not set, then the date/timestamp will be used as the filename if this is set, then the filename will be used plus a date/time stamp and the extension will be determined automatically.

◆ imageFilename()

virtual std::string makRadarFx::DtIsarRequest::imageFilename ( )
virtual

◆ numRequestedImages()

virtual int makRadarFx::DtIsarRequest::numRequestedImages ( )
virtual

accessors for the number of images/responses to generate

◆ setNumRequestedImages()

virtual void makRadarFx::DtIsarRequest::setNumRequestedImages ( int numImages)
virtual

◆ viewMagnification()

virtual float makRadarFx::DtIsarRequest::viewMagnification ( )
virtual

accessors for the view magnification to use for this request

◆ setViewMagnification()

virtual void makRadarFx::DtIsarRequest::setViewMagnification ( float zoom)
virtual

◆ integrationTime()

virtual double makRadarFx::DtIsarRequest::integrationTime ( )
virtual

accessors for the integratino time to use for this request.

◆ setIntegrationTime()

virtual void makRadarFx::DtIsarRequest::setIntegrationTime ( double time)
virtual

◆ messageSize()

virtual int makRadarFx::DtIsarRequest::messageSize ( )
virtual

size of the message

Reimplemented from makRadarFx::DtBaseMessage.

◆ decode()

static DtBaseMessage * makRadarFx::DtIsarRequest::decode ( unsigned char * buffer,
int length )
static

decode a message. Used by the factory

◆ clone()

virtual DtBaseMessage * makRadarFx::DtIsarRequest::clone ( )
virtual

clone a message. Caller of function is responsible managing this memory

Implements makRadarFx::DtBaseMessage.

◆ serialize()

virtual void makRadarFx::DtIsarRequest::serialize ( DtStreamWriter & writer)
protectedvirtual

Serializes the message data to a stream writer.

Parameters
writerReference to the stream writer to write the data to

Writes the message data to the provided stream writer. Derived classes should call the base class implementation before adding their own fields.

Reimplemented from makRadarFx::DtBaseMessage.

◆ deserialize()

virtual void makRadarFx::DtIsarRequest::deserialize ( DtStreamReader & reader)
protectedvirtual

Deserializes message data from a stream reader.

Parameters
readerReference to the stream reader to read the data from

Reads the message data from the provided stream reader. Derived classes should call the base class implementation before reading their own fields.

Reimplemented from makRadarFx::DtBaseMessage.

Member Data Documentation

◆ myUseObserverAsHost

bool makRadarFx::DtIsarRequest::myUseObserverAsHost
protected

◆ myUseEntityAsHost

bool makRadarFx::DtIsarRequest::myUseEntityAsHost
protected

◆ myUseAbsoluteOwnship

bool makRadarFx::DtIsarRequest::myUseAbsoluteOwnship
protected

◆ myUseObserverForTarget

bool makRadarFx::DtIsarRequest::myUseObserverForTarget
protected

◆ myUseEntityAsTarget

bool makRadarFx::DtIsarRequest::myUseEntityAsTarget
protected

◆ myUseAbsoluteTarget

bool makRadarFx::DtIsarRequest::myUseAbsoluteTarget
protected

◆ myIsAgcPowerEnabled

bool makRadarFx::DtIsarRequest::myIsAgcPowerEnabled
protected

◆ myOwnshipName

std::string makRadarFx::DtIsarRequest::myOwnshipName
protected

◆ myTargetName

std::string makRadarFx::DtIsarRequest::myTargetName
protected

◆ myOwnshipLocation

DtVector makRadarFx::DtIsarRequest::myOwnshipLocation
protected

◆ myTargetLocation

DtVector makRadarFx::DtIsarRequest::myTargetLocation
protected

◆ myRadarOffsetLocation

DtVector makRadarFx::DtIsarRequest::myRadarOffsetLocation
protected

◆ myRadarOffsetOrientation

DtTaitBryan makRadarFx::DtIsarRequest::myRadarOffsetOrientation
protected

◆ myRadarName

std::string makRadarFx::DtIsarRequest::myRadarName
protected

◆ myPower

float makRadarFx::DtIsarRequest::myPower
protected

◆ myImageSize

DtImageSize makRadarFx::DtIsarRequest::myImageSize
protected

◆ myImageFormat

DtImageFormat makRadarFx::DtIsarRequest::myImageFormat
protected

◆ myImageDataType

DtImageDataType makRadarFx::DtIsarRequest::myImageDataType
protected

◆ myReturnMethod

unsigned int makRadarFx::DtIsarRequest::myReturnMethod
protected

◆ myImageSavePath

std::string makRadarFx::DtIsarRequest::myImageSavePath
protected

◆ myImageFilename

std::string makRadarFx::DtIsarRequest::myImageFilename
protected

◆ myNumRequestedImages

int makRadarFx::DtIsarRequest::myNumRequestedImages
protected

◆ myViewMagnification

float makRadarFx::DtIsarRequest::myViewMagnification
protected

◆ myIntegrationTime

double makRadarFx::DtIsarRequest::myIntegrationTime
protected

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