|
| OE_base () |
|
virtual | ~OE_base () |
|
bool | getNeedRefresh () |
|
void | setNeedRefresh () |
|
void | addDependency (OE_base *object) |
| add and remove dependency from the list More...
|
|
void | removeDependency (OE_base *object) |
|
virtual void | delDependency (OE_base *object) |
| the function called by a reference object when he's deleted More...
|
|
virtual void | getBound (float *xMin, float *yMin, float *xMax, float *yMax)=0 |
| calculate the object bounding box More...
|
|
virtual bool | check ()=0 |
| check if the object is valid.
|
|
virtual void | refresh ()=0 |
|
| OE_base () |
|
virtual | ~OE_base () |
|
bool | getNeedRefresh () |
|
void | setNeedRefresh () |
|
void | addDependency (OE_base *object) |
| add and remove dependency from the list More...
|
|
void | removeDependency (OE_base *object) |
|
virtual void | delDependency (OE_base *object) |
| the function called by a reference object when he's deleted More...
|
|
virtual void | getBound (float *xMin, float *yMin, float *xMax, float *yMax)=0 |
| calculate the object bounding box More...
|
|
virtual bool | check ()=0 |
| check if the object is valid.
|
|
virtual void | refresh ()=0 |
|
|
std::list< OE_base * > | objects |
|
float | bounds [4] |
| Tight bounding box of the object [minx,miny,maxx,maxy].
|
|
bool | needRefresh = true |
| flag to know who must be refreeshed
|
|
virtual OE_base::~OE_base |
( |
| ) |
|
|
virtual |
void OE_base::addDependency |
( |
OE_base * |
object | ) |
|
add and remove dependency from the list
- Parameters
-
object | -> the dependency object |
void OE_base::addDependency |
( |
OE_base * |
object | ) |
|
add and remove dependency from the list
- Parameters
-
object | -> the dependency object |
virtual void OE_base::delDependency |
( |
OE_base * |
object | ) |
|
|
inlinevirtual |
virtual void OE_base::delDependency |
( |
OE_base * |
object | ) |
|
|
inlinevirtual |
virtual void OE_base::getBound |
( |
float * |
xMin, |
|
|
float * |
yMin, |
|
|
float * |
xMax, |
|
|
float * |
yMax |
|
) |
| |
|
pure virtual |
calculate the object bounding box
- Parameters
-
xMin,yMin,xMax,yMax | -> pointers to the bouding box variables to set |
Implemented in OE_stitchs, and OE_curve.
virtual void OE_base::getBound |
( |
float * |
xMin, |
|
|
float * |
yMin, |
|
|
float * |
xMax, |
|
|
float * |
yMax |
|
) |
| |
|
pure virtual |
calculate the object bounding box
- Parameters
-
xMin,yMin,xMax,yMax | -> pointers to the bouding box variables to set |
Implemented in OE_stitchs, and OE_curve.
bool OE_base::ptInBounds |
( |
vector_2d |
pt, |
|
|
float * |
bounds |
|
) |
| |
|
staticprotected |
check if a point is in a given bounding box
- Parameters
-
pt | -> the point |
bounds | -> an array representing the bounding box |
- Returns
- true if the point is inside the bounding box
static bool OE_base::ptInBounds |
( |
vector_2d |
pt, |
|
|
float * |
bounds |
|
) |
| |
|
staticprotected |
check if a point is in a given bounding box
- Parameters
-
pt | -> the point |
bounds | -> an array representing the bounding box |
- Returns
- true if the point is inside the bounding box
The documentation for this class was generated from the following files:
- /home/seb/projets/brodeuse/openembroider/include/OE_base.h
- /home/seb/projets/brodeuse/openembroider/include/OE_instruction.h
- /home/seb/projets/brodeuse/openembroider/src/OE_base.cpp