21#include <matrix/vlVector.h>
22#include <matrix/vlTaitBryan.h>
232 virtual void setData(
unsigned char* buffer,
int length);
Base class for all RadarFX messages.
Definition rfxMessage.h:35
DtImageRequest()
Default constructor.
DtImageResponse()
Default constructor.
virtual std::string imageFilename()
std::string myRadarName
Definition rfxIsarMessage.h:177
bool myUseAbsoluteTarget
Definition rfxIsarMessage.h:167
virtual DtBaseMessage * clone()
clone a message. Caller of function is responsible managing this memory
virtual bool isAgcPowerEnabled() const
virtual void setIsAgcPowerEnabled(bool isAgcPowerEnabled)
Whether or not to use AGC for Power.
float myViewMagnification
Definition rfxIsarMessage.h:186
DtTaitBryan myRadarOffsetOrientation
Definition rfxIsarMessage.h:176
virtual DtVector targetLocation()
virtual void setImageSize(const DtImageSize &size)
Requested image pixel size. This may not be the returned size due to image rotation.
DtVector myOwnshipLocation
Definition rfxIsarMessage.h:172
virtual void setOwnshipLocation(DtVector location)
if the ownship is not hosted in the simulation system, we can explicitly state where we want to perfo...
virtual std::string targetEntityId()
DtIsarRequest()
Default constructor.
virtual void useObserverAsHost()
calling this function causes the message to use the current observer's position and orientation for t...
virtual void setImageSavePath(const std::string &filename)
Requested path for image if it is to be saved by the server If the path does not exist,...
DtVector myTargetLocation
Definition rfxIsarMessage.h:173
virtual bool isUsingAbsoluteLocation()
virtual void setImageReturnMethod(unsigned int returnFlags)
Bitfield for image data return types.
virtual bool isUsingEntityAsHost()
bool myUseObserverAsHost
Definition rfxIsarMessage.h:162
virtual void deserialize(DtStreamReader &reader)
Deserializes message data from a stream reader.
virtual float viewMagnification()
accessors for the view magnification to use for this request
std::string myOwnshipName
Definition rfxIsarMessage.h:170
virtual DtTaitBryan radarOffsetOrientation()
virtual std::string imageSavePath()
unsigned int myReturnMethod
Definition rfxIsarMessage.h:182
virtual DtVector ownshipLocation()
virtual void setTargetLocation(DtVector location)
this is the target that we would like to look at. Location format is latitude/longitude/altitude (in ...
virtual DtImageSize imageSize()
virtual bool isUsingLocationForTarget()
virtual bool isUsingEntityForTarget()
bool myUseAbsoluteOwnship
Definition rfxIsarMessage.h:164
virtual void setImageFilename(const std::string &filename)
Requested filename for image if it is to be saved by the server If this is not set,...
virtual void setIntegrationTime(double time)
int myNumRequestedImages
Definition rfxIsarMessage.h:185
bool myIsAgcPowerEnabled
Definition rfxIsarMessage.h:168
virtual void setTargetEntityId(const std::string &name)
If the ownship is the target of the sensor, we can use its global simulation name to look it up.
bool myUseEntityAsHost
Definition rfxIsarMessage.h:163
DtImageFormat myImageFormat
Definition rfxIsarMessage.h:180
virtual void setRadarSystemName(const std::string &name)
The name of the sensor system to use. This must match one of the sensors that the RadarFX server has ...
double myIntegrationTime
Definition rfxIsarMessage.h:188
virtual DtImageDataType imageDataType()
std::string myImageFilename
Definition rfxIsarMessage.h:184
virtual double integrationTime()
accessors for the integratino time to use for this request.
virtual void setRadarOffsetOrientation(DtTaitBryan offsetOrientation)
the offset orientation of the sensor from the hosting entite's orientation. Only valid when a hosting...
bool myUseObserverForTarget
Definition rfxIsarMessage.h:165
virtual bool isUsingObserverAsHost()
functions to determine how to place the sensor
DtVector myRadarOffsetLocation
Definition rfxIsarMessage.h:175
virtual void setNumRequestedImages(int numImages)
virtual DtImageFormat imageFormat()
virtual DtVector radarOffsetLocation()
virtual std::string radarSystemName()
virtual std::string ownshipEntityId()
float myPower
Definition rfxIsarMessage.h:178
std::string myTargetName
Definition rfxIsarMessage.h:171
virtual void setRadarOffsetLocation(DtVector offset)
the offset location of the sensor on the hosting entity. Only valid when a hosting entity is defined
virtual unsigned int imageReturnMethod()
static DtBaseMessage * decode(unsigned char *buffer, int length)
decode a message. Used by the factory
virtual bool isUsingObserverForTarget()
functions to determine how to place the target
virtual void setImageDataType(DtImageDataType type)
Requested data type of the returned image data. Only available for RAW/NITF image types.
DtImageSize myImageSize
Definition rfxIsarMessage.h:179
virtual void setOwnshipEntityId(const std::string &name)
If the ownship is hosted by the simulation system, we can use its global simulation name to look it u...
DtImageDataType myImageDataType
Definition rfxIsarMessage.h:181
virtual int numRequestedImages()
accessors for the number of images/responses to generate
virtual void setViewMagnification(float zoom)
std::string myImageSavePath
Definition rfxIsarMessage.h:183
virtual int messageSize()
size of the message
virtual void useObserverForTarget()
calling this function causes the message to use the current observer's view to determine the target f...
bool myUseEntityAsTarget
Definition rfxIsarMessage.h:166
virtual ~DtIsarRequest()
Virtual destructor.
virtual void serialize(DtStreamWriter &writer)
Serializes the message data to a stream writer.
virtual void setPower(float power)
Radar system power setting in Watts.
virtual void setImageFormat(DtImageFormat format)
Requested format of the returned image data.
DtTaitBryan myOwnshipOrientation
Definition rfxIsarMessage.h:281
virtual DtBaseMessage * clone()
clone a message. Caller of function is responsible managing this memory
DtImageError myError
Definition rfxIsarMessage.h:270
virtual DtImageFormat imageFormat()
int myImageIndex
Definition rfxIsarMessage.h:279
virtual DtImageError error()
virtual void getCenterPosition(double &lat, double &lon, double &alt)
virtual void setOwnshipLocation(DtVector location)
ownship location at the time of the request being processed
virtual int dataLength()
Size of data for the returned image.
virtual DtVector ownshipLocation()
virtual void setImageSize(const DtImageSize &size)
Size of the image returned by the server.
virtual void setOwnshipOrientation(DtTaitBryan orientation)
ownship orientation at the time of the request being processed
double myCenterAlt
Definition rfxIsarMessage.h:285
DtImageWarning myWarning
Definition rfxIsarMessage.h:271
virtual unsigned int returnMethod()
virtual void setImageDataType(DtImageDataType type)
Image data type Only available for RAW/NITF image types.
static DtBaseMessage * decode(unsigned char *buffer, int length)
decode a message. Used by the factory
DtIsarResponse()
CTOR/DTOR.
virtual unsigned char * data()
DtImageDataType myImageDataType
Definition rfxIsarMessage.h:275
DtVector myOwnshipLocation
Definition rfxIsarMessage.h:280
virtual void setSensorViewDirection(double azimuth, double elevation)
the sensor view direction is azimuth from north and elevation from level in Radians.
DtImageSize myImageSize
Definition rfxIsarMessage.h:272
virtual void setSystemTime(double time)
UTC time of the request being processed.
double mySensorDirectionElevation
Definition rfxIsarMessage.h:287
virtual void setImageIndex(int index)
0 starting index for this image response
virtual ~DtIsarResponse()
virtual void serialize(DtStreamWriter &writer)
Serializes the message data to a stream writer.
virtual void setWarning(DtImageWarning error)
Warning value if there is one.
virtual void getSensorViewDirection(double &azimuth, double &elevation)
int myDataLength
Definition rfxIsarMessage.h:277
virtual void setReturnMethod(unsigned int method)
Image return method that is used.
double myCenterLat
Definition rfxIsarMessage.h:283
virtual void setCenterPosition(double lat, double lon, double alt)
the center hit point of the view vector for this response
double mySensorDirectionAzimuth
Definition rfxIsarMessage.h:286
virtual void deserialize(DtStreamReader &reader)
Deserializes message data from a stream reader.
double myCenterLon
Definition rfxIsarMessage.h:284
unsigned int myReturnMethod
Definition rfxIsarMessage.h:273
unsigned char * myData
Definition rfxIsarMessage.h:278
virtual void setData(unsigned char *buffer, int length)
Image data returned by the server. This message class will manage this memory.
virtual DtTaitBryan ownshipOrientation()
virtual void setError(DtImageError error)
Error value if there is one.
virtual DtImageDataType imageDataType()
double mySystemTime
Definition rfxIsarMessage.h:282
virtual DtImageSize imageSize()
virtual DtImageWarning warning()
std::string myFilename
Definition rfxIsarMessage.h:276
virtual double systemTime()
DtImageFormat myImageFormat
Definition rfxIsarMessage.h:274
virtual void setFilename(const std::string &filename)
filename of saved image if it was saved on the server
virtual int messageSize()
size of the message
virtual std::string filename()
virtual void setImageFormat(DtImageFormat format)
Image return format.
Stream reader for decoding values from a byte array in little endian format.
Definition byteStream.h:32
Stream writer for encoding values into a byte array in little endian format.
Definition byteStream.h:159
Defines export macros for the RadarFx Shared library.
#define RFX_DLL_SHARED
Export/import macro for non-Windows platforms (empty)
Definition export.h:25
Definition radarFxConnectorDriver.h:21
DtImageFormat
Image format enumeration for radar images.
Definition rfxImageMessage.h:29
DtImageError
Error codes for radar image responses.
Definition rfxImageMessage.h:119
DtImageDataType
Image data type enumeration.
Definition rfxImageMessage.h:61
DtImageWarning
Warning codes for radar image responses.
Definition rfxImageMessage.h:131
Defines common base classes and types for all radar image messages.
Defines the base message class for RadarFX client-server communication.
Image dimensions structure.
Definition rfxImageMessage.h:71