canvascv::ShapeFactoryT< T > Class Template Reference
The ShapeFactoryT class. More...
#include <shapefactory.h>
Inheritance diagram for canvascv::ShapeFactoryT< T >:
Static Public Member Functions | |
static bool | addType (std::string name) |
add a shape by compile time type - use the macro CCV_REGISTER_SHAPE | |
static T * | newShape (const cv::Point &pos) |
create a shape by compile time type at a certain initial pos (don't use directly. Use Canvas::createShape() instead) | |
Static Public Member Functions inherited from canvascv::ShapeFactory | |
static Shape * | newShape (std::string type, const cv::Point &pos) |
create a shape by type name at a certain initial pos (don't use directly. Use Canvas::createShape() instead). | |
Detailed Description
template<class T>
class canvascv::ShapeFactoryT< T >
Holds shape creation methods. Don't use directly. Use Canvas::createShape() instead.
- See also
- Canvas::createShape()
The documentation for this class was generated from the following file:
- CanvasCV-doxygen/src/canvascv/shapes/shapefactory.h
Generated by 1.8.11