IKEffector.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 _IKEFFECTOR_H
00013 #define _IKEFFECTOR_H
00014 
00015 #include "IK.h"
00016 
00017 
00021 class XSIEXPORT CSLIKEffector
00022     : public CSLIK
00023 {
00024 public:
00025 
00032     CSLIKEffector(CSLScene* in_pScene, CSLModel *in_pModel, CdotXSITemplate* in_pTemplate, CSLModel* in_pRoot);
00033 
00036     virtual ~CSLIKEffector();
00037 
00041     SI_Bool GetRotationFlag();
00042 
00047     SI_Void SetRotationFlag(SI_Bool in_bValue);
00048 
00053     virtual SI_Error Synchronize();
00054 
00058     virtual ETemplateType Type();
00059 
00064     virtual CSLAnimatableType* ParameterFromName(SI_Char *in_szName);
00065 
00070     virtual SI_Bool ValidateParent(CSLModel *in_pNewParent);
00071 
00072     CSLIntProxy*    GetRotationFlagProxy() { return &m_RotationFlag; };
00073 
00074 private:
00075     CSLIntProxy m_RotationFlag;
00076 
00077     void *m_pReserved;  // reserved for future extension
00078 };
00079 
00080 #endif