LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::cornerDetectorFactory Class Reference

This class defines a factory for corner detector functors. More...

#include <ltiCornerDetectorFactory.h>

Inheritance diagram for lti::cornerDetectorFactory:
Inheritance graph
[legend]
Collaboration diagram for lti::cornerDetectorFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 cornerDetectorFactory ()
virtual ~cornerDetectorFactory ()
virtual const char * getTypeName () const
virtual cornerDetectornewInstance (const char *name) const
virtual cornerDetectornewInstance (const std::string &name) const

Detailed Description

This class defines a factory for corner detector functors.

Depending on the way the library was compiled, the susanCorners functor will be included or not. The applications should check if this functor returns a valid instance (not null pointer).


Constructor & Destructor Documentation

lti::cornerDetectorFactory::cornerDetectorFactory (  ) 

Constructor.

virtual lti::cornerDetectorFactory::~cornerDetectorFactory (  )  [virtual]

Destructor.


Member Function Documentation

virtual const char* lti::cornerDetectorFactory::getTypeName (  )  const [virtual]

returns the name of this type ("cornerDetectorFactory")

Reimplemented from lti::object.

virtual cornerDetector* lti::cornerDetectorFactory::newInstance ( const std::string &  name  )  const [inline, virtual]

Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.

Otherwise, it returns null.

Parameters:
name name of the to-be instantiated class.
Returns:
a new instance.

References newInstance().

virtual cornerDetector* lti::cornerDetectorFactory::newInstance ( const char *  name  )  const [virtual]

Creates a new instance of the class whose name is given as parameter, if this class is known to the factory.

Otherwise, it returns null.

Parameters:
name name of the to-be instantiated class.
Returns:
a new instance.

Referenced by newInstance().


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

Generated on Sat Apr 10 15:27:10 2010 for LTI-Lib by Doxygen 1.6.1