VTK  9.0.1
vtkExpandMarkedElements.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExpandMarkedElements.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 =========================================================================*/
34 #ifndef vtkExpandMarkedElements_h
35 #define vtkExpandMarkedElements_h
36 
37 #include "vtkFiltersExtractionModule.h" // For export macro
39 
41 
42 class VTKFILTERSEXTRACTION_EXPORT vtkExpandMarkedElements : public vtkPassInputTypeAlgorithm
43 {
44 public:
45  static vtkExpandMarkedElements* New();
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
54  void SetController(vtkMultiProcessController*);
55  vtkGetObjectMacro(Controller, vtkMultiProcessController);
57 
59 
62  vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
63  vtkGetMacro(NumberOfLayers, int);
65 protected:
67  ~vtkExpandMarkedElements() override;
68 
70 
71 private:
73  void operator=(const vtkExpandMarkedElements&) = delete;
74 
75  vtkMultiProcessController* Controller = nullptr;
76  int NumberOfLayers = 2;
77 };
78 
79 #endif
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:155
vtkPassInputTypeAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkPassInputTypeAlgorithm.h:171
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:75
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkExpandMarkedElements
expands marked elements to including adjacent elements.
Definition: vtkExpandMarkedElements.h:42
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:51