]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/SphereMeshSource.cxx
Widget integration (step 5/6): generic widget controller finished and tested on linux...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / SphereMeshSource.cxx
index e3b582dfbf7bfcb788f5735e448b72bfc61fa41a..8ba50cc7459a0a0aaccf21a01a3c817f8f73fa80 100644 (file)
@@ -10,9 +10,6 @@ cpPlugins::BasicFilters::SphereMeshSource::
 SphereMeshSource( )
   : Superclass( )
 {
-  this->m_ClassName = "cpPlugins::BasicFilters::SphereMeshSource";
-  this->m_ClassCategory = "MeshSource";
-
   this->SetNumberOfInputs( 0 );
   this->SetNumberOfOutputs( 1 );
   this->_MakeOutput< cpPlugins::Interface::Mesh >( 0 );
@@ -41,6 +38,7 @@ _GenerateData( )
 {
   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" );