-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
-printf("EED Warnning BooleanOperationPolyDataFilter::Process Put this code at the end of CreateMesh.. or create 2 new boxes\n");
- vtkCleanPolyData *clean1 = vtkCleanPolyData::New();
- vtkCleanPolyData *clean2 = vtkCleanPolyData::New();
- clean1->SetInputData( bbGetInputIn1() );
- clean2->SetInputData( bbGetInputIn2() );
- clean1->Update();
- clean2->Update();
- vtkTriangleFilter *triangle1 = vtkTriangleFilter::New();
- vtkTriangleFilter *triangle2 = vtkTriangleFilter::New();
- triangle1->SetInputData( clean1->GetOutput() );
- triangle2->SetInputData( clean2->GetOutput() );
- triangle1->Update();
- triangle2->Update();
-
- vtkPolyDataBooleanFilter *booleanOperation = vtkPolyDataBooleanFilter::New();
- booleanOperation->SetInputData(0, triangle1->GetOutput() );
- booleanOperation->SetInputData(1, triangle2->GetOutput() );
- if (bbGetInputOperation()==0 )
- {
- booleanOperation->SetOperModeToUnion();
- }
- if (bbGetInputOperation()==1 )
- {
- booleanOperation->SetOperModeToIntersection();
- }
- if (bbGetInputOperation()==2 )