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

Finder using Hough transformation to find the lines from the point cloud. More...

#include <CHoughLineFromPosFinderComp.h>

Inheritance diagram for iipr::CHoughLineFromPosFinderComp:
ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< IFeatureToFeatureProcessor > ilog::CLoggerBase ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

enum  MessageId { FOUND_LINE = 0x934d750, HOUGH_SPACE }
 
typedef QList< i2d::CLine2dLines
 
typedef ilog::CLoggerComponentBase BaseClass
 
- Public Types inherited from iproc::TSyncProcessorWrap< IFeatureToFeatureProcessor >
typedef IFeatureToFeatureProcessor BaseClass
 

Public Member Functions

virtual int DoConvertFeatures (const iprm::IParamsSet *paramsPtr, const IFeaturesProvider &container, IFeaturesConsumer &results)
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
- 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< IFeatureToFeatureProcessor >
 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 int FindLines (const iprm::IParamsSet *paramsPtr, int maxLines, const i2d::CPolypoint &points, IFeaturesConsumer &results)
 
bool CreateHoughSpace ()
 
i2d::CVector2d CalcHoughPos (const i2d::CVector2d &point1, const i2d::CVector2d &point2) const
 
i2d::CLine2d CalcCorrespondingLine (const i2d::CVector2d &houghPos) const
 
void UpdateHoughSpace (const i2d::CVector2d &point1, const i2d::CVector2d &point2)
 
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

Finder using Hough transformation to find the lines from the point cloud.

The outouted lines will be sorted from the best one (with the highest weight) to the worst.

Definition at line 28 of file CHoughLineFromPosFinderComp.h.

Member Typedef Documentation

Definition at line 35 of file CHoughLineFromPosFinderComp.h.

Definition at line 33 of file CHoughLineFromPosFinderComp.h.

Member Enumeration Documentation

Enumerator
FOUND_LINE 
HOUGH_SPACE 

Definition at line 51 of file CHoughLineFromPosFinderComp.h.

Member Function Documentation

i2d::CLine2d iipr::CHoughLineFromPosFinderComp::CalcCorrespondingLine ( const i2d::CVector2d houghPos) const
protected
i2d::CVector2d iipr::CHoughLineFromPosFinderComp::CalcHoughPos ( const i2d::CVector2d point1,
const i2d::CVector2d point2 
) const
protected
bool iipr::CHoughLineFromPosFinderComp::CreateHoughSpace ( )
protected
virtual int iipr::CHoughLineFromPosFinderComp::DoConvertFeatures ( const iprm::IParamsSet paramsPtr,
const IFeaturesProvider container,
IFeaturesConsumer results 
)
virtual
virtual int iipr::CHoughLineFromPosFinderComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
virtual int iipr::CHoughLineFromPosFinderComp::FindLines ( const iprm::IParamsSet paramsPtr,
int  maxLines,
const i2d::CPolypoint points,
IFeaturesConsumer results 
)
protectedvirtual
virtual void iipr::CHoughLineFromPosFinderComp::OnComponentCreated ( )
protectedvirtual
void iipr::CHoughLineFromPosFinderComp::UpdateHoughSpace ( const i2d::CVector2d point1,
const i2d::CVector2d point2 
)
protected

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy