VTK: Imaging/Color/vtkImageHSVToRGB.h Source File

| VTK 9.3.1

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
27 #ifndef vtkImageHSVToRGB_h
28 #define vtkImageHSVToRGB_h
29
30 #include "vtkImagingColorModule.h" // For export macro
31 #include "vtkThreadedImageAlgorithm.h"
32
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKIMAGINGCOLOR_EXPORT vtkImageHSVToRGB : public vtkThreadedImageAlgorithm
35 {
36 public:
37 static vtkImageHSVToRGB* New();
38 vtkTypeMacro(vtkImageHSVToRGB, vtkThreadedImageAlgorithm);
39
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
49 vtkSetMacro(Maximum, double);
50 vtkGetMacro(Maximum, double);
52
53 protected:
54 vtkImageHSVToRGB();
55 ~vtkImageHSVToRGB() override = default;
56
57 double Maximum;
58
59 void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
60
61 private:
62 vtkImageHSVToRGB(const vtkImageHSVToRGB&) = delete;
63 void operator=(const vtkImageHSVToRGB&) = delete;
64 };
65
66 VTK_ABI_NAMESPACE_END
67 #endif
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageHSVToRGB
Converts HSV components to RGB.
Definition: vtkImageHSVToRGB.h:35
vtkImageHSVToRGB::New
static vtkImageHSVToRGB * New()
vtkImageHSVToRGB::~vtkImageHSVToRGB
~vtkImageHSVToRGB() override=default
vtkImageHSVToRGB::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageHSVToRGB::Maximum
double Maximum
Definition: vtkImageHSVToRGB.h:57
vtkImageHSVToRGB::ThreadedExecute
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
vtkImageHSVToRGB::vtkImageHSVToRGB
vtkImageHSVToRGB()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:34
vtkThreadedImageAlgorithm.h