From: Eduardo DAVILA Date: Thu, 22 Apr 2021 15:45:36 +0000 (+0200) Subject: #3458 Clean Code box PolyDataToActor X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d8dcda9f784877269a0f7f2c17092202428397a8;p=bbtk.git #3458 Clean Code box PolyDataToActor --- diff --git a/packages/vtk/src/bbvtkPolyDataToActor.cxx b/packages/vtk/src/bbvtkPolyDataToActor.cxx index 50df079..06c9cc2 100644 --- a/packages/vtk/src/bbvtkPolyDataToActor.cxx +++ b/packages/vtk/src/bbvtkPolyDataToActor.cxx @@ -230,14 +230,11 @@ printf("EED WARNNING! PolyDataToActor::DoProcess which is the default values o polydatamapper->SetScalarModeToUsePointFieldData(); polydatamapper->SetColorModeToMapScalars(); - polydatamapper->SetLookupTable( bbGetInputScalarVisibilityOn_LookupTable() ); if (bbGetInputScalarVisibilityOn_NameColorArray()!="") { polydatamapper->SelectColorArray( bbGetInputScalarVisibilityOn_NameColorArray().c_str() ); -// bbGetInputIn()->PrintSelf(std::cout, vtkIndent(2)); } - if (bbGetInputScalarVisibilityOn_ScalarRange().size()==2) { polydatamapper->SetScalarRange( bbGetInputScalarVisibilityOn_ScalarRange()[0] , bbGetInputScalarVisibilityOn_ScalarRange()[1] );