VTK  9.3.20240423
vtkImageHSVToRGB.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
37#ifndef vtkImageHSVToRGB_h
38#define vtkImageHSVToRGB_h
39
40#include "vtkImagingColorModule.h" // For export macro
42
43VTK_ABI_NAMESPACE_BEGIN
44class VTKIMAGINGCOLOR_EXPORT vtkImageHSVToRGB : public vtkThreadedImageAlgorithm
45{
46public:
49
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
59 vtkSetMacro(Maximum, double);
60 vtkGetMacro(Maximum, double);
62
63protected:
65 ~vtkImageHSVToRGB() override = default;
66
67 double Maximum;
68
69 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
70
71private:
72 vtkImageHSVToRGB(const vtkImageHSVToRGB&) = delete;
73 void operator=(const vtkImageHSVToRGB&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#endif
topologically and geometrically regular array of data
Converts HSV components to RGB.
static vtkImageHSVToRGB * New()
~vtkImageHSVToRGB() override=default
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
a simple class to control print indentation
Definition vtkIndent.h:108
Generic filter that has one input.