]> Creatis software - cpPlugins.git/blobdiff - plugins/MeshSources/SphereSource.cxx
...
[cpPlugins.git] / plugins / MeshSources / SphereSource.cxx
index 2da253a559ae66206e40e6298014c45a1c85e51f..fba068adccbb4d4ce29307c41a9be565037432e5 100644 (file)
@@ -1,4 +1,4 @@
-#include <plugins/MeshSources/SphereSource.h>
+#include <MeshSources/SphereSource.h>
 #include <cpPlugins/DataObjects/Mesh.h>
 
 #include <vtkSphereSource.h>
@@ -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 );
 }
 
 // -------------------------------------------------------------------------