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
22 #ifndef vtkImageLuminance_h
23 #define vtkImageLuminance_h
24 
25 #include "vtkImagingColorModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKIMAGINGCOLOR_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36 protected:
38  ~vtkImageLuminance() override = default;
39 
41 
42  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
43 
44 private:
45  vtkImageLuminance(const vtkImageLuminance&) = delete;
46  void operator=(const vtkImageLuminance&) = delete;
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.