VTK  9.3.20240418
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 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm
42 {
43 public:
44  static vtkImageRGBToHSI* New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
54  vtkSetMacro(Maximum, double);
55  vtkGetMacro(Maximum, double);
57 
58 protected:
60  ~vtkImageRGBToHSI() override = default;
61 
62  double Maximum;
63 
64  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
65 
66 private:
67  vtkImageRGBToHSI(const vtkImageRGBToHSI&) = delete;
68  void operator=(const vtkImageRGBToHSI&) = delete;
69 };
70 
71 VTK_ABI_NAMESPACE_END
72 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:156
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:108
Generic filter that has one input.