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 _XSICLIPTOPARENT_H 00013 #define _XSICLIPTOPARENT_H 00014 00015 #include "Template.h" 00016 00020 class XSIEXPORT CSLXSIClipToParent 00021 : public CSLTemplate 00022 { 00023 public: 00029 CSLXSIClipToParent(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate); 00030 00032 virtual ~CSLXSIClipToParent(); 00033 00034 virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName); 00035 00036 virtual CSLAnimatableType* ParameterFromType(EFCurveType in_Type, SI_Char *in_szParameterName); 00037 00041 CSLTemplate::ETemplateType Type(){ return CSLTemplate::XSI_CLIP_TO_PARENT; } 00042 00046 SI_Bool GetStart(); 00047 00051 SI_Void SetStart( SI_Bool in_bValue ); 00052 00053 CSLBoolProxy* GetStartProxy() { return &m_Start; }; 00054 00058 SI_Bool GetEnd(); 00059 00063 SI_Void SetEnd( SI_Bool in_bValue ); 00064 00065 CSLBoolProxy* GetEndProxy() { return &m_End; }; 00066 00067 private: 00068 CSLBoolProxy m_Start; 00069 CSLBoolProxy m_End; 00070 00071 SI_Void *m_pReserved; 00072 }; 00073 00074 #endif