]> Creatis software - cpPlugins.git/blobdiff - plugins/MeshSources/CylinderSource.cxx
...
[cpPlugins.git] / plugins / MeshSources / CylinderSource.cxx
index 02587b7673ac392517df3f9fb4ee80186cabbd29..a89e1a444a78d4d03323fd4d31a03a7c44ad071f 100644 (file)
@@ -1,5 +1,5 @@
-#include <plugins/MeshSources/CylinderSource.h>
-#include <cpPlugins/Mesh.h>
+#include <MeshSources/CylinderSource.h>
+#include <cpPlugins/DataObjects/Mesh.h>
 
 #include <vtkCylinderSource.h>
 
@@ -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 );
 }
 
 // -------------------------------------------------------------------------