X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FCylinderSource.cxx;h=a89e1a444a78d4d03323fd4d31a03a7c44ad071f;hb=931fb6b5db15d945e7412735b1ee082b8f62cc97;hp=47d7fc6da6d3b74a7d33937ba1b525375d66045f;hpb=3393941bf8f26babc7b592db434b40c1b747a687;p=cpPlugins.git diff --git a/plugins/MeshSources/CylinderSource.cxx b/plugins/MeshSources/CylinderSource.cxx index 47d7fc6..a89e1a4 100644 --- a/plugins/MeshSources/CylinderSource.cxx +++ b/plugins/MeshSources/CylinderSource.cxx @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -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 ); } // -------------------------------------------------------------------------