diff options
| author | Tim Redfern <tim@getdrop.com> | 2023-04-20 20:16:54 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@getdrop.com> | 2023-04-20 20:16:54 +0100 |
| commit | 4c12e758b280388426ca8070b80028031d75d054 (patch) | |
| tree | 8a071799cec18c0b686d6f065801e241d6828e1e /nextus/src/vectorPlugin.h | |
| parent | 369946c9964c02d9c702e824292d5dd11a0af102 (diff) | |
WIP clipping
Diffstat (limited to 'nextus/src/vectorPlugin.h')
| -rw-r--r-- | nextus/src/vectorPlugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nextus/src/vectorPlugin.h b/nextus/src/vectorPlugin.h index 047d836..3d01d07 100644 --- a/nextus/src/vectorPlugin.h +++ b/nextus/src/vectorPlugin.h @@ -7,6 +7,7 @@ #include "ofxPONK.h" #include "lineTransformer.h" #include "lineSegmenter.h" +#include "lineClipper.h" #include "vectorText.h" static ofVec2f DISPLAYSIZE(200,200); @@ -39,6 +40,9 @@ class vectorPanel { ofPopMatrix(); ofPopMatrix(); } + vector<colourPolyline> clipOutput() { + return getOut(); + }; vector<colourPolyline> getOutput() {return getLines();}; virtual vector<colourPolyline> getLines() {}; virtual void update() {}; @@ -47,6 +51,7 @@ class vectorPanel { ofVec2f size; ofPoint position; ofxPanel panel; + vector <ofPolyline> frame; }; class defaultPanel: public vectorPanel{ |
