1 #include "manualViewBullEyeSector.h"
3 // ----------------------------------------------------------------------------
4 // ----------------------------------------------------------------------------
5 // ----------------------------------------------------------------------------
6 manualViewBullEyeSector::manualViewBullEyeSector()
10 // ----------------------------------------------------------------------------
11 void manualViewBullEyeSector::RefreshContour()
17 //----------------------------------
28 _manContModel->UpdateSpline();
29 nps = _manContModel->GetNumberOfPointsSpline();
33 for( i = 0; i < nps; i++ )
35 _manContModel->GetSpline_i_Point(i,&x,&y,&z);
39 _pts->SetPoint(i , xx , yy , zz );
43 if (xx < _minX) { _minX = xx; }
44 if (yy < _minY) { _minY = yy; }
45 if (zz < _minZ) { _minZ = zz; }
46 if (xx > _maxX) { _maxX = xx; }
47 if (yy > _maxY) { _maxY = yy; }
48 if (zz > _maxZ) { _maxY = zz; }