1 #ifndef PlaneDirectionManager_H_
2 #define PlaneDirectionManager_H_
8 #include "PlaneDirectionManagerData.h"
12 #include <vtkRenderer.h>
14 class PlaneDirectionManager {
17 PlaneDirectionManager(int radio, double colour[3], int opacity);
18 ~PlaneDirectionManager();
20 void SetRenderer(vtkRenderer* render);
21 void SetVectors( std::vector<double> lstPointsx, std::vector<double> lstPointsy, std::vector<double> lstPointsz);
23 void UpdateDirections() throw (std::exception);
25 std::vector<PlaneDirectionManagerData*> GetPlanesData(){
29 void addRemoveActor(int index, bool addremove);
31 void changeColor(int index,double r,double g,double b);
33 PlaneDirectionManagerData* GetPlaneDirectionManagerData(int id);
35 void WriteInformation(std::string filename, double* spc=NULL);
37 void SetArrowSize(int arrowsize);
40 std::vector<double> _lstPointsx;
41 std::vector<double> _lstPointsy;
42 std::vector<double> _lstPointsz;
44 std::vector<PlaneDirectionManagerData*> _vectdata;
46 void RemoveAllActorsFromIndex(int n=0)throw (std::exception);
47 void UpdateVectors()throw (std::exception);
60 #endif /*PlaneDirectionManager_H_*/