VTK  9.3.20240423
vtkImageRGBToHSI.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
34#ifndef vtkImageRGBToHSI_h
35#define vtkImageRGBToHSI_h
36
37#include "vtkImagingColorModule.h" // For export macro
39
40VTK_ABI_NAMESPACE_BEGIN
41class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
54 vtkSetMacro(Maximum, double);
55 vtkGetMacro(Maximum, double);
57
58protected:
60 ~vtkImageRGBToHSI() override = default;
61
62 double Maximum;
63
64 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
65
66private:
67 vtkImageRGBToHSI(const vtkImageRGBToHSI&) = delete;
68 void operator=(const vtkImageRGBToHSI&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
topologically and geometrically regular array of data
Converts RGB components to HSI.
static vtkImageRGBToHSI * New()
~vtkImageRGBToHSI() override=default
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition vtkIndent.h:108
Generic filter that has one input.