]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/manualContour.cpp
BUG MACOS
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / manualContour.cpp
index 5ebf7d8ee79c4586fe529766c92910f4fe005f66..de7d18f196b66fc9b06b0e96c54d83ae3dfa9090 100644 (file)
@@ -2162,6 +2162,8 @@ void manualViewRoi::RefreshContour() // virtual
 {
     unsigned int i,ii, np;
     np = GetNumberOfPoints( );
+//EED01        
+       printf("EED manualViewRoi::RefreshContour np %d \n", np);       
        if ( np > 0)
        {
                if (np>=2)
@@ -2178,6 +2180,7 @@ void manualViewRoi::RefreshContour() // virtual
 
        //EED 27 sep 2007
        //                      _pts->SetPoint(i, XX,YY,ZZ );
+printf("EED manualViewRoi::RefreshContour ZZ %f   _spc%f \n", ZZ, _spc[2] );   
                                _pts->SetPoint(i, XX*_spc[0] , YY*_spc[1] , ZZ*_spc[2] );
                        } //  rof
 
@@ -2878,6 +2881,7 @@ void manualViewBaseContour::ConstructVTKObjects()
        //int i , nps = _sizePointsContour;
        int i;
        int nps = _manContModel->GetNumberOfPointsSpline();
+printf("EED01 manualViewBaseContour::ConstructVTKObjects nps %d\n ",nps);      
 //-------------------------------------------------------------
        DeleteVtkObjects();
        _pts = vtkPoints::New();
@@ -2887,8 +2891,11 @@ void manualViewBaseContour::ConstructVTKObjects()
                _pts->SetPoint(i,       0       , 0     , 0 );
        }
        // This is for the boundaring inicialisation
-       _pts->SetPoint(0,       -1000   , -1000 , -1000 );
-       _pts->SetPoint(1,       1000    , 1000  , 1000 );
+//EED 29Mars2009       
+       _pts->SetPoint(0,       0       , 0     , -1000 );
+       _pts->SetPoint(1,       0       , 0     ,  1000 );
+//     _pts->SetPoint(0, -1000 , -1000 , -1000 );
+//     _pts->SetPoint(1, 1000  , 1000  , 1000  );
 
        vtkCellArray *lines = vtkCellArray::New();
        lines->InsertNextCell( nps /* +1 */ );