X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageView.cxx;h=d94117402b086b1f0f1d43fbf4d414cf9d673641;hb=c85eb0d2045092682d9ec729097ba1a06084732c;hp=299b737dc7a1a2605446d95a3a43972bd744e0a5;hpb=a51951cc5a3aad3ff13e9b009dd680b6f833960a;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.cxx index 299b737..d941174 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.cxx @@ -439,14 +439,22 @@ printf("EED ColorLayerImageView::ConfigLookupTable Make something with transpa thresholdTable->Build( ); - //EO CM EED } //---------------------------------------------------------------------------- int ColorLayerImageView::GrayLevel_TO_colorTableIndex( double VALUE ) { + +//EED 2017-01-01 Migration VTK7 +#if VTK_MAJOR_VERSION <= 5 GetImage()->Update(); +#else + //... +#endif + + + //EED 20 oct 2015 // GetImage()->GetScalarRange(_range);