VTK  9.3.0
vtkImageLuminance.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
13 #ifndef vtkImageLuminance_h
14 #define vtkImageLuminance_h
15 
16 #include "vtkImagingColorModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class VTKIMAGINGCOLOR_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27 protected:
29  ~vtkImageLuminance() override = default;
30 
32 
33  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
34 
35 private:
36  vtkImageLuminance(const vtkImageLuminance&) = delete;
37  void operator=(const vtkImageLuminance&) = delete;
38 };
39 
40 VTK_ABI_NAMESPACE_END
41 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Computes the luminance of the input.
~vtkImageLuminance() override=default
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int outExt[6], int id) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageLuminance * New()
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.