#include <ColorRGB.h>
Inheritance diagram for CSLColorRGBProxy:

Public Member Functions |
|
| CSLColorRGBProxy (CdotXSITemplate *in_pTemplate, SI_Long in_lIndexR, SI_Long in_lIndexG, SI_Long in_lIndexB) | |
| CSLColorRGBProxy & | operator= (const CSIBCColorf &in_rColor) |
| operator CSIBCColorf () | |
| CSLFloatProxy & | R () |
| CSLFloatProxy & | G () |
| CSLFloatProxy & | B () |
Class that allows modification of a RGB parameter in a template
| CSLColorRGBProxy | ( | CdotXSITemplate * | in_pTemplate, | |
| SI_Long | in_lIndexR, | |||
| SI_Long | in_lIndexG, | |||
| SI_Long | in_lIndexB | |||
| ) |
Constructor
| in_pTemplate | Template that contains the RGB values | |
| in_lIndexR | Index in the template for the red value | |
| in_lIndexG | Index in the template for the green value | |
| in_lIndexB | Index in the template for the blue value |
| CSLColorRGBProxy& operator= | ( | const CSIBCColorf & | in_rColor | ) |
Sets the RGB value
| in_rColor | The new color |
Reimplemented in CSLColorRGBAProxy.
| operator CSIBCColorf | ( | ) |
Conversion operator. Converts the color in this object to a CSIBCColorf object
Reimplemented in CSLColorRGBAProxy.
| CSLFloatProxy& R | ( | ) |
Gets the red value
| CSLFloatProxy& G | ( | ) |
Gets the green value
| CSLFloatProxy& B | ( | ) |
Gets the blue value