vtkPythonSelector.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
8 #ifndef vtkPythonSelector_h
9 #define vtkPythonSelector_h
10 
11 #include "vtkPVVTKExtensionsExtractionPythonModule.h" //needed for exports
12 #include "vtkSelector.h"
13 
14 class vtkSelectionNode;
15 
17 {
18 public:
19  static vtkPythonSelector* New();
20  vtkTypeMacro(vtkPythonSelector, vtkSelector);
21  void PrintSelf(ostream& os, vtkIndent indent) override;
22 
26  void Execute(vtkDataObject* input, vtkDataObject* output) override;
27 
28 protected:
30  ~vtkPythonSelector() override;
31 
32  bool ComputeSelectedElements(vtkDataObject*, vtkSignedCharArray*) override;
33 
34 private:
35  vtkPythonSelector(const vtkPythonSelector&) = delete;
36  void operator=(const vtkPythonSelector&) = delete;
37 
38  class vtkInternals;
39  vtkInternals* Internals;
40 };
41 
42 #endif
Select cells/points using numpy expressions.
#define VTKPVVTKEXTENSIONSEXTRACTIONPYTHON_EXPORT