unsigned int i,ii, np;
np = GetNumberOfPoints( );
//EED01
- printf("EED manualViewRoi::RefreshContour np %d \n", np);
if ( np > 0)
{
if (np>=2)
//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
//int i , nps = _sizePointsContour;
int i;
int nps = _manContModel->GetNumberOfPointsSpline();
-printf("EED01 manualViewBaseContour::ConstructVTKObjects nps %d\n ",nps);
//-------------------------------------------------------------
DeleteVtkObjects();
_pts = vtkPoints::New();
_pts->SetPoint(i, 0 , 0 , 0 );
}
// This is for the boundaring inicialisation
+
//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 );
+// _pts->SetPoint(0, -1000 , -1000 , -1000 );
+// _pts->SetPoint(1, 1000 , 1000 , 1000 );
+
vtkCellArray *lines = vtkCellArray::New();
lines->InsertNextCell( nps /* +1 */ );