]> Creatis software - cpPlugins.git/blobdiff - plugins/MeshSources/SphereSource.cxx
...
[cpPlugins.git] / plugins / MeshSources / SphereSource.cxx
index 8d52ce305f34c848220be01e540184b156e196ae..fba068adccbb4d4ce29307c41a9be565037432e5 100644 (file)
@@ -9,12 +9,9 @@ SphereSource( )
   : Superclass( )
 {
   this->_ConfigureOutput< cpPlugins::DataObjects::Mesh >( "Output" );
-  this->m_Parameters.ConfigureAsReal( "Radius" );
-  this->m_Parameters.ConfigureAsUint( "PhiResolution" );
-  this->m_Parameters.ConfigureAsUint( "ThetaResolution" );
-  this->m_Parameters.SetReal( "Radius", 1 );
-  this->m_Parameters.SetUint( "PhiResolution", 8 );
-  this->m_Parameters.SetUint( "ThetaResolution", 8 );
+  this->m_Parameters.ConfigureAsReal( "Radius", 1 );
+  this->m_Parameters.ConfigureAsUint( "PhiResolution", 8 );
+  this->m_Parameters.ConfigureAsUint( "ThetaResolution", 8 );
 }
 
 // -------------------------------------------------------------------------