1 #ifndef manualViewPoint_h
2 #define manualViewPoint_h
4 #include "vtkRenderWindow.h"
6 #include "vtkRenderer.h"
7 #include "vtkRenderWindowInteractor.h" //extremely important with VC++ don't remove !
8 #include "vtkCommand.h"
9 #include "vtkPolyData.h"
10 #include "vtkCellArray.h"
11 #include "vtkPolyDataMapper.h"
12 #include "vtkInteractorObserver.h"
13 #include "vtkInteractorStyleImage.h"
14 #include <vtkKochanekSpline.h>
16 #include <vtkCellPicker.h>
19 #include <vtkCamera.h>
20 #include <vtkPolyLine.h>
21 #include <vtkDataSetMapper.h>
22 #include <vtkUnstructuredGrid.h>
24 #include "wxVTKRenderWindowInteractor.h"
30 #include "wxVtkBaseView.h"
33 //--------------------------------------------------------
35 class manualViewPoint{
40 manualViewPoint(wxVtkBaseView *wxvtkbaseview);
42 void SetSelected(bool selected);
43 void SetPosibleSelected(bool posibleSelected);
45 bool GetPosibleSelected();
46 void DeleteVtkObjects();
47 vtkActor* CreateVtkPointActor();
48 void SetPositionXY(double x, double y, double range, double posZ);
49 vtkActor* GetVtkActor();
50 void UpdateColorActor();
51 void GetSpacing(double spc[3]);
52 void SetSpacing(double spc[3]);
53 void SetWidthLine( double width);
58 bool _posibleSelected;
61 vtkActor *_pointVtkActor;
62 vtkPolyDataMapper *_bboxMapper;
63 wxVtkBaseView *_wxvtkbaseview;
69 #endif // manualViewPoint_h