ICF 3.0.5.47
Technical documentation of ICF Libraries
iipr::CCheckerboardPointGridExtractorComp Class Reference

Extracts NxN points grid from no distorted checkerboard. More...

#include <CCheckerboardPointGridExtractorComp.h>

Inheritance diagram for iipr::CCheckerboardPointGridExtractorComp:
Collaboration diagram for iipr::CCheckerboardPointGridExtractorComp:

Public Types

typedef iproc::TSyncProcessorCompBase< iipr::IImageToFeatureProcessorBaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< iipr::IImageToFeatureProcessor >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessorBaseClass2
 
typedef iipr::IImageToFeatureProcessor InterfaceType
 
- Public Types inherited from ilog::TLoggerCompWrap< Base >
enum  MessageId { MI_BAD_DEPENDENCY = 0x8a340 }
 
typedef Base BaseClass
 
typedef ilog::CLoggerBase BaseClass2
 
- Public Types inherited from iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessor >
typedef iipr::IImageToFeatureProcessor 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...
 

Public Member Functions

virtual iproc::CTaskState DoExtractFeatures (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &image, IFeaturesConsumer &results, iproc::IProgressManager *progressManagerPtr=nullptr) override
 Specialization of processing interface for extraction of features from image.
 
virtual iproc::CTaskState DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
 Do synchronized processing.
 
- Public Member Functions inherited from ilog::CLoggerBase
 CLoggerBase ()
 
const QByteArray & GetVerboseSenderId () const
 Get sender ID for verbose messages.
 
void SetVerboseSenderId (const QByteArray &id)
 Set sender ID for verbose messages.
 
void SetLogPtr (ilog::IMessageConsumer *logPtr) override
 Install log.
 
ilog::IMessageConsumerGetLogPtr () const override
 Get log.
 
- Public Member Functions inherited from ilog::ILoggable
- Public Member Functions inherited from iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessor >
 TSyncProcessorWrap ()
 
int GetProcessorState (const iprm::IParamsSet *paramsPtr) const override
 
bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const override
 
void InitProcessor (const iprm::IParamsSet *paramsPtr, bool doReset) override
 
- Public Member Functions inherited from iipr::IImageToFeatureProcessor
- Public Member Functions inherited from iproc::IProcessor

Additional Inherited Members

- Protected Member Functions inherited from ilog::TLoggerCompWrap< Base >
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
 Decorate message parts before outputting.
 
void OnComponentCreated () override
 
void OnComponentDestroyed () override
 
- Protected Member Functions inherited from ilog::CLoggerBase
bool IsVerboseEnabled () const
 Check if verbose messages are enabled.
 
bool SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const
 Send verbose message.
 
bool SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send info message to log.
 
bool SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send warning message to log.
 
bool SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send error message to log.
 
bool SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send critical message to log.
 
bool SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once info message to log.
 
bool SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once warning message to log.
 
bool SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once error message to log.
 
bool SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once critical message to log.
 
bool SendUserMessage (const istd::IInformationProvider *messagePtr) const
 Send message with user object.
 
bool AllowMessageOnceAgain (int id)
 Reset message lock.
 
bool IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override
 Check if any log message is consumed.
 
bool SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override
 Send any message to log.
 
- Protected Member Functions inherited from istd::ILogger
- Protected Attributes inherited from ilog::CLoggerBase
QSet< int > m_onceMessageIds
 

Detailed Description

Extracts NxN points grid from no distorted checkerboard.

Definition at line 20 of file CCheckerboardPointGridExtractorComp.h.

Member Typedef Documentation

◆ BaseClass

Member Function Documentation

◆ DoExtractFeatures()

virtual iproc::CTaskState iipr::CCheckerboardPointGridExtractorComp::DoExtractFeatures ( const iprm::IParamsSet * paramsPtr,
const iimg::IBitmap & image,
IFeaturesConsumer & results,
iproc::IProgressManager * progressManagerPtr = nullptr )
overridevirtual

Specialization of processing interface for extraction of features from image.

Returns
state of this processor task
See also
iproc::IProcessor.

Implements iipr::IImageToFeatureProcessor.

◆ DoProcessing()

virtual iproc::CTaskState iipr::CCheckerboardPointGridExtractorComp::DoProcessing ( const iprm::IParamsSet * paramsPtr,
const istd::IPolymorphic * inputPtr,
istd::IChangeable * outputPtr,
bool allowAsync = false,
iproc::IProgressManager * progressManagerPtr = nullptr )
overridevirtual

Do synchronized processing.

Parameters
paramsPtrpointer to parameter object. Pointed object can be used till task is finished. It can be nullptr.
inputPtroptional input object typically being source object used to processing. Pointed object can be used till task is finished. It can be nullptr.
outputPtroptional output object storing processing result. Pointed object can be used till task is finished. It can be nullptr, but typically it means that there is nothing to do.
allowAsyncIf true, than asynchronously implementation is preferred and allowed.
Returns
state of processing task
See also
TaskState.

Implements iproc::IProcessor.


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

© Witold Gantzke and Kirill Lepskiy