CSLColorRGBAProxy Class Reference

Allows modification of an RGBA parameter in a template. More...

#include <ColorRGBA.h>

Inheritance diagram for CSLColorRGBAProxy:

CSLColorRGBProxy List of all members.

Public Member Functions

  CSLColorRGBAProxy (CdotXSITemplate *in_pTemplate, SI_Long in_lIndexR, SI_Long in_lIndexG, SI_Long in_lIndexB, SI_Long in_lIndexA)
CSLColorRGBAProxy operator= (const CSIBCColorf &in_rColor)
  operator CSIBCColorf ()
CSLFloatProxy A ()

Detailed Description

Allows modification of an RGBA parameter in a template.


Constructor & Destructor Documentation

CSLColorRGBAProxy ( CdotXSITemplate in_pTemplate,
SI_Long  in_lIndexR,
SI_Long  in_lIndexG,
SI_Long  in_lIndexB,
SI_Long  in_lIndexA  
)

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
in_lIndexA  Index in the template for the alpha value


Member Function Documentation

CSLColorRGBAProxy& operator= ( const CSIBCColorf in_rColor  ) 

Sets the RGBA value

Parameters:
in_rColor  The new color
Returns:
CSLColorRGBAProxy& Reference to this color

Reimplemented from CSLColorRGBProxy.

operator CSIBCColorf (  ) 

Conversion operator. Converts the color in this object to a CSIBCColorf object.

Reimplemented from CSLColorRGBProxy.

CSLFloatProxy& A (  ) 

Gets the alpha value

Returns:
CSLFloatProxy Parameter containing the alpha value of this color


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