]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataNormals.cxx
Clean code
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPolyDataNormals.cxx
index 5c0ddab5284d55b2e98517e7c520b65d604c6dce..1463602c72c6a87a0da00a52bdd1473a364bb43e 100644 (file)
@@ -39,6 +39,8 @@ void PolyDataNormals::Process()
     if (bbGetInputIn()!=NULL)
     {
         vtkPolyDataNormals* normal = vtkPolyDataNormals::New();
+        normal->SetAutoOrientNormals(false);
+        normal->SetConsistency(false);
         normal->SetInputData( bbGetInputIn() );
         if (bbGetInputComputeType()==0)
         {
@@ -144,6 +146,8 @@ void PolyDataNormals::bbUserSetDefaultValues()
 {
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
+    bbSetInputType(0);
+    bbSetInputComputeType(0);
     bbSetInputIn(NULL);
     bbSetOutputOut( NULL );
 }