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