XSITextureLayerPort.h

Go to the documentation of this file.
00001 //***************************************************************************************
00002 // File supervisor: Crosswalk team
00012 //***************************************************************************************
00013 #ifndef _XSITEXTURELAYERPORT_H
00014 #define _XSITEXTURELAYERPORT_H
00015 
00016 #include "Template.h"
00017 
00023 class XSIEXPORT CSLXSITextureLayerPort
00024     : public CSLTemplate
00025 {
00026 public:
00032     CSLXSITextureLayerPort(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate);
00033 
00035     virtual ~CSLXSITextureLayerPort();
00036 
00040     ETemplateType Type(){ return XSI_TEXTURE_LAYER_PORT; }
00041 
00042     virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
00043 
00044     virtual CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName);
00045 
00046 
00050     SI_Char* GetTarget();
00051 
00055     SI_Void SetTarget( SI_Char* in_pValue );
00056 
00060     SI_Bool GetMute();
00061 
00065     SI_Void SetMute( SI_Bool in_bValue );
00066 
00070     SI_Float GetScale();
00071 
00075     SI_Void SetScale( SI_Float in_fValue );
00076 
00080     SI_Int GetColorSource();
00081 
00085     SI_Void SetColorSource( SI_Int in_nValue );
00086 
00090     SI_Bool GetInvert();
00091 
00095     SI_Void SetInvert( SI_Bool in_bValue);
00096 
00097 
00098     CSLStringProxy*                                     GetTargetProxy()        { return &m_Target; };
00099     CSLBoolProxy*                                       GetMuteProxy()          { return &m_Mute; };
00100     CSLFloatProxy*                                      GetScaleProxy()         { return &m_Scale; };
00101     CSLIntProxy*                                        GetColorSourceProxy()   { return &m_ColorSource; };
00102     CSLBoolProxy*                                       GetInvertProxy()        { return &m_Invert; };
00103 
00104 private:
00105     CSLStringProxy  m_Target;
00106     CSLBoolProxy    m_Mute;
00107     CSLFloatProxy   m_Scale;
00108     CSLIntProxy     m_ColorSource;
00109     CSLBoolProxy    m_Invert;
00110 
00111     SI_Void *m_pReserved;
00112 };
00113 
00114 #endif