diff options
Diffstat (limited to 'gui/src/lineTransformer.h')
| -rw-r--r-- | gui/src/lineTransformer.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gui/src/lineTransformer.h b/gui/src/lineTransformer.h new file mode 100644 index 0000000..8268b81 --- /dev/null +++ b/gui/src/lineTransformer.h @@ -0,0 +1,17 @@ +#pragma once + +#include "ofMain.h" + +class lineTransformer { + + public: + lineTransformer(){ + } + void static drawWarpFrame(glm::vec2 warpframe[4]); + void static gaussianElimination(float * input, int n); + glm::mat4 static getPerspectiveTransformMatrix(const glm::vec2 src[4], const glm::vec2 dst[4]); + ofPolyline static polyLineTransform(const ofPolyline& poly, ofMatrix4x4 xform); + ofPolyline static makePolygon(int num,float diam); + void static drawPoly(ofPolyline poly,float x,float y); + +};
\ No newline at end of file |
