1 #ifndef PlaneDirectionManagerData_H_
2 #define PlaneDirectionManagerData_H_
6 #include "PlanesOperations.h"
11 #include <vtkArrowSource.h>
12 //#include <vtkConeSource.h>
13 #include <vtkPolyDataMapper.h>
15 #include <vtkProperty.h>
16 #include <vtkMatrix4x4.h>
17 #include <vtkTransform.h>
20 class PlaneDirectionManagerData : public PlanesOperations {
23 PlaneDirectionManagerData(int radio, double colour[3], int opacity);
24 ~PlaneDirectionManagerData();
26 void setPoint0(double x,double y,double z){
31 void setPoint1(double x,double y,double z){
36 void setPoint2(double x,double y,double z){
53 vtkProp3D* GetActor();
55 double* GetDirection(){
59 void ChangeColour(double r,double g,double b);
70 vtkArrowSource *_vtkarrow;
71 vtkPolyDataMapper *_arrowMapper;
72 vtkActor *_arrowActor;
74 double* GetMidPoint();
78 #endif /*PlaneDirectionManagerData_H_*/