X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.cxx;h=9842d4a7f2f64945580c53a6779b82957f561e55;hb=619c7d36de4ec76e9e68beb4a77c3e91e72d4c89;hp=0bddb262cb7a4f8ce70d204d8be1750e3ae35f0c;hpb=1a59b22f9105492f15d971d66f3ab29981e91ed6;p=clitk.git diff --git a/common/vvImage.cxx b/common/vvImage.cxx index 0bddb26..9842d4a 100644 --- a/common/vvImage.cxx +++ b/common/vvImage.cxx @@ -32,7 +32,7 @@ #include //-------------------------------------------------------------------- -vvImage::vvImage():mTransform(vtkSmartPointer::New()) +vvImage::vvImage() { Init(); } @@ -251,7 +251,7 @@ bool vvImage::IsScalarTypeInteger(int t) //-------------------------------------------------------------------- //-------------------------------------------------------------------- -vtkSmartPointer vvImage::GetTransform() +const std::vector< vtkSmartPointer >& vvImage::GetTransform() { return this->mTransform; } @@ -269,6 +269,11 @@ bool vvImage::HaveSameSizeAndSpacingThan(vvImage * other) return same; } //-------------------------------------------------------------------- +itk::MetaDataDictionary* vvImage::GetFirstMetaDataDictionary() +{ + return mDictionary[0]; +} +//-------------------------------------------------------------------- #endif // VVIMAGE_CXX