ColorRGBA.h

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Crosswalk team
00004 //
00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.
00006 // Use of this software is subject to the terms of the Autodesk license agreement
00007 // provided at the time of installation or download, or which otherwise accompanies
00008 // this software in either electronic or hard copy form.
00009 //
00010 //***************************************************************************************
00011 
00012 #ifndef __COLORRGBA_H__
00013 #define __COLORRGBA_H__
00014 
00015 #include "ColorRGB.h"
00016 class CCOLLADATemplate;
00017 
00020 class XSIEXPORT CSLColorRGBAProxy : public CSLColorRGBProxy
00021 {
00022 public:
00024 
00031     CSLColorRGBAProxy
00032     (
00033         CdotXSITemplate *in_pTemplate,
00034         SI_Long in_lIndexR,
00035         SI_Long in_lIndexG,
00036         SI_Long in_lIndexB,
00037         SI_Long in_lIndexA
00038     );
00039 
00044     CSLColorRGBAProxy& operator =(const CSIBCColorf &in_rColor);
00045 
00048     operator CSIBCColorf();
00049 
00053     CSLFloatProxy& A();
00054 
00055     void    Connect ( CdotXSITemplate *in_pTemplate, SI_Long in_lIndexR, SI_Long in_lIndexG, SI_Long in_lIndexB , SI_Long in_lIndexA);
00056     void    Connect ( CSLTemplate *in_pTemplate, CCOLLADATemplate *in_pOwner, SI_Long in_lIndexR, SI_Long in_lIndexG, SI_Long in_lIndexB , SI_Long in_lIndexA, CSLCOLLADAScene* in_pScene, int in_CurveType[], const char* in_XSIName[]);
00057 
00058 private:
00059     CSLFloatProxy m_fA;
00060 };
00061 
00062 #endif //__COLORRGBA_H__