39 std::vector< vtkPoints* >* iSeeds,
67 std::cout<<
"the widget has to be created before";
68 std::cout <<
"Debug: In " << __FILE__ <<
", line " << __LINE__;
69 std::cout << std::endl;
79 const double& iRadius,
80 const unsigned int& iOrientation)
82 assert( iCenter.size() == 3 );
83 assert( iRadius >= 0. );
84 assert( iOrientation < 4 );
86 std::vector<double> boundingBox( 6, 0. );
89 for(
unsigned int i=0; i<3; i++)
93 boundingBox[k++] = iCenter[i];
94 boundingBox[k++] = iCenter[i];
98 boundingBox[k++] = iCenter[i] - iRadius;
99 boundingBox[k++] = iCenter[i] + iRadius;
QGoSemiAutoSegmentationAlgo(std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
QGoAlgorithmWidget * m_AlgoWidget
abstract class to be the interface between the algorithms for meshes and contours and GoFigure ...
virtual void SetAlgoWidget(QWidget *iParent=0)
construct the algowidget with the different parameters
std::vector< double > GetBounds(const std::vector< double > &iCenter, const double &iRadius, const unsigned int &iOrientation=3)
QGoAlgoParameter< double > * m_Radius
virtual ~QGoSemiAutoSegmentationAlgo()