]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.cxx
#2651 creaMaracasVisu Feature New Normal - Color Layer: Transparent Base, Refresh
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / LayerImageBase.cxx
index 15ec30669619dfd9f52651a7c45b3a0f6c699771..a283606543dea92ca61c0af924dcf5c58c85455f 100644 (file)
@@ -258,8 +258,11 @@ void LayerImageBase::CleanXYZ(double &x, double &y, double &z)
 //----------------------------------------------------------------------------
 void LayerImageBase::onThreshold()
 {
+printf("EED LayerImageBase::onThreshold Start \n");
+
        if ((_image!=NULL) && (_baseView!=NULL))
        {
+printf("EED LayerImageBase::onThreshold 1 \n");
                double spc[3];
                GetImage()-> GetSpacing(spc);
                double x=GetX();
@@ -282,6 +285,7 @@ void LayerImageBase::onThreshold()
 
                if (!GetActorPresent())
                {
+printf("EED LayerImageBase::onThreshold 2 \n");
                        if (_thresholdTable==NULL)
                        {
                                //Lookup Table
@@ -323,6 +327,8 @@ void LayerImageBase::onThreshold()
                _imageReslicer->SetInput( GetImage() );
                _imageReslicer->SetInformationInput( GetImage() );
 
+printf("EED LayerImageBase::onThreshold  directionViewer=%d\n", directionViewer );
+
                if (directionViewer==0)
                {
                        _imageReslicer->SetResliceAxesDirectionCosines( 0,0,1, 0,1,0,  -1,0,0 );