00001 //*************************************************************************************** 00002 // File supervisor: Crosswalk team 00012 //*************************************************************************************** 00013 00014 #ifndef _XSICLIPTOPARENT_H 00015 #define _XSICLIPTOPARENT_H 00016 00017 #include "Template.h" 00018 00024 class XSIEXPORT CSLXSIClipToParent 00025 : public CSLTemplate 00026 { 00027 public: 00033 CSLXSIClipToParent(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00034 00036 virtual ~CSLXSIClipToParent(); 00037 00038 virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName); 00039 00040 virtual CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName); 00041 00045 CSLTemplate::ETemplateType Type(){ return CSLTemplate::XSI_CLIP_TO_PARENT; } 00046 00050 SI_Bool GetStart(); 00051 00055 SI_Void SetStart( SI_Bool in_bValue ); 00056 00057 CSLBoolProxy* GetStartProxy() { return &m_Start; }; 00058 00062 SI_Bool GetEnd(); 00063 00067 SI_Void SetEnd( SI_Bool in_bValue ); 00068 00069 CSLBoolProxy* GetEndProxy() { return &m_End; }; 00070 00071 private: 00072 CSLBoolProxy m_Start; 00073 CSLBoolProxy m_End; 00074 00075 SI_Void *m_pReserved; 00076 }; 00077 00078 #endif