latest version v1.9 - last update 10 Apr 2010 |
This class defines a factory for corner detector functors. More...
#include <ltiCornerDetectorFactory.h>
Public Member Functions | |
cornerDetectorFactory () | |
virtual | ~cornerDetectorFactory () |
virtual const char * | getTypeName () const |
virtual cornerDetector * | newInstance (const char *name) const |
virtual cornerDetector * | newInstance (const std::string &name) const |
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).
lti::cornerDetectorFactory::cornerDetectorFactory | ( | ) |
Constructor.
virtual lti::cornerDetectorFactory::~cornerDetectorFactory | ( | ) | [virtual] |
Destructor.
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.
name | name of the to-be instantiated class. |
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.
name | name of the to-be instantiated class. |
Referenced by newInstance().