1 #ifndef DRAWINTERFACE_H 2 #define DRAWINTERFACE_H 12 #include "QtXml/QDomDocument" 15 typedef std::map<std::string, std::map<std::string, std::string> >* TParameterList;
30 virtual bool setParameters(QDomNode &config) = 0;
33 virtual bool init() = 0;
36 virtual bool draw(QImage **image) = 0;
38 static QDomNode getParameterNode(QString pname, QDomElement& elem);
39 static QDomNode getParameterNode(QString pname, QDomNode& node);
40 static QString getParameterValue(QDomNode& node);
41 static QString getParameterValue(QDomElement& elem);
42 static void copyBytes(QImage *im1, QImage *im2);
43 static void showPolygon3D(QPainter& painter,
SceneModel *i_pSmNode, QSharedPointer <
polygon3D<double> > poly,
const QColor& color);
44 static void showImagePolygon(QPainter& painter, QSharedPointer <
polygon2D<int> > poly,
const QColor& color);
45 static void paintImageLine(QPainter& painter,
point2D<int> *pointBegin,
point2D<int> *pointEnd,
const QColor& color);
55 #endif // DRAWINTERFACE_H Definition: calibration.h:51
Definition: drawInterface.h:23
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
Definition: geometric.h:256
Definition: geometric.h:224