X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=10ffc865fa2ed353605e4844abd6c456e5e678ee;hb=3816dd0b131a30c38733aa6db654baa008a529f6;hp=ec01a1ffbe40d67f0f8b6a095f8cd56a80edacef;hpb=1a59b22f9105492f15d971d66f3ab29981e91ed6;p=clitk.git diff --git a/common/vvImage.h b/common/vvImage.h index ec01a1f..10ffc86 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -23,6 +23,7 @@ #include #include +#define VTK_EXCLUDE_STRSTREAM_HEADERS #include #include @@ -56,18 +57,22 @@ public : bool IsTimeSequence() const; bool IsScalarTypeInteger(); bool IsScalarTypeInteger(int t); - vtkSmartPointer GetTransform(); + const std::vector< vtkSmartPointer >& GetTransform(); void SetTimeSpacing(double s) { mTimeSpacing = s; } void SetTimeOrigin(double o) { mTimeOrigin = o; } bool HaveSameSizeAndSpacingThan(vvImage * other); + //META DATA + itk::MetaDataDictionary* GetFirstMetaDataDictionary(); private: vvImage(); ~vvImage(); std::vector< ConverterPointer > mItkToVtkConverters; - std::vector mVtkImages; - vtkSmartPointer mTransform; + std::vector< vtkImageData* > mVtkImages; + std::vector< vtkSmartPointer > mTransform; + //META DATA + std::vector< itk::MetaDataDictionary* > mDictionary; double mTimeOrigin; double mTimeSpacing;