VTK  9.1.0
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
42class VTKFILTERSEXTRACTION_EXPORT vtkExpandMarkedElements : public vtkPassInputTypeAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
55 vtkGetObjectMacro(Controller, vtkMultiProcessController);
57
59
62 vtkSetClampMacro(NumberOfLayers, int, 1, VTK_INT_MAX);
63 vtkGetMacro(NumberOfLayers, int);
65protected:
68
70
71private:
73 void operator=(const vtkExpandMarkedElements&) = delete;
74
75 vtkMultiProcessController* Controller = nullptr;
76 int NumberOfLayers = 2;
77};
78
79#endif
expands marked elements to including adjacent elements.
static vtkExpandMarkedElements * New()
void SetController(vtkMultiProcessController *)
Get/Set the controller to use.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkExpandMarkedElements() override
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce output of the same type as input.
#define VTK_INT_MAX
Definition: vtkType.h:155