X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=10ffc865fa2ed353605e4844abd6c456e5e678ee;hb=69e0d4a169d9b95536a0f45377bdb208814cf89b;hp=a120457f6f9f5a5f375f22cd426f5262cf05af9e;hpb=f1cebc71809c5218578a58486f829980eeb29ab3;p=clitk.git diff --git a/common/vvImage.h b/common/vvImage.h index a120457..10ffc86 100644 --- a/common/vvImage.h +++ b/common/vvImage.h @@ -23,6 +23,7 @@ #include #include +#define VTK_EXCLUDE_STRSTREAM_HEADERS #include #include @@ -60,6 +61,8 @@ public : void SetTimeSpacing(double s) { mTimeSpacing = s; } void SetTimeOrigin(double o) { mTimeOrigin = o; } bool HaveSameSizeAndSpacingThan(vvImage * other); + //META DATA + itk::MetaDataDictionary* GetFirstMetaDataDictionary(); private: vvImage(); @@ -68,6 +71,8 @@ private: std::vector< ConverterPointer > mItkToVtkConverters; std::vector< vtkImageData* > mVtkImages; std::vector< vtkSmartPointer > mTransform; + //META DATA + std::vector< itk::MetaDataDictionary* > mDictionary; double mTimeOrigin; double mTimeSpacing;