1 #include "vtkImageData.h"
3 #include "vtkRenderer.h"
9 //----------------------------------------------------------------------------------------
11 //----------------------------------------------------------------------------------------
13 //--------------------------
14 //Constructor & Destructor
15 //--------------------------
16 Surface(vtkImageData* imageData, int ZHeight, std::string iColor);
18 //--------------------------
20 //--------------------------
22 getting ready the points
24 void initialize(int dimensions[],double spacing[]);
26 Calculate the new image and save it in the attribute imageResult
27 it is used if the user had given the imageData
29 void createSurface(vtkImageData* imageData);
34 vtkActor* getSurface();
37 constructing image substract
39 void surface(vtkImageData* imageData);
43 //----------------------------------------------------------------------------------------
44 // Attributes declaration
45 //----------------------------------------------------------------------------------------
50 vtkActor* surfaceResult;
53 Maximun height of the surface
63 The type of image being viewed