VTK  9.4.20241227
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
52#ifndef vtkImageLuminance_h
53#define vtkImageLuminance_h
54
55#include "vtkImagingColorModule.h" // For export macro
57
58VTK_ABI_NAMESPACE_BEGIN
59class VTKIMAGINGCOLOR_EXPORT vtkImageLuminance : public vtkThreadedImageAlgorithm
60{
61public:
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65
66protected:
68 ~vtkImageLuminance() override = default;
69
71
72 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int outExt[6], int id) override;
73
74private:
75 vtkImageLuminance(const vtkImageLuminance&) = delete;
76 void operator=(const vtkImageLuminance&) = delete;
77};
78
79VTK_ABI_NAMESPACE_END
80#endif
topologically and geometrically regular array of data
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.