X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaVtk%2FvtkStreamLineCreateColorInfo.cpp;h=9d522cb3ba4e88b5be2dbc62d8ef2ff7646bdf5c;hb=ef9f90810fcc3800acac54a104f14ff505135fd3;hp=f26bf2e0969562a4a322bfecf21c5ad22e03cfbb;hpb=74204f5cada1add842ffc8488fef62c616ca63e9;p=creaVtk.git diff --git a/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp b/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp index f26bf2e..9d522cb 100644 --- a/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp +++ b/lib/creaVtk/vtkStreamLineCreateColorInfo.cpp @@ -69,7 +69,13 @@ void vtkStreamLineCreateColorInfo::Run() double vx,vy,vz,mag; double colorDirX,colorDirY,colorDirZ; +//EED 2017-01-01 Migration VTK7 +#if VTK_MAJOR_VERSION <= 5 _StreamLinesIn->Update(); +#else + //... +#endif + vtkCharArray *mask = vtkCharArray::New(); vtkDoubleArray *magnitud = vtkDoubleArray::New(); vtkDoubleArray *velocity = vtkDoubleArray::New();