]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx
#2844 creaMaracasVisu Feature New Normal - ManualPaint_model box, Refresh TransferF...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.cxx
index 925dc8f84157ab708b9b93d0fb7de3255b327952..d89c05ed8da74f5e309c9d3ca49cba03a4b90c85 100644 (file)
@@ -362,10 +362,11 @@ void LayerImageBase::onThreshold()
                        _imageReslicer->SetResliceAxesOrigin(0,0,z);
                }
 
-
                _imageReslicer->SetOutputDimensionality(2);
 //             _imageReslicer->SetInterpolationModeToLinear();
                _imageReslicer->SetInterpolationModeToNearestNeighbor();
+               _imageReslicer->Modified();
+
 
                vtkImageData *img = _imageReslicer->GetOutput();
 //             img->Update();