]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/PointView.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / PointView.h
1
2
3 #ifndef POINT_VIEW_H
4 #define POINT_VIEW_H
5
6
7 #include "vtkProperty.h"
8 #include "vtkActor.h"
9 #include "vtkSphereSource.h"
10 #include "vtkPolyDataMapper.h"
11 #include "wxVtkBaseView.h"
12 #include <vector>
13
14 class PointView  
15 {
16 public:
17         PointView();
18         ~PointView();
19
20         void    DeletePoints();
21         void    SetWxVtkBaseView(wxVtkBaseView *wxvtkbaseview);
22         void    Refresh();
23         void    CreateNewPoint(double x, double y, int type);
24
25         enum PointTypes
26         {
27                 BLUE = 0,           
28                 MAGENTA,              
29                 GREEN,       
30                 YELLOW          
31         };
32
33 private:
34         wxVtkBaseView                                   *_wxvtkbaseview;
35         
36         std::vector<vtkPolyDataMapper*> point_mapped;
37         std::vector<vtkActor*>                  point_actor;
38         //vtkActor                                              *_contourVtkActor;
39         //vtkPolyDataMapper                             *_bboxMapper;
40
41         void                    DeleteVtkObjects();
42
43 };
44
45 #endif // PointView
46
47