X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FCylinderSource.cxx;h=a89e1a444a78d4d03323fd4d31a03a7c44ad071f;hb=9b11582dc5062474361432e46838c4e790c21f10;hp=5a11d78441f0403550d131995fb7bd9405e3b686;hpb=9d315ac836e5fe246a8c987681085ee19898affc;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 ); } // -------------------------------------------------------------------------