Open Reality Reference Guide
fbapplication.h
Go to the documentation of this file.
1 #ifndef __FBPAPPLICATION_H__
2 #define __FBPAPPLICATION_H__
3 /**************************************************************************
4 Copyright (c) 1994 - 2013 Autodesk, Inc. and/or its licensors.
5 All Rights Reserved.
6 
7 The coded instructions, statements, computer programs, and/or related
8 material (collectively the "Data") in these files contain unpublished
9 information proprietary to Autodesk, Inc. and/or its licensors, which is
10 protected by Canada and United States of America federal copyright law
11 and by international treaties.
12 
13 The Data may not be disclosed or distributed to third parties, in whole
14 or in part, without the prior written consent of Autodesk, Inc.
15 ("Autodesk").
16 
17 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24 FREE.
25 
26 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35 BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36 
37 **************************************************************************/
38 
43 #include <kaydaradef.h>
44 #ifndef FBSDK_DLL
45 
48 #define FBSDK_DLL K_DLLIMPORT
49 #endif
50 
51 // Essential includes
52 #include <fbsdk/fbcomponent.h>
53 
54 #ifdef FBSDKUseNamespace
55 namespace FBSDKNamespace {;
56 #endif
57 
59 // FBBatchOptions
62 
65 {
69 };
70 FB_DEFINE_ENUM( FBSDK_DLL, BatchProcessType );
71 
74 {
81 };
82 FB_DEFINE_ENUM( FBSDK_DLL, BatchFileFormat );
83 
86 {
89 };
90 FB_DEFINE_ENUM( FBSDK_DLL, BatchOnTakeExist );
91 
94 {
97 };
98 FB_DEFINE_ENUM( FBSDK_DLL, BatchOnContainsBatchTakes );
99 
102 {
103  kFBBatchStatusSuccess,
104  kFBBatchStatusError,
105  kFBBatchStatusCharacterNotSpecified,
106  kFBBatchStatusCharacterNotCharacterized,
107  kFBBatchStatusCharacterHasNoReference,
108  kFBBatchStatusInputActorNotSpecified,
109  kFBBatchStatusActorInputMarkersetNotSpecified,
110  kFBBatchStatusActorInputMarkersetHasNoReferenceModel,
111  kFBBatchStatusActorInputMarkersetNotCorrectlyAssociated,
112  kFBBatchStatusInputCharacterNotCharacterized,
113  kFBBatchStatusInputCharacterHasNoReference,
114  kFBBatchStatusInputDirectoryNotValid,
115  kFBBatchStatusAsfSkeletonFileNotSpecified,
116  kFBBatchStatusCantOpenAsfSkeletonFile,
117  kFBBatchStatusOutputDirectoryNotValid
118 };
119 
122 {
123 public:
124 
128 
131 
133 
137 
138 #if !defined(K_NO_CHARACTER)
140 #endif
141 
146  bool mWriteRate;
153 
156 };
157 
158 
160 // FBPlotOptions
163 
166 {
167  kFBRotationFilterNone,
168  kFBRotationFilterGimbleKiller,
169  kFBRotationFilterUnroll
170 };
171 FB_DEFINE_ENUM( FBSDK_DLL, RotationFilter );
172 
175 {
176  kFBPlotTangentModeSmooth,
177  kFBPlotTangentModeSmoothClamp,
178  kFBPlotTangentModeSpline,
179  kFBPlotTangentModeSplineClamp,
180  kFBPlotTangentModeAuto
181 };
182 FB_DEFINE_ENUM( FBSDK_DLL, RotationFilter );
183 
186 {
187 public:
188 
192 
205 };
206 
207 #if !defined(K_NO_AUDIO)
208 // FBAudioRenderOptions
212 
217 {
218 public:
219 
223 
229 };
230 #endif
231 
233 #if !defined(K_NO_CHARACTER)
235 #endif
236 #if !defined(K_NO_ACTOR)
238 #endif
239 #if !defined(K_NO_CHARACTER)
240 FB_DEFINE_COMPONENT( FBSDK_DLL, Character );
241 #endif
242 #if !defined(K_NO_ACTOR)
244 #endif
245 
253 };
254 
255 #if !defined(K_NO_ONECLICK)
258 {
263 };
264 #endif
265 
267 // FBEventOverrideFileOpen
271 {
272 public:
276  FBEventOverrideFileOpen( HKEventBase pEvent );
277 
280 };
281 
283 // FBPropertyEventOverrideFileOpen
287 {
288  public:
293  virtual void Add ( HICallback pOwner, kICallbackHandler pHandler );
294  virtual void Remove ( HICallback pOwner, kICallbackHandler pHandler );
295 };
296 
298 
307 {
309 public:
313  FBApplication(HIObject pObject=NULL);
314 
323 
325 
330  bool Minimize(bool pBlocking=true);
331 
335  bool Maximize();
336 
339 
345 
350 
356  bool FileNew(bool pAskUser = false, bool pClearSceneName = true);
357 
366  bool FileOpen( const char* pFilename, bool pShowUIMsg = false, FBFbxOptions* pOptions = NULL );
367 
374  bool FileOpen( void* pBuffer, kULong pBufferLength );
375 
384  bool GetMaxFrameCount(void* pBuffer, kULong pBufferLength, kLong* pFrameCount, int pTimeScale);
385 
396  bool FileMerge( const char* pFilename, bool pShowUIMsg = false, FBFbxOptions* pOptions = NULL );
397 
408  bool FileMerge( FBStringList& pPathlist, bool pShowUIMsg = false, FBFbxOptions* pOptions = NULL );
409 
422  bool FileAppend( const char* pFilename, bool pShowUIMsg = false, FBFbxOptions* pOptions = NULL );
423 
430  bool FileSave( const char* pFilename = NULL, FBFbxOptions* pOptions = NULL );
431 
437  void FileExit( bool pSave = false, int pExitCode = 0);
438 
454  bool FileImport( FBString pFilename, bool pMatchModels = false, bool pCreateUnmatchedModels = true );
455 
465 
477  bool FileExport( FBString pFilename );
478 
485  FBBatchStatus FileBatch( FBBatchOptions* pBatchOptions, FBPlotOptions* pPlotOptions = NULL );
486 
495  bool FileImportBatch( const char* pName, FBBatchOptions* pBatchOptions, FBModel* pReference );
496 
506  bool FileExportBatch( const char* pName, FBTake* pTake, FBBatchOptions* pBatchOptions, FBModelList &pExportModels );
507 
508 #if !defined(K_NO_CHARACTER)
509 
516  bool SaveCharacterRigAndAnimation( const char* pFileName, FBCharacter* pCharacter, FBFbxOptions* pFbxOptions);
517 
525  bool LoadAnimationOnCharacter( const char* pFileName, FBCharacter* pCharacter, FBFbxOptions* pFbxOptions, FBPlotOptions* pPlotOptions);
526 #endif
527 
532  bool IsValidBatchFile( const char* pFilename );
533 
534 #if !defined(K_NO_ONECLICK)
535 
540 
545 
550 
554 
559 #endif
560 
568  bool FileRender( FBVideoGrabOptions* pRenderOptions = NULL );
569 
570 #if !defined(K_NO_AUDIO)
571 
576  bool AudioRender( FBAudioRenderOptions* pAudioRenderOptions = NULL);
577 #endif
578 
584  bool ExecuteScript(FBString pFilename);
585 
586 public:
588 #if !defined(K_NO_ACTOR)
589  FBPropertyActor CurrentActor;
590 #endif
591 #if !defined(K_NO_CHARACTER)
592  FBPropertyCharacter CurrentCharacter;
593 #endif
594 
598 
601  const char* GetSceneTitle();
602 
606  void SetSceneTitle(const char* pTitle);
607 
610  const char* GetSceneSubject();
611 
615  void SetSceneSubject(const char* pSubject);
616 
619  const char* GetSceneAuthor();
620 
624  void SetSceneAuthor(const char* pAuthor);
625 
628  const char* GetSceneKeywords();
629 
633  void SetSceneKeywords(const char* pKeywords);
634 
637  const char* GetSceneRevisionNumber();
638 
642  void SetSceneRevisionNumber(const char* pRevNumber);
643 
646  const char* GetSceneComment();
647 
651  void SetSceneComment(const char* pComment);
652 };
653 
691 
695 
699 
707 
711 
715 
721 
725 
729 
736 };
737 
743 
749 
754 #ifdef FBSDKUseNamespace
755 } // namespace FBSDKNamespace
756 #endif
757 
758 #endif
FBViewerMode
FBViewerMode
Different viewer modes for the 3D viewer.
Definition: fbapplication.h:247
FBApplication::ExecuteScript
bool ExecuteScript(FBString pFilename)
Execute a python script file.
FBEventOverrideFileOpen::FilePath
FBPropertyString FilePath
Read Only Property: Path to the file that will be opened/merged.
Definition: fbapplication.h:278
FBPlotOptions::mPlotAuxEffectors
bool mPlotAuxEffectors
Should we plot aux effectors?
Definition: fbapplication.h:203
FBApplication::FileExport
bool FileExport(FBString pFilename)
Export a motion file.
FBBatchOnContainsBatchTakes
FBBatchOnContainsBatchTakes
Different actions to perform when a scene already contains batch takes while in a batch process.
Definition: fbapplication.h:94
kFBViewerModeFourWindow
@ kFBViewerModeFourWindow
View four panes.
Definition: fbapplication.h:251
FBApplication
FBApplication is used mainly to manage files.
Definition: fbapplication.h:307
FBApplication::FlushEventQueue
void FlushEventQueue()
Flush event queue.
FBAudioRenderOptions::ChannelMode
FBAudioChannelMode ChannelMode
Property: Audio render channel number, 1 for Mono(left channel right channel render mixed to one chan...
Definition: fbapplication.h:225
FBApplication::CurrentActor
FBPropertyActor CurrentActor
Read Write Property: Indicate the current actor, as used by the character tool. Can be NULL....
Definition: fbapplication.h:589
FBBatchOptions::mWriteTranslation
bool mWriteTranslation
Write translation animation data included with Acclaim AMC files.
Definition: fbapplication.h:147
kFBBatchOnTakeExistSkip
@ kFBBatchOnTakeExistSkip
Skip the take.
Definition: fbapplication.h:88
FBBatchOptions::FBBatchOptions
FBBatchOptions()
Constructor.
FBApplication::TheOne
static FBApplication & TheOne()
Get the global object for this class.
FBEventOverrideFileOpen::WillOverride
FBPropertyBool WillOverride
Read Write Property: Set to true for handling the file load, false by default. If the return value is...
Definition: fbapplication.h:279
kFBViewerModeOneWindow
@ kFBViewerModeOneWindow
View one pane.
Definition: fbapplication.h:248
FBApplication::GetMaxFrameCount
bool GetMaxFrameCount(void *pBuffer, kULong pBufferLength, kLong *pFrameCount, int pTimeScale)
Get max frame count from a scene file in memory.
FBApplication::IsValidBatchFile
bool IsValidBatchFile(const char *pFilename)
Verify motion file readability.
FBMergeTransactionIsOn
K_DLLIMPORT bool FBMergeTransactionIsOn()
Call to tell if system is during Merge transaction.
FBBatchOptions::mPlotToControlSet
bool mPlotToControlSet
To plot the animation on the control set.
Definition: fbapplication.h:149
FBAudioBitDepthMode
FBAudioBitDepthMode
Enum FBAudioBitDepthMode.
Definition: fbaudiofmt.h:70
FBBatchOptions::mOutputDirectory
FBString mOutputDirectory
The directory containning the output files.
Definition: fbapplication.h:135
FB_DEFINE_ENUM
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:150
FBApplication::FileImport
bool FileImport(FBString pFilename, bool pMatchModels=false, bool pCreateUnmatchedModels=true)
Import a motion file.
FBApplication::LoadAnimationOnCharacter
bool LoadAnimationOnCharacter(const char *pFileName, FBCharacter *pCharacter, FBFbxOptions *pFbxOptions, FBPlotOptions *pPlotOptions)
Load a rig and its animation from a file.
FBApplication::OnFileOpen
FBPropertyEvent OnFileOpen
Event: A File Open has been requested, nothing has been loaded yet.
Definition: fbapplication.h:318
FBPlotOptions::FBPlotOptions
FBPlotOptions()
Constructor.
FBApplication::SetSceneRevisionNumber
void SetSceneRevisionNumber(const char *pRevNumber)
Set the scene revision number.
kFBBatchFileFormatAMC
@ kFBBatchFileFormatAMC
File format for Acclaim AMC.
Definition: fbapplication.h:77
kFBTranslationThreshold
@ kFBTranslationThreshold
Translation threshold.
Definition: fbapplication.h:732
FBPreventUIUpdateEnd
K_DLLIMPORT void FBPreventUIUpdateEnd()
Call to end blocking the UI updates.
FBTimeSpan
TimeSpan class.
Definition: fbtime.h:384
FBBatchOptions::mCharacter
FBCharacter * mCharacter
The character to receive the animation.
Definition: fbapplication.h:139
FBBatchOptions::mUseSingleTake
bool mUseSingleTake
Use only one take to convert all files.
Definition: fbapplication.h:150
FBMergeTransactionFileRefEditBegin
K_DLLIMPORT void FBMergeTransactionFileRefEditBegin()
Call to begin the transaction for merging multiple files and applying File Reference edit at the same...
FBApplication::SetSceneSubject
void SetSceneSubject(const char *pSubject)
Set the scene subject.
kFBRotationThreshold
@ kFBRotationThreshold
Rotation threshold.
Definition: fbapplication.h:733
FBApplication::OnFileMerge
FBPropertyEvent OnFileMerge
Event: A File Merge has been requested, nothing has been loaded yet.
Definition: fbapplication.h:319
FBApplication::SaveCharacterRigAndAnimation
bool SaveCharacterRigAndAnimation(const char *pFileName, FBCharacter *pCharacter, FBFbxOptions *pFbxOptions)
Save the rig and its animation in a file.
FBApplication::OnFileSaveCompleted
FBPropertyEvent OnFileSaveCompleted
Event: A File Save has been completed.
Definition: fbapplication.h:320
FBApplication::OnFileExit
FBPropertyEvent OnFileExit
Event: A File Exit as been requested, nothing has been destroyed yet.
Definition: fbapplication.h:322
FBStringList
String list.
Definition: fbstring.h:208
FBPropertyEventOverrideFileOpen::Add
virtual void Add(HICallback pOwner, kICallbackHandler pHandler)
Add/Remove a callback.
kFBBatchFileFormatFBX
@ kFBBatchFileFormatFBX
File format for FBX (animation only).
Definition: fbapplication.h:80
FBPlotOptions::mPlotPeriod
FBTime mPlotPeriod
The plot period (1/fps).
Definition: fbapplication.h:195
FBBatchOptions::mUseBatchSuffix
bool mUseBatchSuffix
Add a batch suffix to the name of the files.
Definition: fbapplication.h:151
FBPlotOptions
Option parameters for plotting.
Definition: fbapplication.h:186
FBMergeTransactionEnd
K_DLLIMPORT void FBMergeTransactionEnd()
Call to end the merge transaction.
FBPlotOptions::mPlotOnFrame
bool mPlotOnFrame
Should we plot on frame?
Definition: fbapplication.h:194
FBApplication::GetSceneComment
const char * GetSceneComment()
Return the scene comment from the scene properties.
FBSetConstantKeyReducerThresholdValue
K_DLLIMPORT void FBSetConstantKeyReducerThresholdValue(FBConstantKeyReducerThresholdType pThresholdType, double pValue)
Set a specific threshold value used by the Constant Key Reducer filter.
FBApplication::SetSceneComment
void SetSceneComment(const char *pComment)
Set the scene comment.
FBBatchOptions::mOutputFileFormat
FBBatchFileFormat mOutputFileFormat
File format of the output files.
Definition: fbapplication.h:130
FBApplication::SetSceneTitle
void SetSceneTitle(const char *pTitle)
Set the scene title.
FBApplication::GetSceneRevisionNumber
const char * GetSceneRevisionNumber()
Return the scene revision number from the scene properties.
FBApplication::OnOverrideFileOpen
FBPropertyEventOverrideFileOpen OnOverrideFileOpen
Event: Called when a file is about to be opened/merged. The user can override the process with his ow...
Definition: fbapplication.h:324
FBApplication::FileNew
bool FileNew(bool pAskUser=false, bool pClearSceneName=true)
Command File->New in the menus.
FBTime
Time data structure.
Definition: fbtime.h:88
kFBOneClick3dsMax
@ kFBOneClick3dsMax
3ds Max.
Definition: fbapplication.h:261
FBApplication::Minimize
bool Minimize(bool pBlocking=true)
Minimize window.
FBApplication::FileExit
void FileExit(bool pSave=false, int pExitCode=0)
Quit application.
FBApplication::FileOpen
bool FileOpen(const char *pFilename, bool pShowUIMsg=false, FBFbxOptions *pOptions=NULL)
Open a file, replacing the current scene.
FBAudioRenderOptions::OutputFileName
FBString OutputFileName
Property: Audio Render destination file.
Definition: fbapplication.h:228
FBBatchStatus
FBBatchStatus
Different return values of the Batch process.
Definition: fbapplication.h:102
FBApplication::GetSceneAuthor
const char * GetSceneAuthor()
Return the scene author from the scene properties.
FBApplication::OnFileOpenCompleted
FBPropertyEvent OnFileOpenCompleted
Event: A File Open has been completed.
Definition: fbapplication.h:317
FBTake
A take is a container for animation in a scene.
Definition: fbdata.h:1692
FBPlotOptions::mPlotAllTakes
bool mPlotAllTakes
Should we plot all takes?
Definition: fbapplication.h:193
FBActor
FBActor is used to link motion data to a character.
Definition: fbcharacter.h:989
kFBScalingThreshold
@ kFBScalingThreshold
Scaling threshold.
Definition: fbapplication.h:734
FBBatchOptions
Option parameters for the batch process.
Definition: fbapplication.h:122
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbapplication.h:48
FBBatchOptions::mOnContainsBatchTakesAction
FBBatchOnContainsBatchTakes mOnContainsBatchTakesAction
Action to perform when a scene already contains batch takes while in a batch process.
Definition: fbapplication.h:155
FBPlotOptions::mPreciseTimeDiscontinuities
bool mPreciseTimeDiscontinuities
Should we use precise time discontinuities?
Definition: fbapplication.h:201
FBApplication::CurrentCharacter
FBPropertyCharacter CurrentCharacter
Read Write Property: Indicate the current character, as used by the character tool....
Definition: fbapplication.h:592
FBBatchOptions::mInputFileFormat
FBBatchFileFormat mInputFileFormat
File format of the input files.
Definition: fbapplication.h:129
kFBBatchFileFormatBVH
@ kFBBatchFileFormatBVH
File format for Biovision BVH.
Definition: fbapplication.h:78
FBApplication::SetSceneKeywords
void SetSceneKeywords(const char *pKeywords)
Set the scene keywords.
FBApplication::FileAppend
bool FileAppend(const char *pFilename, bool pShowUIMsg=false, FBFbxOptions *pOptions=NULL)
Append one or multiple files to the current scene.
FBCharacter
A character is the link between a motion source and a character model.
Definition: fbcharacter.h:1388
FBApplication::OnFileNew
FBPropertyEvent OnFileNew
Event: A File New has been requested, nothing has been destroyed yet.
Definition: fbapplication.h:316
FBBatchOptions::mWriteRate
bool mWriteRate
Write frame rate in Acclaim AMC files.
Definition: fbapplication.h:146
FBGetConstantKeyReducerThresholdValue
K_DLLIMPORT double FBGetConstantKeyReducerThresholdValue(FBConstantKeyReducerThresholdType pThresholdType)
Return a specific threshold value used by the Constant Key Reducer filter.
kFBOneClickNone
@ kFBOneClickNone
No application.
Definition: fbapplication.h:259
FBApplication::FileImportBatch
bool FileImportBatch(const char *pName, FBBatchOptions *pBatchOptions, FBModel *pReference)
Import a motion file using batch options.
FBString
Basic string class.
Definition: fbstring.h:67
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBPlotTangentMode
FBPlotTangentMode
The tangent mode for plotted curve.
Definition: fbapplication.h:175
kFBBatchFileFormatTRC
@ kFBBatchFileFormatTRC
File format for Motion Analysis TRC.
Definition: fbapplication.h:75
__FB_FORWARD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
FBEvent
Base Event class.
Definition: fbcomponent.h:940
FBOneClickApplication
FBOneClickApplication
Possible application for One-Click interop with MotionBuilder.
Definition: fbapplication.h:258
FBApplication::OneClickSelectPreviouslySentObject
void OneClickSelectPreviouslySentObject()
Select, in MotionBuilder, the object that were sent.
FBAudioRenderOptions::TimeSpan
FBTimeSpan TimeSpan
Property: Start and stop selection time to render.
Definition: fbapplication.h:224
FBAudioRenderOptions::BitDepthMode
FBAudioBitDepthMode BitDepthMode
Property: Bit depth for one sample of audio. 8, 16 and 24 bits available for audio render,...
Definition: fbapplication.h:226
FBApplication::OnFileNewCompleted
FBPropertyEvent OnFileNewCompleted
Event: A File New has been completed.
Definition: fbapplication.h:315
FBMotionFileOptions
Customize motion file loading.
Definition: fbmotionfileoptions.h:76
kFBBatchProcessTypeConvert
@ kFBBatchProcessTypeConvert
Does the load and save.
Definition: fbapplication.h:68
FBBatchOptions::mKeepDummyBones
bool mKeepDummyBones
To keep dummy bones.
Definition: fbapplication.h:145
FBAudioRenderOptions
Audio Render Options structure.
Definition: fbapplication.h:217
FBAudioRenderOptions::FBAudioRenderOptions
FBAudioRenderOptions()
Constructor.
FBBatchOptions::mOnTakeExistAction
FBBatchOnTakeExist mOnTakeExistAction
Action to perform when a take already exist while in a batch process.
Definition: fbapplication.h:154
FBPlotOptions::mPlotTangentMode
FBPlotTangentMode mPlotTangentMode
The tangent mode for plotted curve.
Definition: fbapplication.h:197
FBBatchOnTakeExist
FBBatchOnTakeExist
Different actions to perform when a take already exist while in a batch process.
Definition: fbapplication.h:86
FBApplication::GetSceneSubject
const char * GetSceneSubject()
Return the scene subject from the scene properties.
FBBatchOptions::mStartAnimationAtZero
bool mStartAnimationAtZero
Set the time of all loaded files to 0.
Definition: fbapplication.h:142
kFBBatchFileFormatHTR
@ kFBBatchFileFormatHTR
File format for Motion Analysis HTR.
Definition: fbapplication.h:79
FBRotationFilter
FBRotationFilter
Rotation filters.
Definition: fbapplication.h:166
FBBatchOptions::mOverwriteScaling
bool mOverwriteScaling
Set the scaling to a default setting of 1.0.
Definition: fbapplication.h:144
kFBOneClickMaya
@ kFBOneClickMaya
Maya.
Definition: fbapplication.h:260
FBMergeTransactionBegin
K_DLLIMPORT void FBMergeTransactionBegin()
Call to begin the transaction for merging multiple files.
FBEventOverrideFileOpen::FBEventOverrideFileOpen
FBEventOverrideFileOpen(HKEventBase pEvent)
Constructor.
FBAudioRenderOptions::RateMode
FBAudioRateMode RateMode
Property: Rate mode for number of samples per second. 44100 hz default,8000, 11025,...
Definition: fbapplication.h:227
FBPropertyEvent
PropertyEvent: Base event class.
Definition: fbproperties.h:515
FBModelList
class K_DLLIMPORT FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate<FBModel*> FBModelList;
Definition: fbcharacter.h:597
FBApplication::FileSave
bool FileSave(const char *pFilename=NULL, FBFbxOptions *pOptions=NULL)
Save the file under another name.
FBApplication::GetSceneKeywords
const char * GetSceneKeywords()
Return the scene keywords from the scene properties.
FBPropertyBool
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Definition: fbproperties.h:1308
kFBViewerModeTwoWindow
@ kFBViewerModeTwoWindow
View two panes.
Definition: fbapplication.h:249
fbcomponent.h
Basic class definitions.
FBApplication::UpdateAllWidgets
void UpdateAllWidgets()
Request to refresh display of all UI widgets.
FBApplication::FileMerge
bool FileMerge(FBStringList &pPathlist, bool pShowUIMsg=false, FBFbxOptions *pOptions=NULL)
Merge multiple files with the current scene.
FBPlotOptions::mPlotLockedProperties
bool mPlotLockedProperties
Should we plot locked properties?
Definition: fbapplication.h:202
FBApplication::OneClickSendAsNewScene
bool OneClickSendAsNewScene(FBOneClickApplication pApplication)
Send the current scene as a new scene in the specified application.
FBPlotOptions::mPlotTranslationOnRootOnly
bool mPlotTranslationOnRootOnly
Should we plot the translation on root only?
Definition: fbapplication.h:200
FBPreventUIUpdateIsOn
K_DLLIMPORT bool FBPreventUIUpdateIsOn()
Call to tell if UI updates are blocked.
FBMergeTransactionFileRefEditIsOn
K_DLLIMPORT bool FBMergeTransactionFileRefEditIsOn()
Call to tell if system is during File Reference Edit Merge transaction.
FBApplication::OnFileSave
FBPropertyEvent OnFileSave
Event: A File Save has been requested, nothing has been saved yet.
Definition: fbapplication.h:321
FBApplication::FileOpen
bool FileOpen(void *pBuffer, kULong pBufferLength)
Open a file from memory.
kFBBatchProcessTypeLoad
@ kFBBatchProcessTypeLoad
Load the files and plot the character with every take.
Definition: fbapplication.h:66
FBPreventUIUpdateBegin
K_DLLIMPORT void FBPreventUIUpdateBegin()
Call to prevent UI updates when creating/deleting/renaming objects.
FBAudioRateMode
FBAudioRateMode
Enum FBAudioRateMode.
Definition: fbaudiofmt.h:77
FBFbxOptions
Customize file loading and saving.
Definition: fbfbxoptions.h:123
FBMergeTransactionFileRefEditEnd
K_DLLIMPORT void FBMergeTransactionFileRefEditEnd()
Call to end merge transaction with File Reference edit.
FBBatchOptions::mSkeletonFile
FBString mSkeletonFile
The Skeleton file (for Acclaim AMC files).
Definition: fbapplication.h:136
FB_FORWARD
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
kFBViewerModeSchematic
@ kFBViewerModeSchematic
Schematic view.
Definition: fbapplication.h:252
FBPlotOptions::mConstantKeyReducerKeepOneKey
bool mConstantKeyReducerKeepOneKey
Should the constant key reducer keep at least one key?
Definition: fbapplication.h:199
FBPropertyEventOverrideFileOpen
PropertyEvent: Event when a file is about to be opened/merged.
Definition: fbapplication.h:287
FBPlotOptions::mUseConstantKeyReducer
bool mUseConstantKeyReducer
Should we use a constant key reducer with the filter?
Definition: fbapplication.h:198
FBApplication::FBXFileName
FBPropertyString FBXFileName
Read Write Property: Current scene filename.
Definition: fbapplication.h:587
FBPlotOptions::mRotationFilterToApply
FBRotationFilter mRotationFilterToApply
The rotation filter to apply.
Definition: fbapplication.h:196
FBApplication::SetSceneAuthor
void SetSceneAuthor(const char *pAuthor)
Set the scene author.
FBApplication::GetSceneTitle
const char * GetSceneTitle()
Return the scene title from the scene properties.
FB_DEFINE_COMPONENT
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBApplication::FileBatch
FBBatchStatus FileBatch(FBBatchOptions *pBatchOptions, FBPlotOptions *pPlotOptions=NULL)
Start a batch.
FBApplication::FBApplication
FBApplication(HIObject pObject=NULL)
Constructor.
FBBatchOptions::mFrameAnimation
bool mFrameAnimation
Set timeline start and end time to corespond with the start and end of animation.
Definition: fbapplication.h:143
kFBViewerModeThreeWindow
@ kFBViewerModeThreeWindow
View three panes.
Definition: fbapplication.h:250
FBConstantKeyReducerThresholdType
FBConstantKeyReducerThresholdType
Different threshold types for the Constant Key Reducer filter.
Definition: fbapplication.h:731
FBBatchFileFormat
FBBatchFileFormat
Different file formats for the batch.
Definition: fbapplication.h:74
kFBBatchFileFormatC3D
@ kFBBatchFileFormatC3D
File format for Vicon C3D.
Definition: fbapplication.h:76
FBApplication::Maximize
bool Maximize()
Maximize window (minimized).
FBAudioChannelMode
FBAudioChannelMode
Enum FBAudioChannelMode.
Definition: fbaudiofmt.h:63
FBBatchOptions::mInputDirectory
FBString mInputDirectory
The directory containning the input files.
Definition: fbapplication.h:134
FBApplication::FileImportWithOptions
bool FileImportWithOptions(FBMotionFileOptions *pOptions)
Import a motion file with the ability to specify options.
FBEventOverrideFileOpen
Event that is called before a file open/merge.
Definition: fbapplication.h:271
FBApplication::IsSceneModified
bool IsSceneModified()
Is the scene modified since last save / new scene creation?
FBApplication::AudioRender
bool AudioRender(FBAudioRenderOptions *pAudioRenderOptions=NULL)
Render audio of current scene to media file, currently WAV file only.
FBApplication::OneClickAddToCurrentScene
bool OneClickAddToCurrentScene()
Send the scene and add it to the current scene in the specified application.
FBPropertyString
Property class: const char * (String).
Definition: fbproperties.h:1281
FBBatchProcessType
FBBatchProcessType
Different process type for the batch.
Definition: fbapplication.h:65
kFBBatchProcessTypeSave
@ kFBBatchProcessTypeSave
Save the takes in different files.
Definition: fbapplication.h:67
FBApplication::FileRender
bool FileRender(FBVideoGrabOptions *pRenderOptions=NULL)
Render current scene to media file.
FBApplication::FileMerge
bool FileMerge(const char *pFilename, bool pShowUIMsg=false, FBFbxOptions *pOptions=NULL)
Merge one or multiple files with the current scene.
FBModel
Model class.
Definition: fbmodel.h:274
FBComponent
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
kFBOneClickSoftimage
@ kFBOneClickSoftimage
Softimage.
Definition: fbapplication.h:262
FBBatchOptions::mPlotToCharacter
bool mPlotToCharacter
To plot the animation on the character.
Definition: fbapplication.h:148
FBBatchOptions::mKeepCharacterConstraint
bool mKeepCharacterConstraint
To keep the character constaint when saving.
Definition: fbapplication.h:152
FBPlotOptions::mEvaluateDeformation
bool mEvaluateDeformation
Should we evaluate deformation while plotting? This is useful when there is a dependency with the def...
Definition: fbapplication.h:204
kFBBatchOnContainsBatchTakesSaveBatchTakesOnly
@ kFBBatchOnContainsBatchTakesSaveBatchTakesOnly
Save only the batch takes.
Definition: fbapplication.h:95
FBApplication::OneClickIsConnectedTo
FBOneClickApplication OneClickIsConnectedTo()
Return the other application that MotionBuilder is connected to.
FBApplication::FileExportBatch
bool FileExportBatch(const char *pName, FBTake *pTake, FBBatchOptions *pBatchOptions, FBModelList &pExportModels)
Export a motion file using batch options.
FBApplication::OneClickUpdateCurrentScene
bool OneClickUpdateCurrentScene()
Send the scene to update the current scene in the specified application.
kFBBatchOnContainsBatchTakesSaveAllTakes
@ kFBBatchOnContainsBatchTakesSaveAllTakes
Save all the takes.
Definition: fbapplication.h:96
kFBBatchOnTakeExistOverwrite
@ kFBBatchOnTakeExistOverwrite
Overwrite the take.
Definition: fbapplication.h:87
FBBatchOptions::mProcessType
FBBatchProcessType mProcessType
What process should be done? Load, Save or Both.
Definition: fbapplication.h:132
kFBDefaultThreshold
@ kFBDefaultThreshold
All other curves threshold.
Definition: fbapplication.h:735
FBVideoGrabOptions
Video Grabbing Options structure.
Definition: fbvideograbber.h:99