19#include <matrix/vlVector.h>
20#include <matrix/vlTaitBryan.h>
559 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 ownshipEntityId()
Gets the entity ID used for the radar platform position.
virtual void setPower(float power)
Sets the radar system power level.
std::string myOwnshipName
Definition rfxSarMessage.h:402
bool myIsAgcPowerEnabled
Definition rfxSarMessage.h:400
virtual DtVector ownshipLocation()
Gets the absolute radar platform position.
float myCrossrange
Definition rfxSarMessage.h:410
DtVector myRadarOffsetLocation
Definition rfxSarMessage.h:407
virtual void setOwnshipEntityId(const std::string &name)
Sets an entity ID to use for the radar platform position.
bool myUseObserverAsHost
Definition rfxSarMessage.h:394
virtual ~DtSarRequest()
Virtual destructor.
DtTaitBryan myRadarOffsetOrientation
Definition rfxSarMessage.h:408
std::string myRadarName
Definition rfxSarMessage.h:409
virtual void setTargetLocation(DtVector location)
Sets an absolute position for the target location.
unsigned int myReturnMethod
Definition rfxSarMessage.h:417
virtual bool isUsingLocationForTarget()
Checks if using an absolute position for the target.
float myDownrange
Definition rfxSarMessage.h:411
float ownshipSpeed()
Gets the platform speed.
virtual void setRadarOffsetOrientation(DtTaitBryan offsetOrientation)
Sets the offset orientation of the radar sensor on the hosting entity.
bool myUseObserverForTarget
Definition rfxSarMessage.h:397
DtImageFormat myImageFormat
Definition rfxSarMessage.h:414
virtual void setRadarSystemName(const std::string &name)
Sets the radar system name to use for the SAR image.
virtual bool isAgcPowerEnabled() const
Checks if Automatic Gain Control is enabled.
virtual void serialize(DtStreamWriter &writer)
Serializes the message data to a stream writer.
virtual void useObserverForTarget()
Uses the current observer's view direction to determine the target location.
float myPower
Definition rfxSarMessage.h:412
virtual bool restoreState()
Checks if state restoration is enabled.
DtImageDataType myImageDataType
Definition rfxSarMessage.h:415
virtual DtBaseMessage * clone()
clone a message. Caller of function is responsible managing this memory
virtual void setRestoreState(bool restoreState)
Controls whether the server restores its state after image capture.
bool myRestoreState
Definition rfxSarMessage.h:419
virtual DtVector radarOffsetLocation()
Gets the radar sensor offset location.
void setOwnshipSpeed(float speed)
Sets the platform speed for the SAR image request.
virtual void setImageRotation(DtImageRotation rotate)
Sets the requested image orientation.
virtual std::string targetEntityId()
Gets the entity ID used as the target location.
virtual std::string imageFilename()
Gets the image base filename.
virtual void setDownrange(float height)
Sets the downrange size for the SAR image.
virtual void setImageSavePath(const std::string &filename)
Sets the directory path for saving the image on the server.
virtual DtImageRotation imageRotation()
Gets the requested image orientation.
bool myUseEntityAsTarget
Definition rfxSarMessage.h:398
bool myUseAbsoluteTarget
Definition rfxSarMessage.h:399
virtual std::string radarSystemName()
Gets the radar system name.
virtual bool isUsingAbsoluteLocation()
Checks if using an absolute position for the radar platform.
virtual void deserialize(DtStreamReader &reader)
Deserializes message data from a stream reader.
virtual std::string imageSavePath()
Gets the image save directory path.
static DtBaseMessage * decode(unsigned char *buffer, int length)
decode a message. Used by the factory
virtual DtTaitBryan radarOffsetOrientation()
Gets the radar sensor offset orientation.
DtVector myTargetLocation
Definition rfxSarMessage.h:405
virtual void useObserverAsHost()
Uses the current observer's position and orientation for the radar platform.
DtSarRequest()
Default constructor.
virtual float crossrange()
Gets the crossrange size.
std::string myImageSavePath
Definition rfxSarMessage.h:423
virtual DtImageFormat imageFormat()
Gets the requested image format.
DtVector myOwnshipLocation
Definition rfxSarMessage.h:404
virtual bool isUsingEntityForTarget()
Checks if using an entity as the target.
virtual void setTargetEntityId(const std::string &name)
Sets an entity ID to use as the target location.
virtual DtImageDataType imageDataType()
Gets the requested image data type.
virtual float power()
Gets the radar system power level.
virtual void setImageFilename(const std::string &filename)
Sets the base filename for saving the image on the server.
virtual void setImageSize(const DtImageSize &size)
Sets the requested image dimensions.
virtual bool isUsingObserverForTarget()
Checks if using the observer view for the target position.
virtual DtImageSize imageSize()
Gets the requested image dimensions.
std::string myImageFilename
Definition rfxSarMessage.h:424
virtual float downrange()
Gets the downrange size.
DtImageRotation myImageRotation
Definition rfxSarMessage.h:416
virtual void setOwnshipLocation(DtVector location)
Sets an absolute position for the radar platform.
virtual void setRadarOffsetLocation(DtVector offset)
Sets the offset location of the radar sensor on the hosting entity.
DtImageSize myImageSize
Definition rfxSarMessage.h:413
float myOwnshipSpeed
Definition rfxSarMessage.h:421
bool myUseAbsoluteOwnship
Definition rfxSarMessage.h:396
std::string myTargetName
Definition rfxSarMessage.h:403
virtual DtVector targetLocation()
Gets the absolute target position.
virtual unsigned int imageReturnMethod()
Gets the requested image delivery method.
virtual void setCrossrange(float width)
Sets the crossrange size for the SAR image.
virtual bool isUsingEntityAsHost()
Checks if using an entity as the radar platform.
virtual void setImageDataType(DtImageDataType type)
Sets the requested image data type.
virtual void setImageFormat(DtImageFormat format)
Sets the requested image format.
bool myUseEntityAsHost
Definition rfxSarMessage.h:395
virtual void setImageReturnMethod(unsigned int returnFlags)
Sets the requested image delivery method.
virtual bool isUsingObserverAsHost()
Checks if using the observer position for the radar platform.
virtual int messageSize()
size of the message
virtual void setIsAgcPowerEnabled(bool isAgcPowerEnabled)
Enables or disables Automatic Gain Control (AGC) for radar power.
virtual DtImageDataType imageDataType()
Gets the image data type used.
virtual DtBaseMessage * clone()
clone a message. Caller of function is responsible managing this memory
virtual void setFilename(const std::string &filename)
Sets the full path of the saved image.
double myCenterLon
Longitude of the image center point.
Definition rfxSarMessage.h:707
DtTaitBryan myOwnshipOrientation
Platform orientation at time of image capture.
Definition rfxSarMessage.h:698
DtImageDataType myImageDataType
Data type used for the image pixels.
Definition rfxSarMessage.h:683
virtual void getSensorViewDirection(double &azimuth, double &elevation)
Gets the sensor view direction.
virtual void setError(DtImageError error)
Sets the error code for this response.
static DtBaseMessage * decode(unsigned char *buffer, int length)
decode a message. Used by the factory
DtImageSize myImageSize
Actual dimensions of the returned image.
Definition rfxSarMessage.h:674
virtual ~DtSarResponse()
Virtual destructor.
virtual DtImageSize imageSize()
Gets the actual dimensions of the returned image.
virtual void setImageSize(const DtImageSize &size)
Sets the actual dimensions of the returned image.
DtVector myOwnshipLocation
Platform position at time of image capture.
Definition rfxSarMessage.h:695
double myCenterLat
Latitude of the image center point.
Definition rfxSarMessage.h:704
DtImageWarning myWarning
Warning code for this response.
Definition rfxSarMessage.h:671
double myCenterAlt
Altitude of the image center point.
Definition rfxSarMessage.h:710
double mySensorDirectionElevation
Elevation angle of the sensor view direction.
Definition rfxSarMessage.h:716
virtual void serialize(DtStreamWriter &writer)
Serializes the message data to a stream writer.
virtual void setWarning(DtImageWarning error)
Sets the warning code for this response.
DtImageFormat myImageFormat
Format used for the image data.
Definition rfxSarMessage.h:680
virtual std::string filename()
Gets the full path of the saved image.
virtual void setOwnshipOrientation(DtTaitBryan orientation)
Sets the platform orientation at the time of image capture.
virtual void setSensorViewDirection(double azimuth, double elevation)
Sets the sensor view direction.
virtual void setCenterPosition(double lat, double lon, double alt)
Sets the center position of the SAR image.
DtImageError myError
Error code for this response.
Definition rfxSarMessage.h:668
DtSarResponse()
Default constructor.
virtual void setSystemTime(double time)
Sets the UTC time when the image was captured.
virtual unsigned char * data()
Gets the binary image data.
virtual DtTaitBryan ownshipOrientation()
Gets the platform orientation at the time of image capture.
virtual double systemTime()
Gets the UTC time when the image was captured.
virtual int dataLength()
Gets the size of the image data in bytes.
virtual DtImageWarning warning()
Gets the warning code for this response.
double mySystemTime
UTC time of image capture.
Definition rfxSarMessage.h:701
unsigned int myReturnMethod
Delivery method used for the image.
Definition rfxSarMessage.h:677
virtual void setImageFormat(DtImageFormat format)
Sets the image format used.
virtual int messageSize()
size of the message
virtual void setOwnshipLocation(DtVector location)
Sets the platform position at the time of image capture.
double mySensorDirectionAzimuth
Azimuth angle of the sensor view direction.
Definition rfxSarMessage.h:713
int myDataLength
Length of the image data in bytes.
Definition rfxSarMessage.h:689
virtual unsigned int returnMethod()
Gets the image delivery method used.
std::string myFilename
Full path to the saved image file.
Definition rfxSarMessage.h:686
virtual void setImageDataType(DtImageDataType type)
Sets the image data type used.
virtual void setData(unsigned char *buffer, int length)
Sets the binary image data.
virtual DtImageError error()
Gets the error code for this response.
virtual DtVector ownshipLocation()
Gets the platform position at the time of image capture.
virtual void setReturnMethod(unsigned int method)
Sets the image delivery method used.
virtual DtImageFormat imageFormat()
Gets the image format used.
virtual void deserialize(DtStreamReader &reader)
Deserializes message data from a stream reader.
unsigned char * myData
Pointer to the binary image data.
Definition rfxSarMessage.h:692
virtual void getCenterPosition(double &lat, double &lon, double &alt)
Gets the center position of the SAR image.
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
DtImageRotation
Image orientation enumeration.
Definition rfxImageMessage.h:43
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