|
ACF $AcfVersion:0$
|
Implementation of RGB-to-HSV color transformation. More...
#include <CRgbToHsvTranformation.h>
Public Member Functions | |
| virtual bool | GetValueAt (const ArgumentType &argument, ResultType &result) const override |
| Get function value for specified argument value. | |
| virtual ResultType | GetValueAt (const ArgumentType &argument) const override |
| Get function value for specified argument value. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Additional Inherited Members | |
Public Types inherited from imath::TIMathFunction< icmm::CVarColor, icmm::CVarColor > | |
| typedef icmm::CVarColor | ArgumentType |
| typedef icmm::CVarColor | ResultType |
Implementation of RGB-to-HSV color transformation.
CRgbToHsvTranformation converts colors from RGB (Red, Green, Blue) color space to HSV (Hue, Saturation, Value) color space. HSV is more intuitive for color selection and manipulation, representing colors in terms of their hue (color type), saturation (color intensity), and value (brightness).
The RGB to HSV conversion involves:
Input (RGB):**
Red, Green, Blue: [0.0, 1.0]
Output (HSV):**
Definition at line 203 of file CRgbToHsvTranformation.h.
|
overridevirtual |
Get function value for specified argument value.
This overloaded menthod is provided only for convinence.
| argument | function argument. |
Implements imath::TIMathFunction< icmm::CVarColor, icmm::CVarColor >.
|
overridevirtual |
Get function value for specified argument value.
| argument | function argument. |
| result | function value for specified argument. |
Implements imath::TIMathFunction< icmm::CVarColor, icmm::CVarColor >.