X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.h;h=10ffc865fa2ed353605e4844abd6c456e5e678ee;hb=0896f3c0ca8e3b1642f3fbce277c64618871f12b;hp=a120457f6f9f5a5f375f22cd426f5262cf05af9e;hpb=cd04d8c797defe2fdaff3d1fa09928b22dd6edc4;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;