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

Cliper based distance calculation. More...

#include <CEdgeDistanceProcessorComp.h>

Inheritance diagram for iipr::CEdgeDistanceProcessorComp:
icomp::CComponentBase iproc::TSyncProcessorWrap< IImageToFeatureProcessor > icomp::IComponent istd::IPolymorphic

Classes

struct  CaliperLine
 
struct  Point
 

Public Types

typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from iproc::TSyncProcessorWrap< IImageToFeatureProcessor >
typedef IImageToFeatureProcessor BaseClass
 

Public Member Functions

virtual int DoExtractFeatures (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &image, IFeaturesConsumer &results, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 
- Public Member Functions inherited from iproc::TSyncProcessorWrap< IImageToFeatureProcessor >
 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 Types

typedef std::vector< CaliperLineCaliperLines
 

Protected Member Functions

bool CalculateCaliperLines (const istd::IChangeable &aoiObject, const iprm::IParamsSet &params, const iimg::IBitmap &image, CaliperLines &rays, i2d::CLine2d &projectionLine, i2d::CVector2d &center)
 
bool CalculateCaliper (const iprm::IParamsSet &params, iipr::ICaliperParams &workingCaliperParams, ICaliperParams::DirectionMode caliperDirectionMode, const iimg::IBitmap &image, CaliperLine &ray) const
 
void SetCaliperResults (const iprm::IParamsSet &params, const IFeaturesProvider &container, ICaliperParams::DirectionMode caliperDirectionMode, CaliperLine &ray) const
 

Detailed Description

Cliper based distance calculation.

Definition at line 26 of file CEdgeDistanceProcessorComp.h.

Member Typedef Documentation

Definition at line 31 of file CEdgeDistanceProcessorComp.h.

Definition at line 75 of file CEdgeDistanceProcessorComp.h.

Member Function Documentation

bool iipr::CEdgeDistanceProcessorComp::CalculateCaliper ( const iprm::IParamsSet params,
iipr::ICaliperParams workingCaliperParams,
ICaliperParams::DirectionMode  caliperDirectionMode,
const iimg::IBitmap image,
CaliperLine ray 
) const
protected
bool iipr::CEdgeDistanceProcessorComp::CalculateCaliperLines ( const istd::IChangeable aoiObject,
const iprm::IParamsSet params,
const iimg::IBitmap image,
CaliperLines rays,
i2d::CLine2d projectionLine,
i2d::CVector2d center 
)
protected
virtual int iipr::CEdgeDistanceProcessorComp::DoExtractFeatures ( const iprm::IParamsSet paramsPtr,
const iimg::IBitmap image,
IFeaturesConsumer results,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
virtual int iipr::CEdgeDistanceProcessorComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
void iipr::CEdgeDistanceProcessorComp::SetCaliperResults ( const iprm::IParamsSet params,
const IFeaturesProvider container,
ICaliperParams::DirectionMode  caliperDirectionMode,
CaliperLine ray 
) const
protected

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy