VTK  9.3.0
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
24#ifndef vtkImageRGBToHSI_h
25#define vtkImageRGBToHSI_h
26
27#include "vtkImagingColorModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
44 vtkSetMacro(Maximum, double);
45 vtkGetMacro(Maximum, double);
47
48protected:
50 ~vtkImageRGBToHSI() override = default;
51
52 double Maximum;
53
54 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
55
56private:
57 vtkImageRGBToHSI(const vtkImageRGBToHSI&) = delete;
58 void operator=(const vtkImageRGBToHSI&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#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:38
Generic filter that has one input.