SphereMeshSource( )
: Superclass( )
{
- this->m_ClassName = "cpPlugins::BasicFilters::SphereMeshSource";
- this->m_ClassCategory = "MeshSource";
-
this->SetNumberOfInputs( 0 );
this->SetNumberOfOutputs( 1 );
this->_MakeOutput< cpPlugins::Interface::Mesh >( 0 );
{
itk::Point< double, 3 > center =
this->m_Parameters.GetValueAsPoint< itk::Point< double, 3 > >( "Center" );
+ center.Fill( double( 0 ) ); // TODO
double radius = this->m_Parameters.GetValueAsReal( "Radius" );
unsigned int phi = this->m_Parameters.GetValueAsUint( "PhiResolution" );
unsigned int theta = this->m_Parameters.GetValueAsUint( "ThetaResolution" );