X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaVtk%2FvtkStreamLineCreateColorInfo.cpp;h=f26bf2e0969562a4a322bfecf21c5ad22e03cfbb;hb=baedf84edee0776111219f64436cc08803ed14c3;hp=c088d5e211029ba63edd7f9736d664627700ae81;hpb=8eab35636049813a6ce1b8f0e2d99e62dd280e0e;p=creaVtk.git diff --git a/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp b/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp index c088d5e..f26bf2e 100644 --- a/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp +++ b/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp @@ -126,15 +126,15 @@ void vtkStreamLineCreateColorInfo::Run() magnitud->SetTuple1 (id, mag); velocity->SetTuple3 (id, vx,vy,vz); colorDirection->SetTuple3 (id, colorDirX,colorDirY,colorDirZ); -} + } // for jj ii=ii+numberofids+1; - } // for iLine + } // for iLine - _StreamLinesIn->GetPointData()->AddArray( mask ); - _StreamLinesIn->GetPointData()->AddArray( magnitud ); - _StreamLinesIn->GetPointData()->AddArray( velocity ); - _StreamLinesIn->GetPointData()->AddArray( colorDirection ); + _StreamLinesIn->GetPointData()->AddArray( mask ); + _StreamLinesIn->GetPointData()->AddArray( magnitud ); + _StreamLinesIn->GetPointData()->AddArray( velocity ); + _StreamLinesIn->GetPointData()->AddArray( colorDirection ); }