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