root / branches / test / CCV_Select_Camera / addons / ofxNCore / src / Templates / Template.h @ 12
View | Annotate | Download (374 Bytes)
| 1 | #ifndef TEMPLATE_H
|
|---|---|
| 2 | #define TEMPLATE_H
|
| 3 | |
| 4 | #include "ofMain.h" |
| 5 | |
| 6 | class Template {
|
| 7 | |
| 8 | public:
|
| 9 | Template() |
| 10 | {
|
| 11 | } |
| 12 | |
| 13 | //The ID of the template
|
| 14 | int id;
|
| 15 | int trueId;
|
| 16 | |
| 17 | //Rectangle Specifications
|
| 18 | float height;
|
| 19 | float width;
|
| 20 | float minHeight;
|
| 21 | float minWidth;
|
| 22 | float maxHeight;
|
| 23 | float maxWidth;
|
| 24 | |
| 25 | bool matchWithTemplate(Template t);
|
| 26 | }; |
| 27 | |
| 28 | #endif |
