Point entity works. Default colours are sensible.
[Procustean.git] / src / AMCNode.h
blobefec77ced46179f5387dff7fda30a75b27adfd4d
1 #pragma once
3 class AMCNode
5 public:
6 AMCNode(void);
7 ~AMCNode(void);
9 enum Channel
11 TX, TY, TZ, RX, RY, RZ, LENGTH
14 enum Axes
16 XYZ, ZYX, YXZ, YZX
19 class Limit
21 public:
22 Channel channel;
23 std::pair<double, double> limits;
26 int id;
28 std::string name;
29 double direction[3];
30 double length;
31 G3D::Quat axis;
32 std::vector<Channel> channels;
33 std::vector<Limit> limits;
36 class AMCRoot : public AMCNode
38 public:
40 std::vector<Axes> axis;
41 std::vector<Channel> order;
42 G3D::Vector3 m_position;
43 G3D::Quat m_orientation;