X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FvvImage.cxx;h=f75d3212267441b0ee75e2a0ffe221d00ad9066a;hb=d55f025b18f68066a52b8f33c2dc6481e82c2580;hp=48f2e1fd94507e30b4102d979b04a80e0a71cc85;hpb=aa6dd5f370bd31c3e7aaea6147901f4031a15eca;p=clitk.git diff --git a/common/vvImage.cxx b/common/vvImage.cxx index 48f2e1f..f75d321 100644 --- a/common/vvImage.cxx +++ b/common/vvImage.cxx @@ -261,6 +261,15 @@ const std::vector< vtkSmartPointer >& vvImage::GetTransform() //-------------------------------------------------------------------- +//-------------------------------------------------------------------- +void vvImage::InitializeTransform() +{ + for (int i = 0; i < mTransform.size(); i++) + mTransform[i]->Identity(); +} +//-------------------------------------------------------------------- + + //-------------------------------------------------------------------- std::vector< std::vector > vvImage::GetDirection() {