ActionFCurve.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 _ACTIONFCURVE_H
00013 #define _ACTIONFCURVE_H
00014 
00015 #include "BaseFCurve.h"
00016 
00021 class XSIEXPORT CSLActionFCurve
00022     : public CSLBaseFCurve
00023 {
00024 public:
00025 
00032     CSLActionFCurve(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate, EFCurveInterpolationType in_InterpolationType);
00033 
00034     virtual ~CSLActionFCurve();
00035 
00039     SI_Char* GetParameterXSIPath();
00040 
00044     SI_Void SetParameterXSIPath( SI_Char *in_szPath );
00045 
00049     virtual SI_Error Synchronize();
00050 
00054     ETemplateType Type() { return SI_ACTION_FCURVE; }
00055 
00059     SI_Void SetParameter( CSLAnimatableType *in_pParameter );
00060 
00064     SI_Bool GetActive();
00065 
00069     SI_Void SetActive( SI_Bool in_bNew );
00070 
00071     CSLStringProxy*     GetXSIPath() {return &m_XSIPath;};
00072 
00073 private:
00074     CSLStringProxy m_XSIPath;
00075     SI_Bool m_bActive;
00076 
00077     SI_Void *m_pReserved;
00078 };
00079 
00080 #endif