1 #include "vtkImageData.h"
2 #include "vtkImageResample.h"
14 //Calculate the new image and save it in the attribute image
15 void calculateImage();
18 vtkImageData* getImage();
20 void setImage1(vtkImageData *image);
22 void setImage2(vtkImageData *image);
24 void setPercent(int percent);
26 //Initialize newImage points
27 void initialize(int dimensions[], double spacing[]);
29 //Constructs new transparent image
30 void createImage(vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY);
32 // --- Atributes --- //
39 vtkImageData *_image1;
41 vtkImageData *_image2;
44 vtkImageData *_newImage;
46 //Percent of transparency for the second image
49 // Image 1 extent (iniX, finX, iniY, finY, iniZ, finZ)
51 // Dimensionality image 1
56 // Image 2 extent (iniX, finX, iniY, finY, iniZ, finZ)
58 // Dimensionality image 2