1 #ifndef _PlaneDirectionViewer_H_
2 #define _PlaneDirectionViewer_H_
9 #include <vtkRenderer.h>
12 #include "PlaneDirectionViewerPanel.h"
13 #include "PlaneDirectionManager.h"
16 class creaMaracasVisu_EXPORT PlaneDirectionViewer : public wxPanel {
19 PlaneDirectionViewer(wxWindow* parent, int radio, double colour[3], int opacity);
20 ~PlaneDirectionViewer();
22 void SetRenderer(vtkRenderer* render);
23 void SetVectors( std::vector<double> lstPointsx, std::vector<double> lstPointsy, std::vector<double> lstPointsz);
25 void UpdateDirections() throw (std::exception);
27 static PlaneDirectionViewer* getInstance(wxWindow* parent,int radio, double colour[3], int opacity);
29 static PlaneDirectionViewer* getInstance();
31 void addRemoveActor(int index, bool addremove);
33 void changeColor(int index,double r,double g,double b);
35 void WriteInformation(std::string filename,double* spc=NULL);
37 void SetArrowSize(int arrowsize);
39 static PlaneDirectionViewer* instance;
40 PlaneDirectionManager* manager;
41 std::vector<PlaneDirectionViewerPanel*> viewdata;
44 #endif /*PlanesOperations_H_*/