if (bbGetInputIn()!=NULL)
{
vtkPolyDataNormals* normal = vtkPolyDataNormals::New();
+// Automatically change the orientation fo normals, put it from inside to outside
+// normal->SetAutoOrientNormals(true);
+ normal->SetConsistency(true);
+// this force to not change the order of triangles, keep the original order
+// normal->SetAutoOrientNormals(false);
+// normal->SetConsistency(false);
+
normal->SetInputData( bbGetInputIn() );
if (bbGetInputComputeType()==0)
{
{
// 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 );
}