X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=37fa547cf163b6dcae1e0f0a9c8e4383bcd10270;hb=58f3178d52d0c1762a566b375354816e0cc4bb26;hp=f76d2a1321d8c28849d3cd15d49b92b2382e8bd2;hpb=97e94d6d86e558d1d377486bf2db1549c06f4fd1;p=clitk.git diff --git a/common/vvImage.h b/common/vvImage.h index f76d2a1..37fa547 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -42,6 +42,7 @@ public : void Reset(); template void AddItkImage(TItkImageType *input); const std::vector& GetVTKImages(); + const std::vector& GetTransformedVTKImages(); vtkImageData* GetFirstVTKImageData(); int GetNumberOfDimensions() const; int GetNumberOfSpatialDimensions(); @@ -60,6 +61,7 @@ public : void SetTimeSpacing(double s) { mTimeSpacing = s; } void SetTimeOrigin(double o) { mTimeOrigin = o; } void UpdateReslice(); + bool HaveSameSizeAndSpacingThan(vvImage * other); private: vvImage(); @@ -67,8 +69,11 @@ private: std::vector< ConverterPointer > mItkToVtkConverters; std::vector mVtkImages; + std::vector< vtkSmartPointer > mVtkImageReslice; vtkSmartPointer mTransform; + std::vector mTransformedVtkImages; + double mTimeOrigin; double mTimeSpacing; unsigned int mImageDimension;