tools/toolfcurveeditor/ortool_fcurveeditor_tool.h

tools/toolfcurveeditor/ortool_fcurveeditor_tool.h
#ifndef __ORTOOL_FCURVEEDITOR_TOOL_H__
#define __ORTOOL_FCURVEEDITOR_TOOL_H__
// ===========================================================================
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this software in either electronic or hard copy form.
// ===========================================================================
//--- SDK include
#include <fbsdk/fbsdk.h>
//--- Registration define
#define ORTOOLTEMPLATE__CLASSNAME ORTool_FCurveEditor
#define ORTOOLTEMPLATE__CLASSSTR "ORTool_FCurveEditor"
class FbxScene;
class ORTool_FCurveEditor : public FBTool
{
//--- Tool declaration.
FBToolDeclare( ORTool_FCurveEditor, FBTool );
public:
//--- Construction/Destruction,
virtual bool FBCreate();
virtual void FBDestroy();
private:
FBLabel mLabel;
FBButton mExternalFCurveButton;
int mExternalFCurveButtonState;
FBLabel mPropertyAndKeyLabel;
FBButton mPropertyAndKeyButton;
int mPropertyAndKeyButtonButtonState;
FBModelNull* mNull;
FBProperty* mPropertyFromFBSDKFromProperty;
FBProperty* mPropertyFromFBSDKFromANode;
FBProperty* mPropertyFromFBSDKOutsideEditor;
FBProperty* mPropertyFromFBSDKAddedAfter;
FBProperty* mPropertyFromFBXSDKProperty;
FBXSDK_NAMESPACE::FbxScene* mScene;
FBFCurveEditor* mEditor;
void EventExternalFCurveClick ( HISender pSender, HKEvent pEvent );
void EventPropertyAndKeyClick ( HISender pSender, HKEvent pEvent );
void EventFCurveEditorEvent(HIRegister /*pSender*/, HKEvent /*pEvent*/);
};
#endif /* __ORTOOL_FCURVEEVENT_TOOL_H__ */