X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FCylinderSource.cxx;h=a89e1a444a78d4d03323fd4d31a03a7c44ad071f;hb=931fb6b5db15d945e7412735b1ee082b8f62cc97;hp=5a11d78441f0403550d131995fb7bd9405e3b686;hpb=65e11480407fe343b2b56098257e0bb837f75df3;p=cpPlugins.git diff --git a/plugins/MeshSources/CylinderSource.cxx b/plugins/MeshSources/CylinderSource.cxx index 5a11d78..a89e1a4 100644 --- a/plugins/MeshSources/CylinderSource.cxx +++ b/plugins/MeshSources/CylinderSource.cxx @@ -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 ); } // -------------------------------------------------------------------------