X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=7240be82c4ef5843a221ed34930d4b0691dc8ea5;hb=0b3ad34085ec3fbbd8419843af0619745e963cfa;hp=ec01a1ffbe40d67f0f8b6a095f8cd56a80edacef;hpb=1a59b22f9105492f15d971d66f3ab29981e91ed6;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;