#include "bbcreaVtkExtrusion.h"
#include "bbcreaVtkPackage.h"
-#include <vtkTrimmedExtrusionFilter.h>
+/* ------ Not exist in windows old VTK version ---------
+ #include <vtkTrimmedExtrusionFilter.h>
+*/
+
#include <vtkLinearExtrusionFilter.h>
#include <vtkTriangleFilter.h>
{
if ((bbGetInputType()>=0) && (bbGetInputType()<=1))
{
- vtkTrimmedExtrusionFilter *extrusion = vtkTrimmedExtrusionFilter::New();
- extrusion->SetExtrusionDirection(1,1,1);
- extrusion->SetInputData( bbGetInputIn() );
- extrusion->SetTrimSurfaceData( bbGetInputIn2() );
- if (bbGetInputType()==0)
- {
- extrusion->SetExtrusionStrategy(vtkTrimmedExtrusionFilter::BOUNDARY_EDGES);
- } else {
- extrusion->SetExtrusionStrategy(vtkTrimmedExtrusionFilter::ALL_EDGES);
- }
- extrusion->Update();
- bbSetOutputOut( extrusion->GetTrimSurface() );
+/* ------ Not exist in windows old VTK version ---------
+ vtkTrimmedExtrusionFilter *extrusion = vtkTrimmedExtrusionFilter::New();
+ extrusion->SetExtrusionDirection(1,1,1);
+ extrusion->SetInputData( bbGetInputIn() );
+ extrusion->SetTrimSurfaceData( bbGetInputIn2() );
+ if (bbGetInputType()==0)
+ {
+ extrusion->SetExtrusionStrategy(vtkTrimmedExtrusionFilter::BOUNDARY_EDGES);
+ } else {
+ extrusion->SetExtrusionStrategy(vtkTrimmedExtrusionFilter::ALL_EDGES);
+ }
+ extrusion->Update();
+ bbSetOutputOut( extrusion->GetTrimSurface() );
+*/
} // if Type 0 1
if (bbGetInputType()==2)