VTK  9.3.20240417
vtkBlockIdScalars.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 vtkBlockIdScalars_h
16 #define vtkBlockIdScalars_h
17 
18 #include "vtkFiltersGeneralModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkMultiBlockDataSetAlgorithm
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29 protected:
31  ~vtkBlockIdScalars() override;
32 
34 
35  vtkDataObject* ColorBlock(vtkDataObject* input, int group);
36 
37 private:
38  vtkBlockIdScalars(const vtkBlockIdScalars&) = delete;
39  void operator=(const vtkBlockIdScalars&) = delete;
40 };
41 
42 VTK_ABI_NAMESPACE_END
43 #endif
generates scalars from blocks.
vtkDataObject * ColorBlock(vtkDataObject *input, int group)
~vtkBlockIdScalars() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkBlockIdScalars * New()
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.