]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkClipping3DViewCntrlPanel.cxx
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkClipping3DViewCntrlPanel.cxx
index ab9803cd9c19ed0d0ae36aee5a47b42ecb73f55b..95af503dac672136a2452de472e237593f5a1169 100644 (file)
@@ -394,7 +394,7 @@ void wxVtkClipping3DViewCntrlPanel::OnOpacity(wxScrollEvent& event)
 void wxVtkClipping3DViewCntrlPanel::OnIsoValueSpin(wxScrollEvent& event)
 {
        int value = _isoValue->GetValue();
-       int delta= (int)pow( 4 , _isoValueSpin->GetValue() );
+       int delta= (int)pow( (double)4 ,(double) _isoValueSpin->GetValue() );
        int min=value - delta/2;
        int max=value + delta/2;
        if (min<0)
@@ -577,7 +577,7 @@ void wxVtkClipping3DViewCntrlPanel::OnBtnVolumeFunctions(wxCommandEvent& event)
        //setting variables if the user wants to do refresh
        hDlg->setCTF(ctfun);
        hDlg->setTF(tfun);
-       hDlg->setClipping3DView(_wxvtkclipping3Dview);
+       //hDlg->setClipping3DView(_wxvtkclipping3Dview);
        /*
        hDlg->setVolume(newvol);
        hDlg->setVolumeMapper(volumeMapper);