-
Notifications
You must be signed in to change notification settings - Fork 40
/
Path.h
executable file
·37 lines (28 loc) · 1015 Bytes
/
Path.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Copyright (c) 2016, 2021 Daniel Moore, Madeline Gannon, and The Frank-Ratchye STUDIO for Creative Inquiry All rights reserved.
////
#pragma once
#include "ofMain.h"
namespace ofxRobotArm{
class Path{
public:
Path(){};
~Path(){};
virtual void setup(){};
virtual ofMatrix4x4 getNextPose(){ return ofMatrix4x4();};
virtual ofMatrix4x4 getPoseAt(int index){return ofMatrix4x4();};
virtual int getPtIndex(){return -1;};
virtual void setPtIndex(int index){};
virtual void addPoint(ofVec3f pt){};
virtual void addPath(vector<ofVec3f> pts){};
virtual void addPath(ofPolyline line){};
virtual void addPaths(vector<ofPolyline> lines){};
virtual void draw(){};
virtual void keyPressed(int key){};
int ptIndex;
virtual int size(){return 0;};
ofPolyline path;
// add retract & approach ???
protected:
};
}