X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=ec01a1ffbe40d67f0f8b6a095f8cd56a80edacef;hb=c2e0628b1d9f0940ac192ff3683c3ede5d01ceb3;hp=37fa547cf163b6dcae1e0f0a9c8e4383bcd10270;hpb=a2ad218b695b29d49d53c85601d1ea438528e468;p=clitk.git diff --git a/common/vvImage.h b/common/vvImage.h index 37fa547..ec01a1f 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef VVIMAGE_H #define VVIMAGE_H @@ -23,7 +23,6 @@ #include #include -#include #include #include @@ -41,8 +40,8 @@ public : void Init(); void Reset(); template void AddItkImage(TItkImageType *input); + void AddVtkImage(vtkImageData* input); const std::vector& GetVTKImages(); - const std::vector& GetTransformedVTKImages(); vtkImageData* GetFirstVTKImageData(); int GetNumberOfDimensions() const; int GetNumberOfSpatialDimensions(); @@ -60,7 +59,6 @@ public : vtkSmartPointer GetTransform(); void SetTimeSpacing(double s) { mTimeSpacing = s; } void SetTimeOrigin(double o) { mTimeOrigin = o; } - void UpdateReslice(); bool HaveSameSizeAndSpacingThan(vvImage * other); private: @@ -69,10 +67,7 @@ private: std::vector< ConverterPointer > mItkToVtkConverters; std::vector mVtkImages; - - std::vector< vtkSmartPointer > mVtkImageReslice; vtkSmartPointer mTransform; - std::vector mTransformedVtkImages; double mTimeOrigin; double mTimeSpacing;