]> Creatis software - cpPlugins.git/blobdiff - plugins/MeshSources/CylinderSource.cxx
...
[cpPlugins.git] / plugins / MeshSources / CylinderSource.cxx
index 02587b7673ac392517df3f9fb4ee80186cabbd29..5a11d78441f0403550d131995fb7bd9405e3b686 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,10 +8,11 @@ cpPluginsMeshSources::CylinderSource::
 CylinderSource( )
   : Superclass( )
 {
-  this->_AddOutput< cpPlugins::Mesh >( "Output" );
+  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 );
 }