VTK  9.3.0
vtkImageRGBToYIQ.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
16#ifndef vtkImageRGBToYIQ_h
17#define vtkImageRGBToYIQ_h
18
19#include "vtkImagingColorModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToYIQ : public vtkThreadedImageAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31 vtkSetMacro(Maximum, double);
32 vtkGetMacro(Maximum, double);
33
34protected:
36 ~vtkImageRGBToYIQ() override = default;
37
38 double Maximum;
39
40 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
41
42private:
43 vtkImageRGBToYIQ(const vtkImageRGBToYIQ&) = delete;
44 void operator=(const vtkImageRGBToYIQ&) = delete;
45};
46
47VTK_ABI_NAMESPACE_END
48#endif
topologically and geometrically regular array of data
Converts RGB components to YIQ.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
~vtkImageRGBToYIQ() override=default
static vtkImageRGBToYIQ * New()
a simple class to control print indentation
Definition vtkIndent.h:29
Generic filter that has one input.