latest version v1.9 - last update 10 Apr 2010 |
This class defines a factory for edge detector functors. More...
#include <ltiEdgeDetectorFactory.h>
Public Member Functions | |
edgeDetectorFactory () | |
virtual | ~edgeDetectorFactory () |
virtual const char * | getTypeName () const |
virtual edgeDetector * | newInstance (const char *name) const |
virtual edgeDetector * | newInstance (const std::string &name) const |
This class defines a factory for edge detector functors.
Depending on the way the library was compiled, the susanEdges functor will be included or not. The applications should check if this functor returns a valid instance (not null pointer).
lti::edgeDetectorFactory::edgeDetectorFactory | ( | ) |
Constructor.
virtual lti::edgeDetectorFactory::~edgeDetectorFactory | ( | ) | [virtual] |
Destructor.
virtual const char* lti::edgeDetectorFactory::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("edgeDetectorFactory")
Reimplemented from lti::object.
virtual edgeDetector* lti::edgeDetectorFactory::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 edgeDetector* lti::edgeDetectorFactory::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().