00001 //**************************************************************************/ 00002 // Copyright (c) 1998-2008 Autodesk, Inc. 00003 // All rights reserved. 00004 // 00005 // These coded instructions, statements, and computer programs contain 00006 // unpublished proprietary information written by Autodesk, Inc., and are 00007 // protected by Federal copyright law. They may not be disclosed to third 00008 // parties or copied or duplicated in any form, in whole or in part, without 00009 // the prior written consent of Autodesk, Inc. 00010 //**************************************************************************/ 00011 // DESCRIPTION: Interface for Biped for Max 12 00012 // AUTHOR: Susan Amkraut - created August 28, 2008 00013 //***************************************************************************/ 00014 00015 #pragma once 00016 00017 #include "biped11Api.h" 00018 00019 00024 00025 00027 class IBipMaster12: public IBipMaster11 00028 { 00029 public: 00030 00031 /************ Access to the Biped Interface ***************/ 00035 static const ULONG I_BIPMASTER12 = 0x9172; 00036 00040 BIPExport static IBipMaster12* GetBipMaster12Interface(Animatable& anim); 00042 00043 /************ Knuckles ***************/ 00049 00050 00051 virtual BOOL GetKnuckles() const = 0; 00052 00057 virtual void SetKnuckles(BOOL bEnabled)=0; 00059 00060 00061 /************ ShortThumb ***************/ 00067 00068 00069 virtual BOOL GetShortThumb() const = 0; 00070 00075 virtual void SetShortThumb(BOOL bEnabled)=0; 00077 00078 00079 /************ Layer Retargeting ***************/ 00084 00085 00086 00087 virtual bool GetLimbRetargetState(int keytrack)=0; 00088 00094 virtual void SetLimbRetargetState(int keytrack, bool bEnabled)=0; 00095 00098 virtual INode *GetRetargetReferenceBiped()=0; 00099 00104 virtual bool SetRetargetReferenceBiped(INode *node)=0; 00105 00107 00114 virtual void RetargetToBaseLayer(bool IK_Only)=0; 00115 00117 00124 virtual void RetargetToReferenceBiped(bool IK_Only)=0; 00126 }; 00127