vtkSliceAlongPolyPlane.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSliceAlongPolyPlane.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef vtkSliceAlongPolyPlane_h
29 #define vtkSliceAlongPolyPlane_h
30 
31 #include "vtkDataObjectAlgorithm.h"
32 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
33 
34 class vtkDataSet;
35 class vtkPolyData;
36 
38 {
39 public:
40  static vtkSliceAlongPolyPlane* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45  vtkSetMacro(Tolerance, double) vtkGetMacro(Tolerance, double)
47 
48  protected : vtkSliceAlongPolyPlane();
49  ~vtkSliceAlongPolyPlane() override;
50 
52  vtkInformationVector* outputVector) override;
54  int FillInputPortInformation(int port, vtkInformation* info) override;
55 
59  virtual bool Execute(vtkDataSet* inputDataset, vtkPolyData* lineDataSet, vtkPolyData* output);
60 
64  void CleanPolyLine(vtkPolyData* input, vtkPolyData* output);
65 
66 private:
68  void operator=(const vtkSliceAlongPolyPlane&) = delete;
69 
70  double Tolerance;
71 };
72 
73 #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 &)