Public Types | Public Member Functions | Static Public Member Functions | List of all members
icam::CCalibratedCameraComp Class Reference

Camera provided bitmaps with integrated calibration information. More...

#include <CCalibratedCameraComp.h>

Inheritance diagram for icam::CCalibratedCameraComp:
icam::CCameraDelegatorComp ilog::TLoggerCompWrap< Base > icam::IBitmapAcquisition ilog::CLoggerBase iproc::IProcessor ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

enum  { RESOLUTION_PATTERN = 0xff00ff00 }
 
typedef icam::CCameraDelegatorComp BaseClass
 
- Public Types inherited from icam::CCameraDelegatorComp
typedef ilog::CLoggerComponentBase BaseClass
 
- Public Types inherited from iproc::IProcessor
enum  MessageId { MI_BAD_PARAMS = 0x16372620, MI_PROCESSING_ERROR }
 
enum  ProcessorState { PS_UNKNOWN, PS_INITIALIZATION, PS_READY, PS_INVALID }
 State of processing. More...
 
enum  TaskState {
  TS_NONE, TS_WAIT, TS_OK, TS_CANCELED,
  TS_INVALID
}
 Describe state of task. More...
 

Public Member Functions

virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 Do synchronized processing. More...
 
- Public Member Functions inherited from icam::CCameraDelegatorComp
virtual istd::CIndex2d GetBitmapSize (const iprm::IParamsSet *paramsPtr) const
 Get size of acquired bitmap for specified parameters. More...
 
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const
 Get state of this processor for processing of specified parameters. More...
 
virtual bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const
 Check if specified parameter set is accepted for this processor. More...
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 Begin new task for this processor and add them to queue. More...
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)
 Wait for task is finished. More...
 
virtual void CancelTask (int taskId=-1)
 Remove task from queue. More...
 
virtual int GetReadyTask ()
 Get the ID of any ready task. More...
 
virtual int GetTaskState (int taskId=-1) const
 Get actual task state. More...
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)
 Init processor to optimal process with specified params. More...
 
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
 
virtual IMessageConsumerGetLogPtr () const =0
 
virtual void SetTracingEnabled (bool trace)=0
 
virtual bool IsTracingEnabled () const =0
 

Static Public Member Functions

static bool ReadImageResolution (const iimg::IBitmap &bitmap, double &resolution)
 
static bool WriteImageResolution (iimg::IBitmap &bitmap, double resolution)
 

Additional Inherited Members

- Protected Member Functions inherited from icam::CCameraDelegatorComp
virtual const iprm::IParamsSetGetWorkingParamsSet (const iprm::IParamsSet *inputParamsPtr) const
 
virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
 

Detailed Description

Camera provided bitmaps with integrated calibration information.

Definition at line 16 of file CCalibratedCameraComp.h.

Member Typedef Documentation

Definition at line 23 of file CCalibratedCameraComp.h.

Member Enumeration Documentation

anonymous enum
Enumerator
RESOLUTION_PATTERN 

Definition at line 19 of file CCalibratedCameraComp.h.

Member Function Documentation

virtual int icam::CCalibratedCameraComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual

Do synchronized processing.

Returns
state of processing task
See Also
TaskState.

Reimplemented from icam::CCameraDelegatorComp.

static bool icam::CCalibratedCameraComp::ReadImageResolution ( const iimg::IBitmap bitmap,
double &  resolution 
)
static
static bool icam::CCalibratedCameraComp::WriteImageResolution ( iimg::IBitmap bitmap,
double  resolution 
)
static

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy