vtkPVPlaneCutter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVPlaneCutter_h
12 #define vtkPVPlaneCutter_h
13 
14 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
15 #include "vtkPlaneCutter.h"
16 
17 class vtkAMRCutPlane;
18 class vtkAMRSliceFilter;
20 class vtkHyperTreeGridPlaneCutter;
21 
23 {
24 public:
25  vtkTypeMacro(vtkPVPlaneCutter, vtkPlaneCutter);
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28  static vtkPVPlaneCutter* New();
29 
30  int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
31 
33 
40  vtkGetMacro(Dual, bool);
41  vtkSetMacro(Dual, bool);
43 
45 
52  vtkSetMacro(LevelOfResolution, int);
53  vtkGetMacro(LevelOfResolution, int);
55 
57 
64  vtkSetMacro(UseNativeCutter, bool);
65  vtkGetMacro(UseNativeCutter, bool);
66  vtkBooleanMacro(UseNativeCutter, bool);
68 
69 protected:
71  ~vtkPVPlaneCutter() override;
72 
73  int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
74 
75  int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
76 
77  int FillInputPortInformation(int, vtkInformation* info) override;
78  int FillOutputPortInformation(int, vtkInformation* info) override;
79 
80  bool Dual = false;
81  int LevelOfResolution = 0;
82  bool UseNativeCutter = true;
83 
88 
89 private:
90  vtkPVPlaneCutter(const vtkPVPlaneCutter&) = delete;
91  void operator=(const vtkPVPlaneCutter&) = delete;
92 };
93 
94 #endif
Slice with plane filter.
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkNew< vtkHyperTreeGridPlaneCutter > HTGPlaneCutter
vtkNew< vtkAMRSliceFilter > AMRAxisAlignedPlaneCutter
vtkNew< vtkHyperTreeGridAxisCut > HTGAxisAlignedPlaneCutter
vtkNew< vtkAMRCutPlane > AMRPlaneCutter