CanvasCV: canvascv::ShapeFactoryT< T > Class Template Reference
CanvasCV  1.0.0
canvascv::ShapeFactoryT< T > Class Template Reference

The ShapeFactoryT class. More...

#include <shapefactory.h>

Inheritance diagram for canvascv::ShapeFactoryT< T >:
canvascv::ShapeFactory

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 ShapenewShape (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: