Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLColorRGBProxy Class Reference

CSLColorRGBProxy class. More...

#include <ColorRGB.h>

Inheritance diagram for CSLColorRGBProxy::

CSLColorRGBAProxy List of all members.

Public Methods


Detailed Description

CSLColorRGBProxy class.

Class that allows modification of a RGB parameter in a template


Constructor & Destructor Documentation

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

CSLFloatProxy & CSLColorRGBProxy::B  
 

Gets the blue value

Returns:
CSLFloatProxy Parameter containing the blue value of this color

CSLFloatProxy & CSLColorRGBProxy::G  
 

Gets the green value

Returns:
CSLFloatProxy Parameter containing the green value of this color

CSLColorRGBProxy::operator CSIBCColorf  
 

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

Reimplemented in CSLColorRGBAProxy.

CSLColorRGBProxy & 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.

CSLFloatProxy & CSLColorRGBProxy::R  
 

Gets the red value

Returns:
CSLFloatProxy Parameter containing the red value of this color


The documentation for this class was generated from the following files: © Copyright 2001-2003 Avid Technology, Inc. All rights reserved.

© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.