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 
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm
32 {
33 public:
34  static vtkImageRGBToHSI* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
44  vtkSetMacro(Maximum, double);
45  vtkGetMacro(Maximum, double);
47 
48 protected:
50  ~vtkImageRGBToHSI() override = default;
51 
52  double Maximum;
53 
54  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
55 
56 private:
57  vtkImageRGBToHSI(const vtkImageRGBToHSI&) = delete;
58  void operator=(const vtkImageRGBToHSI&) = delete;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
Converts RGB components to HSI.
~vtkImageRGBToHSI() override=default
static vtkImageRGBToHSI * New()
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.