VTK  9.0.20210225
vtkBlockIdScalars.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBlockIdScalars.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 =========================================================================*/
24 #ifndef vtkBlockIdScalars_h
25 #define vtkBlockIdScalars_h
26 
27 #include "vtkFiltersGeneralModule.h" // For export macro
29 
30 class VTKFILTERSGENERAL_EXPORT vtkBlockIdScalars : public vtkMultiBlockDataSetAlgorithm
31 {
32 public:
33  static vtkBlockIdScalars* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
37 protected:
39  ~vtkBlockIdScalars() override;
40 
42 
43  vtkDataObject* ColorBlock(vtkDataObject* input, int group);
44 
45 private:
46  vtkBlockIdScalars(const vtkBlockIdScalars&) = delete;
47  void operator=(const vtkBlockIdScalars&) = delete;
48 };
49 
50 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkMultiBlockDataSetAlgorithm.h
vtkBlockIdScalars
generates scalars from blocks.
Definition: vtkBlockIdScalars.h:30
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:32