X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FSphereSource.cxx;h=fba068adccbb4d4ce29307c41a9be565037432e5;hb=9b11582dc5062474361432e46838c4e790c21f10;hp=8d52ce305f34c848220be01e540184b156e196ae;hpb=9d315ac836e5fe246a8c987681085ee19898affc;p=cpPlugins.git diff --git a/plugins/MeshSources/SphereSource.cxx b/plugins/MeshSources/SphereSource.cxx index 8d52ce3..fba068a 100644 --- a/plugins/MeshSources/SphereSource.cxx +++ b/plugins/MeshSources/SphereSource.cxx @@ -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 ); } // -------------------------------------------------------------------------