1 #ifndef EOS_AXIS_SOURCE_HH
2 #define EOS_AXIS_SOURCE_HH
5 class eosAxisSourceCoord {
20 vtkConeSource* arrowX;
21 vtkConeSource* arrowY;
22 vtkConeSource* arrowZ;
23 vtkCylinderSource* axisX;
24 vtkCylinderSource* axisY;
25 vtkCylinderSource* axisZ;
26 vtkSphereSource* origin;
28 vtkPolyDataMapper* arrowXMapper;
29 vtkPolyDataMapper* arrowYMapper;
30 vtkPolyDataMapper* arrowZMapper;
31 vtkPolyDataMapper* axisXMapper;
32 vtkPolyDataMapper* axisYMapper;
33 vtkPolyDataMapper* axisZMapper;
34 vtkPolyDataMapper* originMapper;
36 vtkActor* arrowXActor;
37 vtkActor* arrowYActor;
38 vtkActor* arrowZActor;
42 vtkActor* originActor;
44 vtkRenderer* renderer;
54 eosAxisSourceCoord axisLength;
55 eosAxisSourceCoord axisRadius;
56 //eosAxisSourceCoord axisFace;
57 eosAxisSourceCoord axisColor;
59 eosAxisSourceCoord arrowLength;
60 eosAxisSourceCoord arrowRadius;
61 // eosAxisSourceCoord arrowFace;
62 eosAxisSourceCoord arrowColor;
67 eosAxisSourceCoord axisPosition;
68 eosAxisSourceCoord arrowPosition;
75 void SetScale(double s);
76 void SetLength(double l);
77 void SetRenderer(vtkRenderer* ren);
79 void Draw(vtkRenderer* ren);
83 #endif /* EOS_AXIS_SOURCE_HH */