RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Member Functions
makRadarFx::DtSarCaptureProcess Class Reference

The DtSarCaptureProcess represents the capture of a single frame from the renderer. It waits for all data to be paged in and sensor mode sto be set. More...

Inheritance diagram for makRadarFx::DtSarCaptureProcess:
Inheritance graph
[legend]

Classes

struct  DtSarCaptureConfig
 structure for holding configuration for SAR image capture More...

Public Member Functions

 DtSarCaptureProcess (makVrv::DtDe &de, DtImageRequest *request)
 CTOR/DTOR The constructor creates a copy of the SAR request.
virtual ~DtSarCaptureProcess ()
virtual void processFrame (makVrv::DtVideoFrameBuffer *frame)
 Called by the SAR video stream to return the captured frame.
virtual bool isReadyToProcess ()
 is the capture process ready to capture the image
- Public Member Functions inherited from makRadarFx::DtCaptureProcess
 DtCaptureProcess (makVrv::DtDe &de, DtImageRequest *msg)
 CTOR/DTOR.
virtual ~DtCaptureProcess ()
virtual void tick ()
 Tick needs to be called every frame to advance the capture process.
virtual bool isDone ()
 returns true once the process reaches one of the END states
- Public Member Functions inherited from makRadarFx::DtBaseProcess
 DtBaseProcess (makVrv::DtDe &de)
 CTOR/DTOR.
virtual ~DtBaseProcess ()
virtual DtBaseMessageresponse ()
 return the response for the process
virtual void clearResponse ()
 clear the response (usually used after the response has been sent)

Protected Member Functions

DtImageCaptureConfigcreateCaptureConfiguration (DtImageRequest *msg)
virtual void configureSensor (const std::string &sensorName)
 called during the configureViewport step to setup sensor specific configuration
virtual void respondError (std::string errorMsg, DtImageError err)
 create an error response with the given message and error code
- Protected Member Functions inherited from makRadarFx::DtCaptureProcess
virtual void beginRequest ()
virtual void configureViewport ()
virtual void configureObserver ()
virtual void waitTerrain ()
virtual void installFrameCapture ()
virtual void endRequest ()
virtual void restoreDisplay ()
virtual std::string generateFilename (const std::string &path, const std::string &filename, DtImageFormat format)
 helper function for generating filenames for images

Additional Inherited Members

- Protected Types inherited from makRadarFx::DtCaptureProcess
enum  ProcessStep {
  WAITING, CONFIGURE_OBSERVER, CONFIGURE_VIEWPORT, WAIT_TERRAIN,
  FRAME_CAPTURE, WAIT_FRAME, FRAME_RECEIVED, END_REQUEST,
  END_ERROR
}
 steps in the image capture process More...
- Protected Attributes inherited from makRadarFx::DtCaptureProcess
DtImageCaptureConfigmyCaptureConfig
ProcessStep myProcessStep
makVrv::DtVideoStream * myVideoStream
makVrv::DtObserver * myObserver
DtObserverStatemyOriginalState
double myWaitTime
double myLastTime
double myTerrainTimeout
bool myTerrainTimeoutFlag
int myWaitFrameCount

Detailed Description

The DtSarCaptureProcess represents the capture of a single frame from the renderer. It waits for all data to be paged in and sensor mode sto be set.

Constructor & Destructor Documentation

makRadarFx::DtSarCaptureProcess::DtSarCaptureProcess ( makVrv::DtDe &  de,
DtImageRequest request 
)

CTOR/DTOR The constructor creates a copy of the SAR request.

virtual makRadarFx::DtSarCaptureProcess::~DtSarCaptureProcess ( )
virtual

Member Function Documentation

virtual void makRadarFx::DtSarCaptureProcess::processFrame ( makVrv::DtVideoFrameBuffer *  frame)
virtual

Called by the SAR video stream to return the captured frame.

Implements makRadarFx::DtCaptureProcess.

virtual bool makRadarFx::DtSarCaptureProcess::isReadyToProcess ( )
virtual

is the capture process ready to capture the image

Reimplemented from makRadarFx::DtBaseProcess.

DtImageCaptureConfig* makRadarFx::DtSarCaptureProcess::createCaptureConfiguration ( DtImageRequest msg)
protected
virtual void makRadarFx::DtSarCaptureProcess::configureSensor ( const std::string &  sensorName)
protectedvirtual

called during the configureViewport step to setup sensor specific configuration

Implements makRadarFx::DtCaptureProcess.

virtual void makRadarFx::DtSarCaptureProcess::respondError ( std::string  errorMsg,
DtImageError  err 
)
protectedvirtual

create an error response with the given message and error code

Implements makRadarFx::DtCaptureProcess.


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

Document ID: 1.0
Copyright © 2017 VT MAK Inc. All Rights Reserved (www.mak.com)