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;
46 vtkAssembly *assembly;
56 eosAxisSourceCoord axisLength;
57 eosAxisSourceCoord axisRadius;
58 //eosAxisSourceCoord axisFace;
59 eosAxisSourceCoord axisColor;
61 eosAxisSourceCoord arrowLength;
62 eosAxisSourceCoord arrowRadius;
63 // eosAxisSourceCoord arrowFace;
64 eosAxisSourceCoord arrowColor;
69 eosAxisSourceCoord axisPosition;
70 eosAxisSourceCoord arrowPosition;
77 void SetScale(double s);
78 void SetLength(double l);
79 void SetRenderer(vtkRenderer* ren);
81 void Draw(vtkRenderer* ren);
85 #endif /* EOS_AXIS_SOURCE_HH */