VTK  9.7.1
vtkOverlappingAMRLevelIdScalars.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
15 #ifndef vtkOverlappingAMRLevelIdScalars_h
16 #define vtkOverlappingAMRLevelIdScalars_h
17 
18 #include "vtkFiltersGeneralModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class vtkUniformGridAMR;
23 class vtkDataSet;
24 
25 class VTKFILTERSGENERAL_EXPORT vtkOverlappingAMRLevelIdScalars : public vtkOverlappingAMRAlgorithm
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32 protected:
35 
37 
38  void AddColorLevels(vtkUniformGridAMR* input, vtkUniformGridAMR* output);
39 
40 private:
42  void operator=(const vtkOverlappingAMRLevelIdScalars&) = delete;
43 
44  vtkDataSet* ColorLevel(vtkDataSet* input, int group);
45 };
46 
47 VTK_ABI_NAMESPACE_END
48 #endif
A base class for all algorithms that take as input vtkOverlappingAMR and produce vtkOverlappingAMR.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store zero or more vtkInformation instances.
static vtkOverlappingAMRAlgorithm * New()
Legacy, empty shell inheriting vtkAMRDataObject.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.