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

#include <CLineProjectionProcessorComp.h>

Inheritance diagram for iipr::CLineProjectionProcessorComp:
Collaboration diagram for iipr::CLineProjectionProcessorComp:

Public Types

typedef iproc::TSyncProcessorCompBase< ILineProjectionProcessorBaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< ILineProjectionProcessor >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef iproc::TSyncProcessorWrap< ILineProjectionProcessor > BaseClass2
 
typedef ILineProjectionProcessor 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< ILineProjectionProcessor >
typedef ILineProjectionProcessor BaseClass
 

Public Member Functions

template<typename InputPixelType , typename DestPixel , typename CalcPixel >
bool DoAutosizeProjection (const iimg::IBitmap &bitmap, const i2d::CLine2d &bitmapLine, imeas::IDataSequence &results) const
 Do projection along specified line with variable projection size.
 
virtual bool GetImagePosition (const imeas::INumericValue &feature, const iprm::IParamsSet *paramsPtr, i2d::CVector2d &result) const override
 Get position in image coordination system using position extracted from projection.
 
virtual bool DoProjection (const iimg::IBitmap &bitmap, const i2d::CLine2d &projectionLine, const IProjectionParams *paramsPtr, imeas::IDataSequence &results) override
 
virtual iproc::CTaskState DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
 
istd::CRange GetLineWidthRange () const override
 Get range of possible projection line width.
 
int GetMinProjectionSize () const override
 Get minimal number of projection elements can be calculated by projection.
 
int GetMaxProjectionSize () const override
 Get maximal number of projection elements can be calculated by projection.
 
bool IsAutoProjectionSizeSupported () const override
 Check if automatical projection size is supported.
 
- 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< ILineProjectionProcessor >
 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::IFeatureToImageMapper
- Public Member Functions inherited from iipr::IProjectionConstraints

Protected Member Functions

void OnComponentCreated () override
 
- 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

Additional Inherited Members

- Protected Attributes inherited from ilog::CLoggerBase
QSet< int > m_onceMessageIds
 

Detailed Description

Definition at line 26 of file CLineProjectionProcessorComp.h.

Member Typedef Documentation

◆ BaseClass

Member Function Documentation

◆ DoAutosizeProjection()

template<typename InputPixelType , typename DestPixel , typename CalcPixel >
bool iipr::CLineProjectionProcessorComp::DoAutosizeProjection ( const iimg::IBitmap & bitmap,
const i2d::CLine2d & bitmapLine,
imeas::IDataSequence & results ) const

Do projection along specified line with variable projection size.

◆ DoProcessing()

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

◆ DoProjection()

virtual bool iipr::CLineProjectionProcessorComp::DoProjection ( const iimg::IBitmap & bitmap,
const i2d::CLine2d & projectionLine,
const IProjectionParams * paramsPtr,
imeas::IDataSequence & results )
overridevirtual

◆ GetImagePosition()

virtual bool iipr::CLineProjectionProcessorComp::GetImagePosition ( const imeas::INumericValue & feature,
const iprm::IParamsSet * paramsPtr,
i2d::CVector2d & result ) const
overridevirtual

Get position in image coordination system using position extracted from projection.

Implements iipr::IFeatureToImageMapper.

◆ GetLineWidthRange()

istd::CRange iipr::CLineProjectionProcessorComp::GetLineWidthRange ( ) const
overridevirtual

Get range of possible projection line width.

If this range is invalid, no width setting is suported.

Implements iipr::IProjectionConstraints.

◆ GetMaxProjectionSize()

int iipr::CLineProjectionProcessorComp::GetMaxProjectionSize ( ) const
overridevirtual

Get maximal number of projection elements can be calculated by projection.

If this value is smaller than returned by GetMinProjectionSize() there is no fixed size supported.

Implements iipr::IProjectionConstraints.

◆ GetMinProjectionSize()

int iipr::CLineProjectionProcessorComp::GetMinProjectionSize ( ) const
overridevirtual

Get minimal number of projection elements can be calculated by projection.

If this value is bigger than returned by GetMaxProjectionSize() there is no fixed size supported.

Implements iipr::IProjectionConstraints.

◆ IsAutoProjectionSizeSupported()

bool iipr::CLineProjectionProcessorComp::IsAutoProjectionSizeSupported ( ) const
overridevirtual

Check if automatical projection size is supported.

Implements iipr::IProjectionConstraints.

◆ OnComponentCreated()

void iipr::CLineProjectionProcessorComp::OnComponentCreated ( )
overrideprotected

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

© Witold Gantzke and Kirill Lepskiy