VTK  9.3.1
vtkExpandMarkedElements.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
25 #ifndef vtkExpandMarkedElements_h
26 #define vtkExpandMarkedElements_h
27 
28 #include "vtkFiltersExtractionModule.h" // For export macro
30 
31 VTK_ABI_NAMESPACE_BEGIN
33 
34 class VTKFILTERSEXTRACTION_EXPORT vtkExpandMarkedElements : public vtkPassInputTypeAlgorithm
35 {
36 public:
37  static vtkExpandMarkedElements* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
46  void SetController(vtkMultiProcessController*);
47  vtkGetObjectMacro(Controller, vtkMultiProcessController);
49 
51 
55  vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
56  vtkGetMacro(NumberOfLayers, int);
58 
60 
64  vtkSetMacro(RemoveSeed, bool);
65  vtkGetMacro(RemoveSeed, bool);
66  vtkBooleanMacro(RemoveSeed, bool);
68 
70 
74  vtkSetMacro(RemoveIntermediateLayers, bool);
75  vtkGetMacro(RemoveIntermediateLayers, bool);
76  vtkBooleanMacro(RemoveIntermediateLayers, bool);
78 
79 protected:
81  ~vtkExpandMarkedElements() override;
82 
84 
85 private:
87  void operator=(const vtkExpandMarkedElements&) = delete;
88 
89  vtkMultiProcessController* Controller = nullptr;
90  int NumberOfLayers = 2;
91  bool RemoveSeed = false;
92  bool RemoveIntermediateLayers = false;
93 };
94 
95 VTK_ABI_NAMESPACE_END
96 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:144
expands marked elements to including adjacent elements.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()
Multiprocessing communication superclass.