vtkSliceAlongPolyPlane.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkSliceAlongPolyPlane_h
18 #define vtkSliceAlongPolyPlane_h
19 
20 #include "vtkDataObjectAlgorithm.h"
21 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
22 
23 class vtkDataSet;
24 class vtkPolyData;
25 
27 {
28 public:
29  static vtkSliceAlongPolyPlane* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
34 
37  vtkSetMacro(Tolerance, double);
38  vtkGetMacro(Tolerance, double);
40 
41 protected:
43  ~vtkSliceAlongPolyPlane() override;
44 
46  vtkInformationVector* outputVector) override;
48  int FillInputPortInformation(int port, vtkInformation* info) override;
49 
53  virtual bool Execute(vtkDataSet* inputDataset, vtkPolyData* lineDataSet, vtkPolyData* output);
54 
58  void CleanPolyLine(vtkPolyData* input, vtkPolyData* output);
59 
60 private:
62  void operator=(const vtkSliceAlongPolyPlane&) = delete;
63 
64  double Tolerance;
65 };
66 
67 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
slice a dataset along a polyplane
void operator=(const vtkObjectBase &)