Public Types | Public Member Functions | Protected Member Functions | List of all members
iipr::CLineProjectionProcessorComp Class Reference

#include <CLineProjectionProcessorComp.h>

Inheritance diagram for iipr::CLineProjectionProcessorComp:
iproc::TSyncProcessorCompBase< ILineProjectionProcessor > iipr::IFeatureToImageMapper iipr::IProjectionConstraints ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< ILineProjectionProcessor > istd::IPolymorphic istd::IPolymorphic ilog::CLoggerBase ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef
iproc::TSyncProcessorCompBase
< ILineProjectionProcessor
BaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< ILineProjectionProcessor >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef
iproc::TSyncProcessorWrap
< ILineProjectionProcessor > 
BaseClass2
 
typedef ILineProjectionProcessor InterfaceType
 
- 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. More...
 
virtual bool GetImagePosition (const imeas::INumericValue &feature, const iprm::IParamsSet *paramsPtr, i2d::CVector2d &result) const
 Get position in image coordination system using position extracted from projection. More...
 
virtual bool DoProjection (const iimg::IBitmap &bitmap, const i2d::CLine2d &projectionLine, const IProjectionParams *paramsPtr, imeas::IDataSequence &results)
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual istd::CRange GetLineWidthRange () const
 Get range of possible projection line width. More...
 
virtual int GetMinProjectionSize () const
 Get minimal number of projection elements can be calculated by projection. More...
 
virtual int GetMaxProjectionSize () const
 Get maximal number of projection elements can be calculated by projection. More...
 
virtual bool IsAutoProjectionSizeSupported () const
 Check if automatical projection size is supported. 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
 
- Public Member Functions inherited from iproc::TSyncProcessorWrap< ILineProjectionProcessor >
 TSyncProcessorWrap ()
 
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const
 
virtual bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)
 
virtual void CancelTask (int taskId=-1)
 
virtual int GetReadyTask ()
 
virtual int GetTaskState (int taskId=-1) const
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)
 

Protected Member Functions

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

Definition at line 23 of file CLineProjectionProcessorComp.h.

Member Typedef Documentation

Definition at line 29 of file CLineProjectionProcessorComp.h.

Member Function Documentation

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.

virtual int iipr::CLineProjectionProcessorComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
virtual bool iipr::CLineProjectionProcessorComp::DoProjection ( const iimg::IBitmap bitmap,
const i2d::CLine2d projectionLine,
const IProjectionParams paramsPtr,
imeas::IDataSequence results 
)
virtual
virtual bool iipr::CLineProjectionProcessorComp::GetImagePosition ( const imeas::INumericValue feature,
const iprm::IParamsSet paramsPtr,
i2d::CVector2d result 
) const
virtual

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

Implements iipr::IFeatureToImageMapper.

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

Get range of possible projection line width.

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

Implements iipr::IProjectionConstraints.

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

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.

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

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.

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

Check if automatical projection size is supported.

Implements iipr::IProjectionConstraints.

virtual void iipr::CLineProjectionProcessorComp::OnComponentCreated ( )
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy