summaryrefslogtreecommitdiff
path: root/gui/src/lineTransformer.h
diff options
context:
space:
mode:
authorTim Redfern <tim@getdrop.com>2018-05-22 00:00:06 +0100
committerTim Redfern <tim@getdrop.com>2018-05-22 00:00:06 +0100
commit459d1daf71dd8991c60dc8c84d1154802eec331b (patch)
tree0a8407a7aad9d4e8fbbd51287bb921f69ae1d073 /gui/src/lineTransformer.h
parent880f710768391dc3a3399fc1896447a9e6c34fa4 (diff)
OE started
Diffstat (limited to 'gui/src/lineTransformer.h')
-rw-r--r--gui/src/lineTransformer.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/gui/src/lineTransformer.h b/gui/src/lineTransformer.h
deleted file mode 100644
index 4eabf14..0000000
--- a/gui/src/lineTransformer.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#pragma once
-
-#include "ofMain.h"
-#include "colourPolyline.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 ofMatrix4x4 xform,const ofPolyline& poly);
- colourPolyline static polyLineTransform(const ofMatrix4x4 xform,colourPolyline& poly);
- ofPolyline static makePolygon(int num,float diam);
- void static drawPoly(ofPolyline poly,float x,float y);
-
-}; \ No newline at end of file