Public Member Functions | Protected Attributes | List of all members
iipr::CSearchParams Class Reference

Definition of standard search parameters. More...

#include <CSearchParams.h>

Inheritance diagram for iipr::CSearchParams:
iipr::ISearchParams iser::ISerializable istd::IChangeable istd::IPolymorphic iipr::CSearchParamsComp

Public Member Functions

 CSearchParams ()
 
virtual const ISearchConstraintsGetSearchConstraints () const
 Get constraints for the search parameters. More...
 
virtual double GetMinScore () const
 Get minimum score for a succefull search. More...
 
virtual void SetMinScore (double minScore)
 Set minimum score for a succefull search. More...
 
virtual const istd::CRangeGetRotationRange () const
 Get rotation range for the model search. More...
 
virtual void SetRotationRange (const istd::CRange &angleRange)
 Set rotation range for the model search. More...
 
virtual const istd::CRangeGetScaleRange () const
 Get scale range for the model search. More...
 
virtual void SetScaleRange (const istd::CRange &scaleRange)
 Set scale range for the model search. More...
 
virtual int GetNominalModelsCount () const
 Get the number of models that should be found for a successfull search result. More...
 
virtual void SetNominalModelsCount (int nominalModelsCount)
 Set the number of models that should be found for a successfull search result. More...
 
virtual bool IsRotationEnabled () const
 
virtual void SetRotationEnabled (bool isRotationEnabled)
 
virtual bool IsScaleEnabled () const
 
virtual void SetScaleEnabled (bool isScaleEnabled)
 
virtual bool Serialize (iser::IArchive &archive)
 

Protected Attributes

istd::CRange m_angleRange
 
istd::CRange m_scaleRange
 
int m_nominalModelsCount
 
double m_minScore
 
bool m_isRotationEnabled
 
bool m_isScaleEnabled
 

Detailed Description

Definition of standard search parameters.

Definition at line 19 of file CSearchParams.h.

Constructor & Destructor Documentation

iipr::CSearchParams::CSearchParams ( )

Member Function Documentation

virtual double iipr::CSearchParams::GetMinScore ( ) const
virtual

Get minimum score for a succefull search.

Implements iipr::ISearchParams.

virtual int iipr::CSearchParams::GetNominalModelsCount ( ) const
virtual

Get the number of models that should be found for a successfull search result.

Implements iipr::ISearchParams.

virtual const istd::CRange& iipr::CSearchParams::GetRotationRange ( ) const
virtual

Get rotation range for the model search.

Implements iipr::ISearchParams.

virtual const istd::CRange& iipr::CSearchParams::GetScaleRange ( ) const
virtual

Get scale range for the model search.

See Also
SetScaleRange()

Implements iipr::ISearchParams.

virtual const ISearchConstraints* iipr::CSearchParams::GetSearchConstraints ( ) const
virtual

Get constraints for the search parameters.

Implements iipr::ISearchParams.

Reimplemented in iipr::CSearchParamsComp.

virtual bool iipr::CSearchParams::IsRotationEnabled ( ) const
virtual
virtual bool iipr::CSearchParams::IsScaleEnabled ( ) const
virtual
virtual bool iipr::CSearchParams::Serialize ( iser::IArchive archive)
virtual
virtual void iipr::CSearchParams::SetMinScore ( double  minScore)
virtual

Set minimum score for a succefull search.

Implements iipr::ISearchParams.

virtual void iipr::CSearchParams::SetNominalModelsCount ( int  nominalModelsCount)
virtual

Set the number of models that should be found for a successfull search result.

Parameters
nominalModelsCountnumber of models. The negative value means any number of models can be found.

Implements iipr::ISearchParams.

virtual void iipr::CSearchParams::SetRotationEnabled ( bool  isRotationEnabled)
virtual
virtual void iipr::CSearchParams::SetRotationRange ( const istd::CRange angleRange)
virtual

Set rotation range for the model search.

Range [0, 0] means the rotation invariance is off.

Implements iipr::ISearchParams.

virtual void iipr::CSearchParams::SetScaleEnabled ( bool  isScaleEnabled)
virtual
virtual void iipr::CSearchParams::SetScaleRange ( const istd::CRange scaleRange)
virtual

Set scale range for the model search.

Range [0, 0] means the scaling invariance is off.

Implements iipr::ISearchParams.

Member Data Documentation

istd::CRange iipr::CSearchParams::m_angleRange
protected

Definition at line 43 of file CSearchParams.h.

bool iipr::CSearchParams::m_isRotationEnabled
protected

Definition at line 47 of file CSearchParams.h.

bool iipr::CSearchParams::m_isScaleEnabled
protected

Definition at line 48 of file CSearchParams.h.

double iipr::CSearchParams::m_minScore
protected

Definition at line 46 of file CSearchParams.h.

int iipr::CSearchParams::m_nominalModelsCount
protected

Definition at line 45 of file CSearchParams.h.

istd::CRange iipr::CSearchParams::m_scaleRange
protected

Definition at line 44 of file CSearchParams.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy