2 #ifndef __ViewShowNPoints_h_INCLUDED__
3 #define __ViewShowNPoints_h_INCLUDED__
7 #include <vtkTextActor3D.h>
8 #include <vtkRenderer.h>
9 #include <vtkSphereSource.h>
10 #include "vtkProperty.h"
11 #include "vtkPolyDataMapper.h"
12 #include "vtkRenderWindow.h"
13 #include <vtkTextProperty.h>
15 #include "ModelShowNPoints.h"
20 ViewShowNPoints(ModelShowNPoints* modelShowNPoints);
22 ModelShowNPoints* GetModelShowNPoints();
23 void SetModelShowNPoints(ModelShowNPoints* modelShowNPoints);
24 void RefreshPoint(int id);
29 void ErasePoint(int id);
31 std::vector<vtkActor*> lstActorsSphere;//NTU changed from prop3D to Actor
32 std::vector<vtkTextActor3D*> lstActorsText;
33 std::vector<vtkSphereSource*> lstSourceSphere;
34 std::vector<double> mcolour;
36 vtkRenderer* renderer;
38 ModelShowNPoints* mmodelShowNPoints;
41 #endif // __ViewShowNPoints_h_INCLUDED__