40 std::vector< vtkPoints* >* iSeeds,
64 const double& iRadius,
65 const unsigned int& iOrientation)
67 assert( iCenter.size() == 3 );
68 assert( iRadius >= 0. );
69 assert( iOrientation < 4 );
71 std::vector<double> boundingBox( 6, 0. );
74 for(
unsigned int i=0; i<3; i++)
78 boundingBox[k++] = iCenter[i];
79 boundingBox[k++] = iCenter[i];
83 boundingBox[k++] = iCenter[i] - iRadius;
84 boundingBox[k++] = iCenter[i] + iRadius;
virtual void SetAlgoWidget(QWidget *iParent=0)
construct the algowidget with the different parameters
abstract class to be the interface between the algorithms for meshes and contours and GoFigure ...
QGoSplitSegmentationAlgo(std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
virtual ~QGoSplitSegmentationAlgo()
std::vector< double > GetBounds(const std::vector< double > &iCenter, const double &iRadius, const unsigned int &iOrientation=3)