X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FCylinderSource.cxx;h=a89e1a444a78d4d03323fd4d31a03a7c44ad071f;hb=931fb6b5db15d945e7412735b1ee082b8f62cc97;hp=02587b7673ac392517df3f9fb4ee80186cabbd29;hpb=201c5026430f9bcc33f9db6a39f5d03db096c860;p=cpPlugins.git diff --git a/plugins/MeshSources/CylinderSource.cxx b/plugins/MeshSources/CylinderSource.cxx index 02587b7..a89e1a4 100644 --- a/plugins/MeshSources/CylinderSource.cxx +++ b/plugins/MeshSources/CylinderSource.cxx @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include @@ -8,12 +8,10 @@ cpPluginsMeshSources::CylinderSource:: CylinderSource( ) : Superclass( ) { - this->_AddOutput< cpPlugins::Mesh >( "Output" ); - this->m_Parameters.ConfigureAsReal( "Height" ); - this->m_Parameters.ConfigureAsReal( "Radius" ); - this->m_Parameters.ConfigureAsUint( "Resolution" ); - this->m_Parameters.SetReal( "Radius", 1 ); - this->m_Parameters.SetUint( "Resolution", 8 ); + this->_ConfigureOutput< cpPlugins::DataObjects::Mesh >( "Output" ); + this->m_Parameters.ConfigureAsReal( "Height", 1 ); + this->m_Parameters.ConfigureAsReal( "Radius", 1 ); + this->m_Parameters.ConfigureAsUint( "Resolution", 8 ); } // -------------------------------------------------------------------------