57 std::vector<vtkPolyData*> oNewContours = std::vector<vtkPolyData*>();
61 std::cerr <<
"Radius should be > 0 " << std::endl;
66 std::vector<double> CenterVect(3);
69 for(
size_t id = 0;
id < this->
m_Seeds->size();
id++ )
71 unsigned int dimension2Collapse(0);
74 dimension2Collapse = 2;
78 dimension2Collapse = 1;
82 dimension2Collapse = 0;
87 (*this->
m_Seeds)[
id]->GetPoint(i, Center);
89 CenterVect[0] = Center[0];
90 CenterVect[1] = Center[1];
91 CenterVect[2] = Center[2];
93 vtkPolyData* temp_output =
94 this->ApplyLevelSetFilter< unsigned char >(
99 oNewContours.push_back( temp_output );