]> Creatis software - creaRigidRegistration.git/blobdiff - lib/CheckBoard.h
Added template methods
[creaRigidRegistration.git] / lib / CheckBoard.h
index cc1ef870ac4638ce0fcee260dc0fbd7adceef460..d7774780957922a36f6e4bb9dc1e0ca5ca864b97 100644 (file)
@@ -33,6 +33,7 @@ class CheckBoard
                void setCols(int cols);
 
                void setRows(int rows);
+               template <class T> void createImageByType(T* dataImagePointer1, T* dataImagePointer2, T* dataImageResultPointer, vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY);
 
        // --- Atributes --- //
        private: 
@@ -48,6 +49,12 @@ class CheckBoard
                //Resulting image
                vtkImageData *newImage;
 
+               //Image Resampler
+               vtkImageResample *resample;
+
+               //Rsulting image from the resampler
+               vtkImageData *result;
+
                //Total number of divisions for the X axis (colums)
                int squaresX;