36 #ifndef __vtkBooleanOperationPolyDataFilter_h
37 #define __vtkBooleanOperationPolyDataFilter_h
39 #include "vtkFiltersGeneralModule.h"
42 #include "vtkDataSetAttributes.h"
55 void PrintSelf(ostream& os, vtkIndent indent);
66 vtkSetClampMacro( Operation,
int, VTK_UNION, VTK_DIFFERENCE );
67 vtkGetMacro( Operation,
int );
69 { this->SetOperation( VTK_UNION ); }
71 { this->SetOperation( VTK_INTERSECTION ); }
73 { this->SetOperation( VTK_DIFFERENCE ); }
79 vtkSetMacro( ReorientDifferenceCells,
int );
80 vtkGetMacro( ReorientDifferenceCells,
int );
81 vtkBooleanMacro( ReorientDifferenceCells,
int );
87 vtkSetMacro(Tolerance,
double);
88 vtkGetMacro(Tolerance,
double);
98 void SortPolyData(
vtkPolyData* input, vtkIdList* intersectionList,
99 vtkIdList* unionList);
102 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
114 vtkDataSetAttributes::FieldList & pointFieldList,
115 vtkDataSetAttributes::FieldList & cellFieldList,
116 vtkIdList* cellIds,
bool reverseCells);
130 int ReorientDifferenceCells;
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
void SetOperationToIntersection()
void SetOperationToUnion()
void SetOperationToDifference()