48 void PrintSelf(ostream& os, vtkIndent indent)
override;
57 vtkSetMacro(ClipFunction, vtkSmartPointer<vtkImplicitFunction>);
58 vtkGetMacro(ClipFunction, vtkSmartPointer<vtkImplicitFunction>);
65 static void GetPlanes(vtkImplicitFunction* function, vtkPlaneCollection* planes, vtkAbstractTransform* parentTransform =
nullptr);
72 vtkSetMacro(GenerateOutline,
bool);
73 vtkGetMacro(GenerateOutline,
bool);
83 vtkSetMacro(GenerateCellTypeScalars,
bool);
84 vtkGetMacro(GenerateCellTypeScalars,
bool);
92 void CreateEndCap(vtkPlaneCollection* planes, vtkPolyData* originalPolyData,
93 vtkImplicitFunction* cutFunction, vtkPolyData* outputEndCap);
98 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)
override;
104 bool GenerateOutline{
true };
105 bool GenerateCellTypeScalars{
true };
void CreateEndCap(vtkPlaneCollection *planes, vtkPolyData *originalPolyData, vtkImplicitFunction *cutFunction, vtkPolyData *outputEndCap)
Generate the end cap for the input polydata cut using planes in the cutFunction.
static void GetPlanes(vtkImplicitFunction *function, vtkPlaneCollection *planes, vtkAbstractTransform *parentTransform=nullptr)
Get the list of planes from the implicit function.