#include "manualViewBullEyeSector.h" // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- manualViewBullEyeSector::manualViewBullEyeSector() { } // ---------------------------------------------------------------------------- void manualViewBullEyeSector::RefreshContour() { //EED004 int i,nps; double x,y,z; double xx,yy,zz; //---------------------------------- //EED 27 Juin 2012 //Boundaring box _minX=99999; _minY=99999; _minZ=99999; _maxX=-99999; _maxY=-99999; _maxZ=-99999; _manContModel->UpdateSpline(); nps = _manContModel->GetNumberOfPointsSpline(); if ( _pts!=NULL ) { for( i = 0; i < nps; i++ ) { _manContModel->GetSpline_i_Point(i,&x,&y,&z); xx = x*_spc[0]; yy = y*_spc[1]; zz = z*_spc[2]; _pts->SetPoint(i , xx , yy , zz ); //EED 27 Juin 2012 //Boundaring box if (xx < _minX) { _minX = xx; } if (yy < _minY) { _minY = yy; } if (zz < _minZ) { _minZ = zz; } if (xx > _maxX) { _maxX = xx; } if (yy > _maxY) { _maxY = yy; } if (zz > _maxZ) { _maxY = zz; } }// for } // if _pts }