X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=7240be82c4ef5843a221ed34930d4b0691dc8ea5;hb=ef33edbce5ce9f897e3e6acbc5d36718407329c0;hp=ec01a1ffbe40d67f0f8b6a095f8cd56a80edacef;hpb=f919b21c1ae12c0b81b653dcd00db5eaaad5a343;p=clitk.git diff --git a/common/vvImage.h b/common/vvImage.h index ec01a1f..7240be8 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -56,18 +56,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;