]> Creatis software - creaRigidRegistration.git/blobdiff - lib/Transparency.h
Added template methods
[creaRigidRegistration.git] / lib / Transparency.h
index f75c4dfbf6e11baabe4cf55e5fccc6f32537f652..c28214fd14d95e4e356c79a378eaefb9d9344ef1 100644 (file)
@@ -26,9 +26,12 @@ class Transparency
                //Initialize newImage points
                void initialize(int dimensions[], double spacing[]);
 
-               //Constructs new transparent image
+               //Constructs new transparent image
                void createImage(vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY);
 
+               //Template for constructing the image by image type
+               template <class T> void createImageByType(T* dataImagePointer1, T* dataImagePointer2, T* dataImageResultPointer, vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY);
+
        // --- Atributes --- //
        private: