CSLColorRGBProxy Class Reference

CSLColorRGBProxy class. More...

#include <ColorRGB.h>

Inheritance diagram for CSLColorRGBProxy:

CSLColorRGBAProxy List of all members.

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 ()

Detailed Description

CSLColorRGBProxy class.

Class that allows modification of a RGB parameter in a template


Constructor & Destructor Documentation

CSLColorRGBProxy ( CdotXSITemplate in_pTemplate,
SI_Long  in_lIndexR,
SI_Long  in_lIndexG,
SI_Long  in_lIndexB  
)

Constructor

Parameters:
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


Member Function Documentation

CSLColorRGBProxy& operator= ( const CSIBCColorf in_rColor  ) 

Sets the RGB value

Parameters:
in_rColor  The new color
Returns:
CSLColorRGBAProxy& Reference to this 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

Returns:
CSLFloatProxy Parameter containing the red value of this color

CSLFloatProxy& G (  ) 

Gets the green value

Returns:
CSLFloatProxy Parameter containing the green value of this color

CSLFloatProxy& B (  ) 

Gets the blue value

Returns:
CSLFloatProxy Parameter containing the blue value of this color


The documentation for this class was generated from the following file: