Open Reality Reference Guide
fbstory.h
Go to the documentation of this file.
1 #ifndef __FBSTORY_H__
2 #define __FBSTORY_H__
3 /**************************************************************************
4  Copyright (c) 1994 - 2009 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 #include <fbsdk/fbcomponent.h>
52 #include <fbsdk/fbcore.h>
53 #include <fbsdk/fbvideo.h>
54 #include <fbsdk/fbmodel.h>
55 #include <fbsdk/fbcamera.h>
56 
57 #ifndef FBXSDK_NAMESPACE
58  #define FBXSDK_NAMESPACE fbxsdk
59 #endif
60 
61 namespace FBXSDK_NAMESPACE {
62  class FbxScene;
63 }
64 
65 #ifdef FBSDKUseNamespace
66  namespace FBSDKNamespace {
67 #endif
68 
75 FB_DEFINE_COMPONENT( FBSDK_DLL, StoryFolder );
76 FB_DEFINE_COMPONENT( FBSDK_DLL, StoryTrack );
77 FB_DEFINE_COMPONENT( FBSDK_DLL, StoryClip );
78 FB_DEFINE_COMPONENT( FBSDK_DLL, StoryGroupClip );
79 FB_DEFINE_COMPONENT( FBSDK_DLL, AnimationNode );
81 FB_DEFINE_COMPONENT( FBSDK_DLL, AudioClip );
82 
93 };
94 
99 };
100 
103  kFBStoryTrackBodyPartNone = 0,
104 
105  kFBStoryTrackBodyPartHead = 1 << 0,
106 
107  kFBStoryTrackBodyPartLeftShoulder = 1 << 1,
108  kFBStoryTrackBodyPartLeftHand = 1 << 2,
109  kFBStoryTrackBodyPartLeftArm = 1 << 3 | kFBStoryTrackBodyPartLeftShoulder | kFBStoryTrackBodyPartLeftHand,
110  kFBStoryTrackBodyPartRightShoulder = 1 << 4,
111  kFBStoryTrackBodyPartRightHand = 1 << 5,
112  kFBStoryTrackBodyPartRightArm = 1 << 6 | kFBStoryTrackBodyPartRightShoulder | kFBStoryTrackBodyPartRightHand,
113 
114  kFBStoryTrackBodyPartLeftFoot = 1 << 7,
115  kFBStoryTrackBodyPartLeftLeg = 1 << 8 | kFBStoryTrackBodyPartLeftFoot,
116  kFBStoryTrackBodyPartRightFoot = 1 << 9,
117  kFBStoryTrackBodyPartRightLeg = 1 << 10| kFBStoryTrackBodyPartRightFoot,
118 
119  kFBStoryTrackBodyPartProps = 1 << 11,
120  kFBStoryTrackBodyPartExtensions = 1 << 12,
121 
122  kFBStoryTrackBodyPartSpine = 1 << 13,
123 
124  kFBStoryTrackBodyPartUpperBody = kFBStoryTrackBodyPartHead | kFBStoryTrackBodyPartSpine |
125  kFBStoryTrackBodyPartLeftArm | kFBStoryTrackBodyPartLeftShoulder | kFBStoryTrackBodyPartLeftHand |
126  kFBStoryTrackBodyPartRightArm | kFBStoryTrackBodyPartRightShoulder | kFBStoryTrackBodyPartRightHand,
127 
128  kFBStoryTrackBodyPartLowerBody = kFBStoryTrackBodyPartLeftLeg | kFBStoryTrackBodyPartLeftFoot | kFBStoryTrackBodyPartRightLeg | kFBStoryTrackBodyPartRightFoot,
129 
130  kFBStoryTrackBodyPartAll = kFBStoryTrackBodyPartUpperBody | kFBStoryTrackBodyPartLowerBody,
131 };
132 
137 };
138 
144 };
145 
152 };
153 
159 };
160 
167 };
168 
174 };
175 
181 };
182 
185 {
194 };
195 
198 {
203 };
204 
207 {
212 };
213 
214 
225 };
226 
232 };
233 
243 };
244 
256 };
257 
258 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipChangeType );
259 FB_DEFINE_ENUM(FBSDK_DLL, StoryTrackType);
260 FB_DEFINE_ENUM(FBSDK_DLL, StoryTrackRefMode);
261 FB_DEFINE_ENUM(FBSDK_DLL, StoryTrackGhostShowMode);
262 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipShowGhostMode);
263 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipGhostTimeMode);
264 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipNodeFunction);
265 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipSolveMode);
266 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipMirrorPlane);
267 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipCompMode);
268 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipAlignmentType);
269 FB_DEFINE_ENUM(FBSDK_DLL, StoryClipTimeWarpInterpolatorType);
270 
271 
273 // FBClipEvent
275 
277 
279 {
280  public:
284  FBEventClipChange( HKEventBase pEvent );
285 
286  FBPropertyStoryClipChangeType Type;
287 };
288 
292 {
293 public:
299  virtual int Add(FBStoryFolder* pItem);
300 
306  virtual int Remove(FBStoryFolder* pItem);
307 
311  virtual void RemoveAt(int pIndex);
312 
317  virtual FBStoryFolder* operator[](int pIndex);
318 
322  virtual int GetCount();
323 
324 #ifndef DOXYGEN_SHOULD_SKIP_THIS
325  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
326 private:
327  inline virtual int Add ( FBComponent* pItem ) { return Add((FBStoryFolder*)pItem); }
328 #endif
329 };
330 
334 {
335 public:
341  virtual int Add(FBStoryTrack* pItem);
342 
348  virtual int Remove(FBStoryTrack* pItem);
349 
353  virtual void RemoveAt(int pIndex);
354 
359  virtual FBStoryTrack* operator[](int pIndex);
360 
364  virtual int GetCount();
365 #ifndef DOXYGEN_SHOULD_SKIP_THIS
366  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
367 private:
368  inline virtual int Add ( FBComponent* pItem ) { return Add((FBStoryTrack*)pItem); }
369 #endif
370 };
371 
375 {
376 public:
382  virtual int Add(FBStoryTrack* pItem);
383 
389  virtual int Remove(FBStoryTrack* pItem);
390 
394  virtual void RemoveAt(int pIndex);
395 
400  virtual FBStoryTrack* operator[](int pIndex);
401 
405  virtual int GetCount();
406 #ifndef DOXYGEN_SHOULD_SKIP_THIS
407  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
408 private:
409  inline virtual int Add ( FBComponent* pItem ) { return Add((FBStoryTrack*)pItem); }
410 #endif
411 };
412 
416 {
417 public:
422  virtual int Add(FBStoryClip* pItem);
423 
428  virtual int Remove(FBStoryClip* pItem);
429 
433  virtual void RemoveAt(int pIndex);
434 
439  virtual FBStoryClip* operator[](int pIndex);
440 
444  virtual int GetCount();
445 #ifndef DOXYGEN_SHOULD_SKIP_THIS
446  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
447 private:
448  inline virtual int Add ( FBComponent* pItem ) { return Add((FBStoryClip*)pItem); }
449 #endif
450 };
451 
455 {
456 public:
461  virtual int Add(FBComponent* pItem);
462 
467  virtual int Remove(FBComponent* pItem);
468 
472  virtual void RemoveAt(int pIndex);
473 
478  virtual FBComponent* operator[](int pIndex);
479 
483  virtual int GetCount();
484 #ifndef DOXYGEN_SHOULD_SKIP_THIS
485  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
486 #endif
487 };
488 
492 {
493 public:
498  virtual int Add(FBModel* pItem);
499 
504  virtual int Remove(FBModel* pItem);
505 
509  virtual void RemoveAt(int pIndex);
510 
515  virtual FBModel* operator[](int pIndex);
516 
520  virtual int GetCount();
521 #ifndef DOXYGEN_SHOULD_SKIP_THIS
522  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
523 private:
524  inline virtual int Add ( FBComponent* pItem ) { return Add((FBModel*)pItem); }
525 #endif
526 };
527 
529 // FBStory
531 
535 {
536  //--- Open Reality declaration.
538 
539 public:
542  FBStory();
550  FBPropertyStoryFolder RootFolder;
551  FBPropertyStoryFolder RootEditFolder;
552 
556  int CleanEmptyTracksAndFolders();
557 
561  static FBStory& TheOne();
562 
563 };
564 
566 // FBStoryFolder
568 
572 {
573  //--- Open Reality declaration.
575 public:
576 
582  FBStoryFolder(FBStoryFolder* pParentFolder=NULL, HIObject pObject=NULL);
583 
586  virtual void FBDelete();
587 
591  void Load(bool pLoad);
592 
598  FBPropertyStoryFolder Parent;
601 
606  void AlignSelectedClips(FBStoryClipAlignmentType pType, FBComponent* pReferenceClip);
607 
611  void AlignSelectedClipsGroup(FBStoryGroupClipAlignmentType pType);
612 
616  void ExpandSelectedClips(bool pPreserveOverlap);
617 
623  void ConvertClipsToReadOnly(bool pSelected, char* pFilePath);
624 
629  void ExpandSelectedClipsGroup(bool pPreserveOverlap);
630 };
631 
633 // FBStoryTrack
635 
643 {
644  //--- Open Reality declaration.
646 public:
647 
653  FBStoryTrack(FBStoryTrackType pTrackType, FBStoryFolder* pFolder=NULL, HIObject pObject=NULL);
654 
660  FBStoryTrack(FBComponent* pSource, FBStoryFolder* pFolder=NULL, HIObject pObject=NULL);
661 
664  virtual void FBDelete();
665 
669  void ChangeDetailsBegin();
670 
674  void ChangeDetailsEnd();
675 
676  //--- Animation track functions -----------------------------------------------------------------------------------------------------
685  FBStoryClip* CopyTakeIntoTrack(FBTimeSpan& pTimeSpan, FBTake* pTake, FBTime pOutputOffset = 0, bool pMakeUndoable = false);
686 
687  //--- Character track functions -----------------------------------------------------------------------------------------------------
693  void EnableBodyPart(FBStoryTrackBodyPart pPart, bool pEnable);
694 
698  bool IsBodyPartEnabled(FBStoryTrackBodyPart pPart);
699 
703  void AddClip(FBComponent* pClip, FBTime pTime);
704 
710  FBStoryTrack* CreateSubTrack(FBStoryTrackType pTrackType, FBStoryTrackRefMode pRefMode);
711 
715  void Load(bool pLoad);
716 
717  //--- All track properties ----------------------------------------------------------------------------------------------------------
718  FBPropertyStoryTrackType Type;
725  FBPropertyStoryFolder ParentFolder;
726  FBPropertyStoryTrack ParentTrack;
730 
731  //--- Animation and Constraint track properties -------------------------------------------------------------------------------------
733 
734  //--- Animation track properties ----------------------------------------------------------------------------------------------------
739  FBPropertyStoryTrackGhostShowMode GhostShowTrackMode;
741  FBPropertyStoryTrackRefMode ReferenceMode;
744 
745  //--- Character track properties ----------------------------------------------------------------------------------------------------
746  FBPropertyCharacter Character;
748 
749  //--- Shot track properties ---------------------------------------------------------------------------------------------------------
752 
753  //--- Audio track properties --------------------------------------------------------------------------------------------------------
755 
756  //--- Video track properties --------------------------------------------------------------------------------------------------------
757  FBPropertyVideo TrackVideo;
758 private:
759  void FBStoryTrackInitProperties();
760 };
761 
763 // FBStoryClip
765 
778 {
779  //--- Open Reality declaration.
781 public:
782 
789  FBStoryClip(FBComponent* pClipObject, FBStoryTrack* pTrack, FBTime pTime, HIObject pObject=NULL);
790 
797  FBStoryClip(const char* pFilePath, FBStoryTrack* pTrack, FBTime pTime, HIObject pObject=NULL);
798 
806  FBStoryClip(const char* pFilePath, FBStoryTrack* pTrack, FBTime pTime, FBTime pTimeOffset, HIObject pObject=NULL);
807 
810  virtual void FBDelete();
811 
814  FBStoryClip* Clone();
815 
822  FBTime Move(FBTime pDelta, bool pForce=true);
823 
830  FBTime MoveTo(FBTime pTime, bool pForce=true);
831 
837  FBStoryClip* Razor(FBTime pTime);
838 
839  //--- Animation clip functions ------------------------------------------------------------------------------------------------------
843  void Match();
844 
852  void Match
853  (
854  FBString pObjectName,
855  FBStoryClipMatchingTimeType pTimeType,
856  FBStoryClipMatchingTranslationType pTranslationType,
857  FBStoryClipMatchingRotationType pRotationType
858  );
859 
865  bool ExportToFile(FBString pOutputFile);
866 
871  bool GetReadOnly();
872 
879  bool SetReadOnly(bool pMakeClipReadOnly, FBString pOutputFile = FBString());
880 
885  bool MakeWritable();
886 
894  void GetAffectedObjects( FBArrayTemplate<FBComponent*>* pAffectedObjects );
895 
904  void GetAffectedAnimationNodes( FBArrayTemplate<FBAnimationNode*>* pAffectedAnimationNodes, FBComponent* pClipObject );
905 
912  bool DestinationSetObject( const char* pSrcName, FBComponent* pObject );
913 
935  void SetTime( FBTime *pSourceIn = NULL, FBTime *pSourceOut = NULL, FBTime *pDestinationIn = NULL, FBTime *pDestinationOut = NULL, bool pUseAlternateSrcInProp = false );
936 
941  bool CanAssignSourcesToDestinations();
942 
952  void GetAssignSourcesToDestinationsInfo( FBStringList& pSrcList, FBStringList& pAvailableDstList, FBStringList& pDefaultDstList, FBStringList& pEffectiveDstList );
953 
962  bool SetAssignSourcesToDestinationsInfo( FBStringList& pEffectiveDstList );
963 
967  FBXSDK_NAMESPACE::FbxScene* GetFbxScene();
968 
972  bool UpdateFromCurrentTake();
973 
974  //--- All clip properties -----------------------------------------------------------------------------------------------------------
985 
986  //--- Shot clip properties ----------------------------------------------------------------------------------------------------------
987  FBPropertyCamera ShotCamera;
988  FBPropertyVideo ShotBackplate;
989  FBPropertyVideo ShotFrontplate;
995 
996  //--- Audio clip properties ---------------------------------------------------------------------------------------------------------
997  FBPropertyAudioClip AudioClip;
1001 
1002  //--- Video clip properties ---------------------------------------------------------------------------------------------------------
1008 
1009  //--- Animation clip properties -----------------------------------------------------------------------------------------------------
1021  FBPropertyStoryClipShowGhostMode ShowGhostClipMode;
1023  FBPropertyAnimationNode PreBlendData;
1024  FBPropertyAnimationNode PostBlendData;
1029  FBPropertyStoryClipNodeFunction TravellingNodeFunction;
1030  FBPropertyStoryClipGhostTimeMode GhostManipulatorMode;
1033 
1034  //--- Character clip properties -----------------------------------------------------------------------------------------------------
1035  FBPropertyStoryClipSolveMode SolvingMode;
1037  FBPropertyStoryClipMirrorPlane MirrorPlane;
1038 
1040 
1041  //--- Character and shot clip properties -----------------------------------------------------------------------------------------------------
1043  FBPropertyStoryClipTimeWarpInterpolatorType TimeWarpInterpolatorType;
1045  FBPropertyAnimationNode CustomTimeWarp;
1046 
1047 private:
1048  void FBStoryClipInitProperties();
1049 };
1050 
1052 // FBStoryGroupClip
1054 
1058 {
1059  //--- Open Reality declaration.
1061 public:
1062 
1067  FBStoryGroupClip(FBArrayTemplate<FBStoryClip*>* pAffectedClipObject, HIObject pObject=NULL);
1068 
1071  virtual void FBDelete();
1072 
1079  FBTime Move(FBTime pDelta, bool pForce=true);
1080 
1087  FBTime MoveTo(FBTime pTime, bool pForce=true);
1088 
1093  void Razor(FBTime pTime);
1094 
1099 
1100 private:
1101  void FBStoryClipInitProperties();
1102 };
1103 
1104 #ifdef FBSDKUseNamespace
1105  }
1106 #endif
1107 #endif /* this must be the last line of this file */
Additive track.
Definition: fbstory.h:98
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyString RecordClipPath
Read Write Property: Path for story recording. Can be relative or full path.
Definition: fbstory.h:597
FBPropertyAnimatableDouble Weight
Read Write Property: Control the blend amount.
Definition: fbstory.h:732
Uses the matching time type stored in the Application configuration file: [Story] > MatchWhen...
Definition: fbstory.h:193
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:132
FBPropertyStoryClipSolveMode SolvingMode
Read Write Property: Solve Modes for story character clips. See FBStoryClipSolveMode ...
Definition: fbstory.h:1035
Override track.
Definition: fbstory.h:97
Character animation track.
Definition: fbstory.h:87
Always show the ghost.
Definition: fbstory.h:141
FBPropertyTimeSpan PostBlend
Read Write Property: Start/Stop time of the post-blend phase.
Definition: fbstory.h:981
FBPropertyString RecordClipPath
Read Write Property: Path for story recording. Can be relative or full path.
Definition: fbstory.h:722
FBPropertyBool GhostPivot
Read Write Property: Show ghost of match object
Definition: fbstory.h:738
FBPropertyTimeSpan PreBlend
Read Write Property: Start/Stop time of the pre-blend phase.
Definition: fbstory.h:980
FBPropertyBool StartStopLocked
Read Write Property: Clip&#39;s &#39;In/Out Locked&#39; property value. True if the clip&#39;s In/Out properties (sta...
Definition: fbstory.h:984
Show the ghost at start time of the clip.
Definition: fbstory.h:149
FBPropertyBool ShowBackplate
Read Write Property: If true, the backplate will be shown.
Definition: fbstory.h:750
FBStoryClipGhostTimeMode
Time mode to display ghost.
Definition: fbstory.h:147
FBPropertyStoryClipChangeType Type
Read Only Property: Type of event.
Definition: fbstory.h:286
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
Rotates a selected clip&#39;s match object around the global Y axis.
Definition: fbstory.h:210
FBPropertyBool Collapsed
Read Write Property: Toggle to collapse or expand the story folder.
Definition: fbstory.h:594
Align selected clips to the end of the previous clip, while keeping the relative offset.
Definition: fbstory.h:223
Story Clip class.
Definition: fbstory.h:777
Template class to contain an array of items.
Definition: fbarray.h:77
FBPropertyBool ShowFrontplate
Read Write Property: If true, the frontplate will be shown.
Definition: fbstory.h:751
FBPropertyAnimationNode PostBlendData
Read Only Property: To get the animation of the Post blend curve
Definition: fbstory.h:1024
Show the ghost at current time of the clip.
Definition: fbstory.h:148
FBStoryClipSolveMode
Solve Modes for story character clips.
Definition: fbstory.h:162
Time data structure.
Definition: fbtime.h:87
List: Story Clip pivot models
Definition: fbstory.h:491
Matches the selected clip and the previous clip at the middle of the blend.
Definition: fbstory.h:188
FBPropertyBool ShowFrontplate
Read Write Property: Enable/Disable the shot frontplate.
Definition: fbstory.h:991
FBStoryClipMatchingRotationType
Matching Rotation Types, when matching clips to each other.
Definition: fbstory.h:206
List: StoryFolder
Definition: fbstory.h:291
FBPropertyBool TimeWarpReverse
Read Write Property: If true, reverse the Animation or Shot clip&#39;s TimeWarp FCurve.
Definition: fbstory.h:1044
FBPropertyStoryClipShowGhostMode ShowGhostClipMode
Read Write Property: Show the ghost depending on the time. See FBStoryClipShowGhostMode ...
Definition: fbstory.h:1021
FBPropertyBool Ghost
Read Write Property: Show ghosts
Definition: fbstory.h:1017
FBPropertyInt AudioOutIndex
Read Write Property: Audio Output&#39;s index to use.
Definition: fbstory.h:754
Basic string class.
Definition: fbstring.h:66
Matches the start of the blend with the selected clip to the start of the next clip.
Definition: fbstory.h:190
FBPropertyStoryTrackGhostShowMode GhostShowTrackMode
Read Write Property: Show the ghosts for all the clips or only the adjacent clips. See FBStoryTrackGhostShowMode
Definition: fbstory.h:739
Align the clips contained in the group clip with the current time.
Definition: fbstory.h:229
FBPropertyBool Loop
Read Write Property: If true, loop clip&#39;s animation
Definition: fbstory.h:1016
Matches the start of the selected clip to the start of the blend with the previous clip...
Definition: fbstory.h:187
Story Management class.
Definition: fbstory.h:534
FBPropertyStoryTrackType Type
Read Only Property: Type of the track
Definition: fbstory.h:718
PropertyList: Component.
Definition: fbcomponent.h:490
FBPropertyTime GhostCustomTime
Read Write Property: Custom time to display ghost, only applicable if ShowGhostClipMode is kFBStoryCl...
Definition: fbstory.h:1022
FBVideo and derivative classes.
FBPropertyTime ShotActionStop
Read Write Property: If not in locked shot mode (time discontinuity enabled), this time can be differ...
Definition: fbstory.h:993
FBPropertyBool GhostTravelling
Read Write Property: Show ghost of clip vector or traveling node
Definition: fbstory.h:1019
FBPropertyBool AcceptKey
Read Write Property: Allow track to accept keys
Definition: fbstory.h:740
FBPropertyStoryFolder RootFolder
Read Only Property: Story&#39;s root folder
Definition: fbstory.h:550
&#39;Reversed, Going Faster&#39; TimeWarp Interpolation
Definition: fbstory.h:254
&#39;Reversed, Slowing Down&#39; TimeWarp Interpolation
Definition: fbstory.h:255
A take is a container for animation in a scene.
Definition: fbdata.h:1692
FBPropertyStoryClipNodeFunction TravellingNodeFunction
Read Write Property: Travelling node function. If set, this property will overwrite the Track&#39;s Trave...
Definition: fbstory.h:1029
Show the ghost at stop time of the clip.
Definition: fbstory.h:150
FBPropertyInt CharacterIndex
Read Write Property: Character&#39;s index to use.
Definition: fbstory.h:747
FBPropertyBool ConnectedToTake
Read Write Property: When connected to current take, user can do updating from current take...
Definition: fbstory.h:1032
FBStoryTrackRefMode
References Modes for story animation tracks.
Definition: fbstory.h:96
FBPropertyAudioClip AudioClip
Read Only Property: The audio clip used by this StoryClip.
Definition: fbstory.h:997
The clip&#39;s match object is not translated to match another clip&#39;s animation.
Definition: fbstory.h:199
Align selected clips to the beginning of the next clip.
Definition: fbstory.h:220
No compensation.
Definition: fbstory.h:178
FBPropertyBool Loaded
Read Write Property: If true, clip file is loaded into memory and can be evaluated (will affect track...
Definition: fbstory.h:1026
FBPropertyString Label
Read Write Property: Label to display for this story folder.
Definition: fbstory.h:593
FBPropertyBool NoneBlockingPostprocess
Read Write Property: If true, record to disk will post process recorded data in low priority thread w...
Definition: fbstory.h:548
List: Story track Details
Definition: fbstory.h:454
FBPropertyTime Stop
Read Write Property: Stop time of the clip local to its track.
Definition: fbstory.h:977
Contains definitions for devices, boxes and models.
FBPropertyDouble Scale
Read Write Property: Animation clip&#39;s scaling (some don&#39;t support this property)
Definition: fbstory.h:1011
FBPropertyVector3d Rotation
Read Write Property: Animation clip&#39;s rotation offset. Refer to class notes to learn more about how t...
Definition: fbstory.h:1013
Story Folder class.
Definition: fbstory.h:571
FBStoryGroupClipAlignmentType
Alignment Types when aligning groups.
Definition: fbstory.h:228
Clip moved.
Definition: fbstory.h:238
FBPropertyTime GhostManipulatorCustomTime
Read Write Property: Custom time to display ghost manipulator, only applicable if GhostManipulatorMod...
Definition: fbstory.h:1031
FBPropertyDouble FrameRate
Read Write Property: Frame rate value. Only effective when UseSystemFrameRate is false.
Definition: fbstory.h:1006
Base class for Cameras.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:148
FBPropertyBool LockedShot
Read Write Property: If true, shots will be locked (no time discontinuity).
Definition: fbstory.h:544
Align selected clips to the beginning of the next clip, all clips will be align to the selected clip ...
Definition: fbstory.h:221
Show the ghost for custom time frame.
Definition: fbstory.h:143
Clip none.
Definition: fbstory.h:237
&#39;Normal&#39; TimeWarp Interpolation
Definition: fbstory.h:248
&#39;Going Faster&#39; TimeWarp Interpolation
Definition: fbstory.h:250
FBPropertyDouble Speed
Read Write Property: Speed of the clip.
Definition: fbstory.h:983
FBPropertyBool Mute
Read Write Property: If true, this story folder will be muted.
Definition: fbstory.h:596
Clip data moved.
Definition: fbstory.h:239
FBPropertyBool Mute
Read Write Property: If true, the Story mode will be globally disabled.
Definition: fbstory.h:543
FBPropertyStoryFolder Parent
Read Only Property: Object pointing to the folder&#39;s parent.
Definition: fbstory.h:598
FBStoryClipChangeType
Types of clip change events, matching KEventClip.eType Expose only kFBStoryClipMoveClip and kFBStoryC...
Definition: fbstory.h:236
FBPropertyListPivot Pivots
List: Pivots models (Generally, only one model is necessary)
Definition: fbstory.h:1025
FBPropertyString ClipNameConvention
Read Write Property: Naming convention for each new recording clip that is created. Can use special tags: <Name> <StartTCValue> <StartFrameValue> <StartDate> <StartTime> <TakeName>
Definition: fbstory.h:723
FBPropertyStoryTrackRefMode ReferenceMode
Read Write Property: Track composition mode, kFBStoryTrackOverride or kFBStoryTrackAdditive ...
Definition: fbstory.h:741
FBPropertyBool Solo
Read Write Property: If true, this track will be the only one to play.
Definition: fbstory.h:721
FBPropertyBool PassThrough
Read Write Property: Enable passthrough of animation if there is no clip on track animation is taken ...
Definition: fbstory.h:743
Animation track.
Definition: fbstory.h:85
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Video track.
Definition: fbstory.h:92
FBPropertyVideo ShotFrontplate
Read Write Property: The frontplate used for that specific shot.
Definition: fbstory.h:989
FBPropertyTime Start
Read Write Property: Start time of the clip.
Definition: fbstory.h:1095
FBPropertyVideo ShotBackplate
Read Write Property: The backplate used for that specific shot.
Definition: fbstory.h:988
List: StoryTrack
Definition: fbstory.h:333
FBPropertyAnimationNode CustomTimeWarp
Read Only Property: Animation and Shot clip&#39;s custom TimeWarp FCurve.
Definition: fbstory.h:1045
Command track.
Definition: fbstory.h:89
Uses the matching translation type stored in the Application configuration file: [Story] > MatchTrans...
Definition: fbstory.h:202
PropertyEvent: Base event class.
Definition: fbproperties.h:507
FBPropertyListObject TravellingNode
List: Travelling node(s). If set, this property will overwrite the Track&#39;s Travelling node(s)...
Definition: fbstory.h:1028
Story Group Clip class.
Definition: fbstory.h:1057
FBPropertyBool GhostTravelling
Read Write Property: Show ghost of clip vector or traveling node
Definition: fbstory.h:737
FBPropertyBool OffsetEnable
Read Write Property: When enabled, allow clip to be offset
Definition: fbstory.h:742
FBPropertyBool LockPitchToSpeed
Read Write Property: Time-stretching enabled or not.
Definition: fbstory.h:1000
Uses the matching translation type stored in the Application configuration file: [Story] > MatchRotat...
Definition: fbstory.h:211
FBPropertyListStoryClip Clips
List: Clips contained in this track.
Definition: fbstory.h:728
FBPropertyVector3d GhostManipulatorOffset
Read Write Property: Animation clip&#39;s ghost manipulator offset.
Definition: fbstory.h:1027
FBStoryClipNodeFunction
Node function.
Definition: fbstory.h:155
Audio track.
Definition: fbstory.h:91
FBPropertyBool SummaryClip
Read Write Property: If true, summary clips for story folders will be created to help manipulating fo...
Definition: fbstory.h:546
FBPropertyTime ShotActionStart
Read Write Property: If not in locked shot mode (time discontinuity enabled), this time can be differ...
Definition: fbstory.h:992
FBStoryTrackGhostShowMode
Ghost Show Modes for story animation tracks.
Definition: fbstory.h:134
FBPropertyString Label
Read Write Property: Label to display for this story track.
Definition: fbstory.h:719
Solve skeleton inverse kinematic animation.
Definition: fbstory.h:166
Show the ghosts only for the previous clip, current clip, and next clip relative to current time...
Definition: fbstory.h:136
FBPropertyTime MarkOut
Read Write Property: Stop time inside the clip.
Definition: fbstory.h:979
List: StoryClip
Definition: fbstory.h:415
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
FBPropertyBool Solo
Read Write Property: If true, this story folder will be the only one to play.
Definition: fbstory.h:595
Rotates a selected clip&#39;s match object to the same orientation as the previous clip&#39;s match object...
Definition: fbstory.h:209
FBStoryClipShowGhostMode
Show Ghost Modes for story animation clips.
Definition: fbstory.h:140
Translates a selected clip&#39;s match object along the global X and Z axes.
Definition: fbstory.h:201
List of scene objects.
Definition: fbcomponent.h:569
FBPropertyTime MarkIn
Read Write Property: Start time inside the clip.
Definition: fbstory.h:978
FBPropertyCharacter Character
Read Write Property: Character to use.
Definition: fbstory.h:746
&#39;Slowing Down&#39; TimeWarp Interpolation
Definition: fbstory.h:251
FBPropertyListStoryDetails Details
List: All objects associated to this track for processing.
Definition: fbstory.h:729
FBPropertyListObject DependentClips
Read Write Property: Clips that are included in the group clip.
Definition: fbstory.h:1098
Matches the start of the selected clip to the previous/next clip at the current time.
Definition: fbstory.h:186
FBPropertyEvent OnChange
Event: Something in the clip has changed. (FBEventClip)
Definition: fbstory.h:1039
&#39;Custom&#39; TimeWarp Interpolation
Definition: fbstory.h:247
class K_DLLIMPORT FBPropertyBase< FBTimeSpan, kFBPT_TimeSpan > FBPropertyTimeSpan
Property: FBTimeSpan
The clip&#39;s match object is not rotated to match another clip&#39;s animation.
Definition: fbstory.h:208
List: StorySubTrack
Definition: fbstory.h:374
Align the clips contained in the group clip to the beginning of the next clip, while keeping the rela...
Definition: fbstory.h:231
FBStoryClipMatchingTimeType
Matching Time Types, when matching clips to each other.
Definition: fbstory.h:184
FBPropertyString ClipAnimationPath
Read Write Property: Animation clip&#39;s file path
Definition: fbstory.h:1010
Project on XZ plane.
Definition: fbstory.h:157
String list.
Definition: fbstring.h:201
#define FBSDKNamespace
FBSDKNamespace define.
Definition: fbversion.h:64
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
Show the ghost at custom time of the clip. See GhostManipulatorCustomTime property.
Definition: fbstory.h:151
FBPropertyBool MirrorAnimation
Read Write Property: If true, clip animation will be mirrored
Definition: fbstory.h:1036
FBStoryClipTimeWarpInterpolatorType
Types of TimeWrap Interpolator for Story Clips.
Definition: fbstory.h:246
Property class: const char * (String).
Basic class definitions.
&#39;Reversed, Smoothed Ends&#39; TimeWarp Interpolation
Definition: fbstory.h:253
FBPropertyString ClipVideoPath
Read Write Property: Video clip&#39;s file path
Definition: fbstory.h:1003
FBPropertyListStorySubTrack SubTracks
List: Only Character and Animation tracks can have sub-tracks.
Definition: fbstory.h:727
Align all selected clips with the current time, while keeping the relative offset.
Definition: fbstory.h:222
&#39;Smoothed Ends&#39; TimeWarp Interpolation
Definition: fbstory.h:249
FBPropertyStoryFolder RootEditFolder
Read Only Property: Story&#39;s root edit folder
Definition: fbstory.h:551
FBPropertyBool GhostModel
Read Write Property: Show ghost of models
Definition: fbstory.h:1018
FBStoryTrackBodyPart
Body Parts for story track character.
Definition: fbstory.h:102
FBPropertyBool ShowEmbeddedTimecode
Read Write Property: Whether to show embedded timecode of the clip, if available. ...
Definition: fbstory.h:1007
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbstory.h:48
FBPropertyListStoryTrack Tracks
List: Tracks of this folder.
Definition: fbstory.h:600
TimeSpan class.
Definition: fbtime.h:383
FBPropertyStoryTrack ParentTrack
Read Only Property: Parent track, if the track is of Character or Animation type. ...
Definition: fbstory.h:726
Model class.
Definition: fbmodel.h:273
Matches the selected clip and the next clip at the middle of the blend.
Definition: fbstory.h:191
Show the ghost only on time cursor.
Definition: fbstory.h:142
Base Event class.
Definition: fbcomponent.h:953
FBPropertyBool ClipsTextsVisible
Read Write Property: If true, clips&#39; texts are visible.
Definition: fbstory.h:549
FBStoryClipCompMode
Compensation Modes for story character clips.
Definition: fbstory.h:177
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
FBPropertyTime Stop
Read Write Property: Stop time of the clip.
Definition: fbstory.h:1096
Align selected clips to the end of the previous clip, all clips will be align to the selected clip po...
Definition: fbstory.h:219
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
Constraint track.
Definition: fbstory.h:88
Solve skeleton animation.
Definition: fbstory.h:164
FBPropertyBool Ghost
Read Write Property: Show ghosts
Definition: fbstory.h:735
Align the clips contained in the group clip to the end of the previous clip, while keeping the relati...
Definition: fbstory.h:230
Solve forward and inverse kinematic animation.
Definition: fbstory.h:165
FBPropertyBool ShotStartStopLocked
Read Write Property: Shot clip&#39;s &#39;In/Out Locked&#39; property value. True if the shot clip&#39;s In/Out prope...
Definition: fbstory.h:994
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Clip UI update.
Definition: fbstory.h:241
FBPropertyStoryFolder ParentFolder
Read Only Property: Parent folder.
Definition: fbstory.h:725
FBStoryClipAlignmentType
Alignment Types when aligning clips.
Definition: fbstory.h:216
FBPropertyDouble ClipPitch
Read Write Property: The clip pitch value.
Definition: fbstory.h:999
Camera animation track.
Definition: fbstory.h:86
FBPropertyStoryClipMirrorPlane MirrorPlane
Read Write Property: Several mirror planes to mirror animation. See FBStoryClipMirrorPlane ...
Definition: fbstory.h:1037
FBPropertyBool UseSystemFrameRate
Read Write Property: Whether always use system frame rate.
Definition: fbstory.h:1005
Story Track class.
Definition: fbstory.h:642
Base class for constraints.
Definition: fbconstraint.h:134
FBPropertyTime Start
Read Write Property: Start time of the clip local to its track.
Definition: fbstory.h:976
FBPropertyVideo TrackVideo
Read Only Property: This FBVideo can be used as a texture.
Definition: fbstory.h:757
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBStoryClipMirrorPlane
Several mirror planes to mirror animation.
Definition: fbstory.h:170
FBStoryTrackType
Types for new story tracks.
Definition: fbstory.h:84
FBPropertyBool TimeWarpEnabled
Read Write Property: Animation and Shot clip&#39;s TimeWarp activeness.
Definition: fbstory.h:1042
FBPropertyStoryClipGhostTimeMode GhostManipulatorMode
Read Write Property: Time mode to display ghost manipulator. See FBStoryClipGhostTimeMode.
Definition: fbstory.h:1030
FBPropertyBool GhostModel
Read Write Property: Show ghost of models
Definition: fbstory.h:736
Automatic compensation.
Definition: fbstory.h:179
FBPropertyTime Offset
Read Write Property: First loop time offset.
Definition: fbstory.h:982
FBPropertyCamera ShotCamera
Read Write Property: The camera used for that specific shot.
Definition: fbstory.h:987
FBPropertyListStoryFolder Childs
List: Children folders of this folder.
Definition: fbstory.h:599
FBPropertyVector3d LoopTranslation
Read Write Property: Animation clip&#39;s loop translation.
Definition: fbstory.h:1014
Align selected clips to the end of the previous clip.
Definition: fbstory.h:218
FBPropertyColor Color
Read Write Property: Color of the clip.
Definition: fbstory.h:975
FBStoryClipMatchingTranslationType
Matching Translation, Types when matching clips to each other.
Definition: fbstory.h:197
&#39;Reversed&#39; TimeWarp Interpolation
Definition: fbstory.h:252
Matches the end of the selected clip to the end of the blend with the previous clip.
Definition: fbstory.h:192
MotionBuilder SDK base class.
Definition: fbcomponent.h:664
FBPropertyBool RecordTrack
Read Write Property: Path for story recording. Can be relative or full path.
Definition: fbstory.h:724
Translates a selected clip&#39;s match object to the same location as the previous clip&#39;s match object...
Definition: fbstory.h:200
Clip move blend.
Definition: fbstory.h:240
User defined compensation.
Definition: fbstory.h:180
class K_DLLIMPORT FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
FBPropertyBool RecordToDisk
Read Write Property: If true, record to story will record directly to disk.
Definition: fbstory.h:547
FBPropertyString ClipAudioPath
Read Write Property: Audio clip&#39;s file path
Definition: fbstory.h:998
FBPropertyBool ImageSequence
Read Write Property: Whether is a image sequence.
Definition: fbstory.h:1004
Shot track.
Definition: fbstory.h:90
FBPropertyAnimationNode PreBlendData
Read Only Property: To get the animation of the Pre blend curve
Definition: fbstory.h:1023
Solve retarget skeleton.
Definition: fbstory.h:163
FBPropertyBool Mute
Read Write Property: If true, this track wont&#39; play.
Definition: fbstory.h:720
Matches the end of the blend with the selected clip to the end of the previous clip.
Definition: fbstory.h:189
FBPropertyBool StartStopLocked
Read Write Property: Clip&#39;s &#39;In/Out Locked&#39; property value. True if the clip&#39;s In/Out properties (sta...
Definition: fbstory.h:1097
Align selected clips to the beginning of the next clip, while keeping the relative offset...
Definition: fbstory.h:224
Show the ghosts for all the clips on the track.
Definition: fbstory.h:135
FBPropertyBool AutoLoop
Read Write Property: If true, clip will automatically loop
Definition: fbstory.h:1015
FBPropertyVector3d Translation
Read Write Property: Animation clip&#39;s translation offset. Refer to class notes to learn more about ho...
Definition: fbstory.h:1012
FBPropertyBool ShowBackplate
Read Write Property: Enable/Disable the shot backplate.
Definition: fbstory.h:990
FBPropertyStoryClipTimeWarpInterpolatorType TimeWarpInterpolatorType
Read Write Property: Animation and Shot clip&#39;s TimeWarp interpolation type. See FBStoryClipTimeWarpIn...
Definition: fbstory.h:1043
FBPropertyBool GhostPivot
Read Write Property: Show ghost of match object
Definition: fbstory.h:1020
Align all selected clips with the current time.
Definition: fbstory.h:217
FBPropertyBool MaintainShotAndClipShotLengthsSynced
Read Write Property: When working in time discontinuity, if true, shots and their corresponding shot ...
Definition: fbstory.h:545
Clip removed.
Definition: fbstory.h:242