Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
iedge::CEdgesReductorComp Class Reference

#include <CEdgesReductorComp.h>

Inheritance diagram for iedge::CEdgesReductorComp:
iproc::TSyncProcessorCompBase< IEdgeLinesProcessor > imeas::INumericConstraints iprm::IOptionsList ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< IEdgeLinesProcessor > istd::IChangeable istd::IChangeable ilog::CLoggerBase istd::IPolymorphic istd::IPolymorphic ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef
iproc::TSyncProcessorCompBase
< IEdgeLinesProcessor
BaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< IEdgeLinesProcessor >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef
iproc::TSyncProcessorWrap
< IEdgeLinesProcessor > 
BaseClass2
 
typedef IEdgeLinesProcessor InterfaceType
 
- Public Types inherited from iproc::TSyncProcessorWrap< IEdgeLinesProcessor >
typedef IEdgeLinesProcessor BaseClass
 

Public Member Functions

 CEdgesReductorComp ()
 
void GetReducedLine (const CEdgeLine &edgeLine, double positionTolerance, double weightTolerance, CEdgeLine &result) const
 
void GetReducedLines (const CEdgeLineContainer &edgeLines, double positionTolerance, double weightTolerance, CEdgeLineContainer &result) const
 
virtual bool DoLinesProcessing (const iprm::IParamsSet *paramsPtr, const CEdgeLineContainer &edgeLines, CEdgeLineContainer &result) const
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual const iprm::IOptionsListGetValueListInfo () const
 Get general information about the "content" of the numeric value. More...
 
virtual const imath::IUnitInfoGetNumericValueUnitInfo (int index) const
 Get range of possible numeric values for specified list index. 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< IEdgeLinesProcessor >
 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 QBitArray NodesToRemove
 

Protected Member Functions

int ReduceNodes (const CEdgeLine &edgeLine, double positionTolerance, double weightTolerance, int firstIndex, int lastIndex, NodesToRemove &nodesToRemove, int &firstInsideIndex, int &lastInsideIndex) const
 Mark points to remove. More...
 
virtual int GetOptionsFlags () const
 
virtual int GetOptionsCount () const
 
virtual QString GetOptionName (int index) const
 
virtual QString GetOptionDescription (int index) const
 
virtual QByteArray GetOptionId (int index) const
 
virtual bool IsOptionEnabled (int index) const
 
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
 

Protected Attributes

NodesToRemove m_nodesToRemove
 

Detailed Description

Definition at line 23 of file CEdgesReductorComp.h.

Member Typedef Documentation

Definition at line 29 of file CEdgesReductorComp.h.

typedef QBitArray iedge::CEdgesReductorComp::NodesToRemove
protected

Definition at line 71 of file CEdgesReductorComp.h.

Constructor & Destructor Documentation

iedge::CEdgesReductorComp::CEdgesReductorComp ( )

Member Function Documentation

virtual bool iedge::CEdgesReductorComp::DoLinesProcessing ( const iprm::IParamsSet paramsPtr,
const CEdgeLineContainer edgeLines,
CEdgeLineContainer result 
) const
virtual
virtual int iedge::CEdgesReductorComp::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual
virtual const imath::IUnitInfo* iedge::CEdgesReductorComp::GetNumericValueUnitInfo ( int  index) const
virtual

Get range of possible numeric values for specified list index.

Parameters
indexindex of numeric value.

Implements imeas::INumericConstraints.

virtual QString iedge::CEdgesReductorComp::GetOptionDescription ( int  index) const
protectedvirtual
virtual QByteArray iedge::CEdgesReductorComp::GetOptionId ( int  index) const
protectedvirtual
virtual QString iedge::CEdgesReductorComp::GetOptionName ( int  index) const
protectedvirtual
virtual int iedge::CEdgesReductorComp::GetOptionsCount ( ) const
protectedvirtual
virtual int iedge::CEdgesReductorComp::GetOptionsFlags ( ) const
protectedvirtual
void iedge::CEdgesReductorComp::GetReducedLine ( const CEdgeLine edgeLine,
double  positionTolerance,
double  weightTolerance,
CEdgeLine result 
) const
void iedge::CEdgesReductorComp::GetReducedLines ( const CEdgeLineContainer edgeLines,
double  positionTolerance,
double  weightTolerance,
CEdgeLineContainer result 
) const
virtual const iprm::IOptionsList& iedge::CEdgesReductorComp::GetValueListInfo ( ) const
virtual

Get general information about the "content" of the numeric value.

Implements imeas::INumericConstraints.

virtual bool iedge::CEdgesReductorComp::IsOptionEnabled ( int  index) const
protectedvirtual
virtual void iedge::CEdgesReductorComp::OnComponentCreated ( )
protectedvirtual
int iedge::CEdgesReductorComp::ReduceNodes ( const CEdgeLine edgeLine,
double  positionTolerance,
double  weightTolerance,
int  firstIndex,
int  lastIndex,
NodesToRemove nodesToRemove,
int &  firstInsideIndex,
int &  lastInsideIndex 
) const
protected

Mark points to remove.

Returns
number of removed points.

Member Data Documentation

NodesToRemove iedge::CEdgesReductorComp::m_nodesToRemove
mutableprotected

Definition at line 74 of file CEdgesReductorComp.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy