vtkExtractCellsAlongLine.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkExtractCellsAlongLine_h
15 #define vtkExtractCellsAlongLine_h
16 
17 #include "vtkNew.h" // needed for internal filters
18 #include "vtkPVVTKExtensionsExtractionModule.h" //needed for exports
20 
21 class vtkExtractCellsAlongPolyLine;
22 class vtkLineSource;
23 
26 {
27 public:
28  static vtkExtractCellsAlongLine* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
36  vtkGetVector3Macro(Point1, double);
37  vtkSetVector3Macro(Point1, double);
38  vtkGetVector3Macro(Point2, double);
39  vtkSetVector3Macro(Point2, double);
41 
42 protected:
44  ~vtkExtractCellsAlongLine() override = default;
45 
47  int FillInputPortInformation(int, vtkInformation*) override;
48 
49  double Point1[3] = { 0.0, 0.0, 0.0 };
50  double Point2[3] = { 1.0, 1.0, 1.0 };
51 
54 
55 private:
57  void operator=(const vtkExtractCellsAlongLine&) = delete;
58 };
59 
60 #endif // vtkExtractCellsAlongLine_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKPVVTKEXTENSIONSEXTRACTION_EXPORT
Filter to simplify vtkExtractCellsAlongPolyLine usage when probing over a simple line.
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkNew< vtkLineSource > LineSource
vtkNew< vtkExtractCellsAlongPolyLine > Extractor
void operator=(const vtkObjectBase &)