Open Reality Reference Guide
fbscene.h
Go to the documentation of this file.
1 #ifndef __FBSCENE_H__
2 #define __FBSCENE_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 
44 #include <kaydaradef.h>
45 #ifndef FBSDK_DLL
46 
49 #define FBSDK_DLL K_DLLIMPORT
50 #endif
51 
52 #include <fbsdk/fbcomponent.h>
53 #include <fbsdk/fbcore.h>
54 #include <fbsdk/fbdata.h>
55 #include <fbsdk/fbfolder.h>
56 #include <fbsdk/fbrenderer.h>
57 #include <fbsdk/fbshader.h>
58 #include <fbsdk/fbmodel.h>
59 #include <fbsdk/fbhud.h>
60 #include <fbsdk/fbcamera.h>
61 #include <fbsdk/fblight.h>
62 #include <fbsdk/fbvideo.h>
63 #include <fbsdk/fbmotion.h>
64 #include <fbsdk/fbgroup.h>
65 #include <fbsdk/fbfilereference.h>
66 #include <fbsdk/fbnamespace.h>
67 #include <fbsdk/fbobjectpose.h>
68 
69 #if !defined(K_NO_CHARACTER)
70 #include <fbsdk/fbcharacter.h>
71 #include <fbsdk/fbcharacterface.h>
72 #include <fbsdk/fbcharacterpose.h>
74 #endif
75 
76 #if !defined(K_NO_DECK)
77 #include <fbsdk/fbdeck.h>
78 #endif
79 
80 #if !defined(K_NO_AUDIO)
81 #include <fbsdk/fbaudio.h>
82 #endif
83 
84 #if !defined(K_NO_MANIPULATOR)
85 #include <fbsdk/fbmanipulator.h>
86 #endif
87 
88 #if !defined(K_NO_NOTE)
89 #include <fbsdk/fbnote.h>
90 #endif
91 
92 #if !defined(K_NO_POSE)
93 #include <fbsdk/fbpose.h>
94 #endif
95 
96 #if !defined(K_NO_STORY)
97 #include <fbsdk/fbcommand.h>
98 #endif
99 
100 #if !defined(K_NO_PROJECTSETTINGS)
101 #include <fbsdk/fbprojectsettings.h>
102 #endif
103 
104 #ifndef FBSDK_LEAN_AND_MEAN
105 #include <fbsdk/fbuserobject.h>
106 #endif
107 
108 #include <fbsdk/fbconstraint.h>
109 #if !defined(K_NO_OPTICAL)
110  #include <fbsdk/fboptical.h>
111 #endif
112 
113 
114 #ifdef FBSDKUseNamespace
115 namespace FBSDKNamespace {;
116 #endif
117 
119 // FBSceneEvent
123 {
162 };
163 
164 FB_DEFINE_ENUM( FBSDK_DLL, SceneChangeType );
165 
167 
176 {
177 public:
181  FBEventSceneChange( HKEventBase pEvent );
182 
183  FBPropertySceneChangeType Type;
186 };
187 
189 // FBEventTakeChange
193 {
194  kFBTakeChangeAdded,
195  kFBTakeChangeRemoved,
196  kFBTakeChangeOpened,
197  kFBTakeChangeClosed,
198  kFBTakeChangeRenamed,
199  kFBTakeChangeUpdated,
200  kFBTakeChangeMoved,
201  kFBTakeChangeNone
202 };
203 
204 FB_DEFINE_ENUM( FBSDK_DLL, TakeChangeType );
205 
207 
216 {
217 public:
218 
222  FBEventTakeChange( HKEventBase pEvent );
223 
224  FBPropertyTakeChangeType Type;
225  FBPropertyTake Take;
226 };
227 
229 // FBSceneList
233 FB_DEFINE_LIST ( FBSDK_DLL, Scene );
234 
238 {
239 private:
240 public:
245  virtual int Add( FBScene* pItem );
249  virtual void RemoveAt( int pIndex );
254  virtual FBScene* operator[](int pIndex);
258  virtual int GetCount();
259 };
260 
262 // FBScene
264 
281 class FBSDK_DLL FBScene : public FBComponent {
283 
284  // We want to disallow the use of the copy constructor and operator for FBScene.
285  FBScene( const FBScene* );
286  FBScene( const FBScene& );
287  FBScene& operator=( const FBScene& );
288 
289 public:
290 
296  FBScene(HIObject pObject);
297 
300  virtual void FBDelete() override;
301 
304  void Clear();
305 
317  bool Evaluate();
318 
323 
328 
332  void GetScriptsPaths( FBStringList& pPathList );
333 
338 
345  int NamespaceGetChildrenList(FBStringList& pNamespaceList, const char* pNamespace = NULL, bool pRecursive = true );
346 
352 
357  FBNamespace* NamespaceGet(const char* pNamespace);
358 
363  bool NamespaceExist(const char* pNamespace);
364 
369  bool NamespaceEmpty(const char* pNamespace);
370 
380  void NamespaceGetContentList(FBComponentList& pContentList, const char* pNamespace, FBPlugModificationFlag pModificationFlags = kFBPlugAllContent, bool pRecursive = true, int pTypeInfo = FBPlug::TypeInfo, bool pExactTypeMatch = false);
381 
391  void NamespaceSelectContent(const char* pNamespace, bool pSelect, FBPlugModificationFlag pModificationFlags = kFBPlugAllContent, bool pRecursive = true, int pTypeInfo = FBPlug::TypeInfo, bool pExactTypeMatch = false);
392 
403  bool NamespaceRename(const char* pNameSpace, const char* pNewNamespace, bool pRecursive = true, int pTypeInfo = FBPlug::TypeInfo, bool pExactTypeMatch = false);
404 
409  bool NamespaceDelete(const char* pNamespace);
410 
418 
429  bool NamespaceDeleteContent(const char* pNamespace, FBPlugModificationFlag pModificationFlags = kFBPlugAllContent, bool pRecursive = true, int pTypeInfo = FBPlug::TypeInfo, bool pExactTypeMatch = false);
430 
437  bool NamespaceImport(const char* pNamespace, const char* pFilePath, bool pAsFileReference = false );
438 
446  bool NamespaceImportToMultiple(const FBStringList& pDstNamespaceList, const char* pFilePath, bool pAsFileReference = false );
447 
454  bool NamespaceExport(const char* pNamespace, const char* pFilePath, bool pASCIIFormat = false);
455 
460 
465 
470 
475 
480 
485 
490 
495 
500 
505 
506 #if !defined(K_NO_NAMESPACE_UPGRADE)
507 
513  bool NamespaceUpgradeToFileReference(const char* pNamespace, const char* pFilePath, bool pASCIIFormat = false);
514 
519  bool NamespaceDowngradeFromFileReference(const char* pNamespace);
520 #endif
521 
522 
524  FBPropertyModel RootModel;
532 
534 #if !defined(K_NO_AUDIO)
536 #endif
537 #if !defined(K_NO_VIDEO)
539 #endif
540 
542 
543 #if !defined(K_NO_FOLDER)
545 #endif
546 
547 #if !defined(K_NO_NOTE)
549 #endif
550 
551 #if !defined(K_NO_POSE)
554 #endif
555 
556 #if !defined(K_NO_ACTOR)
559 #endif
560 
561 #if !defined(K_NO_CHARACTER)
569 #endif
570 
571 #ifndef FB_KERNEL
573 #endif
574 
575 #if !defined(K_NO_PROJECTSETTINGS)
576  FBPropertyProjectSettings ProjectSettings;
577 #endif
578 
579  FBPropertyRenderer Renderer;
585 
586 #ifndef K_NO_UI
588 #endif
589 #ifndef K_NO_HUD
591 #endif
592 
595 
597 
600 #ifndef K_NO_OPTICAL
602 #endif
605 };
606 
607 #ifndef __FB_COMPONENT_SCENE
608 #define __FB_COMPONENT_SCENE
610 #endif
611 
612 
613 #ifdef FBSDKUseNamespace
614 }
615 #endif
616 #endif
617 
FBScene::HUDs
FBPropertyListHUD HUDs
Read Only Property: Heads Up Displays in the scene.
Definition: fbscene.h:590
kFBSceneChangeDeactivate
@ kFBSceneChangeDeactivate
Deactivate.
Definition: fbscene.h:144
FBPropertyListControlSet
PropertyList: MarkerSet.
Definition: fbcharacter.h:1878
FBScene::CharacterPoses
FBPropertyListCharacterPose CharacterPoses
List: Character poses in scene.
Definition: fbscene.h:567
kFBSceneChangeSoftUnselect
@ kFBSceneChangeSoftUnselect
Soft deselection.
Definition: fbscene.h:141
FBScene::ControlSets
FBPropertyListControlSet ControlSets
List: Control set rigs in scene.
Definition: fbscene.h:564
FBScene::Devices
FBPropertyListDevice Devices
List: Devices for scene.
Definition: fbscene.h:530
FBScene::CharacterFaces
FBPropertyListCharacterFace CharacterFaces
List: Character faces in scene.
Definition: fbscene.h:566
FBPropertyListNamespace
List: Namespace
Definition: fbnamespace.h:63
kFBSceneChangeRenameUniquePrefix
@ kFBSceneChangeRenameUniquePrefix
Before object rename unique prefix.
Definition: fbscene.h:135
FBScene::FBDelete
virtual void FBDelete() override
Virtual FBDelete function.
kFBSceneChangeRemoveChild
@ kFBSceneChangeRemoveChild
Child removed.
Definition: fbscene.h:129
FBScene::CleanEmptyGroups
int CleanEmptyGroups()
Remove all empty groups present in the scene.
FBPropertyListDevice
PropertyList: Device
Definition: fbcore.h:567
FBPropertyComponent
class K_DLLIMPORT FBPropertyBaseComponent< FBComponent * > FBPropertyComponent
Property: FBPropertyBaseComponent(FBComponent*)
Definition: fbproperties.h:1362
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
kFBSceneChangeTransactionBegin
@ kFBSceneChangeTransactionBegin
Begin transaction.
Definition: fbscene.h:149
FBScene::ActorFaces
FBPropertyListActorFace ActorFaces
List: ActorFaces in scene.
Definition: fbscene.h:558
kFBSceneChangeReSelect
@ kFBSceneChangeReSelect
Re-selection.
Definition: fbscene.h:153
kFBSceneChangeRenamed
@ kFBSceneChangeRenamed
After object rename.
Definition: fbscene.h:136
FBScene::CleanInactiveConstraints
int CleanInactiveConstraints()
Remove all inactive constraints present in the scene.
FBScene::Deformers
FBPropertyListDeformer Deformers
List: Deformers for scene.
Definition: fbscene.h:529
FBScene::Cameras
FBPropertyListCamera Cameras
List: Cameras in scene.
Definition: fbscene.h:525
FBPropertyListScene::operator[]
virtual FBScene * operator[](int pIndex)
Get the Scene at pIndex.
FBScene::GetScriptsPaths
void GetScriptsPaths(FBStringList &pPathList)
Get paths of all the python scripts object in the scene.
FBScene::FBScene
FBScene(HIObject pObject)
Constructor.
FBScene::NamespaceExist
bool NamespaceExist(const char *pNamespace)
Query if namespace exists.
FBPropertyListCharacterExtension
Character extension property list.
Definition: fbcharacterextension.h:109
FBScene::Materials
FBPropertyListMaterial Materials
List: Materials for scene.
Definition: fbscene.h:526
FBEventSceneChange
Select model event class.
Definition: fbscene.h:176
FBNamespace
Objects Containing class.
Definition: fbnamespace.h:80
fbdata.h
Animation data types.
FBPropertyListMarkerSet
PropertyList: MarkerSet.
Definition: fbcharacter.h:1837
fbcharacterextension.h
Character extension interface for FBSDK.
FBStringList
String list.
Definition: fbstring.h:208
kFBSceneChangeActivate
@ kFBSceneChangeActivate
Activate.
Definition: fbscene.h:143
FBScene::ProjectSettings
FBPropertyProjectSettings ProjectSettings
Read Only Property: Local project settings
Definition: fbscene.h:576
kFBSceneChangeChangedParent
@ kFBSceneChangeChangedParent
Object changed parent.
Definition: fbscene.h:159
FBPropertyListConstraint
PropertyList: Contraint
Definition: fbconstraint.h:350
FBScene::PhysicalProperties
FBPropertyListPhysicalProperties PhysicalProperties
List: PhysicalProperties present in the scene.
Definition: fbscene.h:594
FBScene::NamespaceImportToMultiple
bool NamespaceImportToMultiple(const FBStringList &pDstNamespaceList, const char *pFilePath, bool pAsFileReference=false)
Import file into multiple Namespaces (or as file references)
kFBSceneChangeAddChild
@ kFBSceneChangeAddChild
Child added.
Definition: fbscene.h:128
FBPropertyListTexture
PropertyList: Texture
Definition: fbtexture.h:159
kFBSceneChangeTransactionEnd
@ kFBSceneChangeTransactionEnd
End transaction.
Definition: fbscene.h:150
FBPlugModificationFlag
FBPlugModificationFlag
Definition: fbplug.h:154
FBPlug::TypeInfo
static int TypeInfo
TypeInfo.
Definition: fbplug.h:469
fbpose.h
Access to poses.
FBScene::CharacterMarkerSets
FBPropertyListCharacterMarkerSet CharacterMarkerSets
List: Character marker sets in scene.
Definition: fbscene.h:563
FBPropertyListCharacterFace
PropertyList: Character face.
Definition: fbcharacterface.h:384
FBScene::Handles
FBPropertyListHandle Handles
List: Handles present in the scene.
Definition: fbscene.h:587
kFBSceneChangeLoadBegin
@ kFBSceneChangeLoadBegin
Begin loading file.
Definition: fbscene.h:145
FBPropertyListLight
PropertyList: Light
Definition: fblight.h:141
FBPropertyListGroup
List: Group
Definition: fbgroup.h:68
fbobjectpose.h
Contains definitions for object poses.
FBEventSceneChange::FBEventSceneChange
FBEventSceneChange(HKEventBase pEvent)
Constructor.
FBScene::Groups
FBPropertyListGroup Groups
List: Groups available in the scene.
Definition: fbscene.h:581
kFBSceneChangeReordered
@ kFBSceneChangeReordered
Object reordered.
Definition: fbscene.h:161
fbfilereference.h
FileReference interface for FBSDK.
FBScene::OnTakeChange
FBPropertyEvent OnTakeChange
Event: Something related to a take has happened.(FBEventTakeChange)
Definition: fbscene.h:604
fbaudio.h
Audio interface for FBSDK.
FBPropertyListScene::Add
virtual int Add(FBScene *pItem)
Add a scene to the list.
kFBSceneChangePreParent
@ kFBSceneChangePreParent
Before object parenting.
Definition: fbscene.h:156
FBFileReference
Objects Containing class.
Definition: fbfilereference.h:87
kFBSceneChangeRenamedUniquePrefix
@ kFBSceneChangeRenamedUniquePrefix
After object rename unique prefix.
Definition: fbscene.h:139
FBScene::CleanUnusedAudioClips
int CleanUnusedAudioClips()
Remove all unused audio clips present in the scene.
fbvideo.h
FBVideo and derivative classes.
FBScene::Textures
FBPropertyListTexture Textures
List: Textures for scene.
Definition: fbscene.h:527
kFBSceneChangeClearEnd
@ kFBSceneChangeClearEnd
End clearing file (file new)
Definition: fbscene.h:148
FBScene::ModelSkeletons
FBPropertyListModelSkeleton ModelSkeletons
Read Write Property: Bones (Skeletons) in the scene.
Definition: fbscene.h:599
FBPropertyListVideoClip
PropertyList: VideoClip
Definition: fbvideo.h:496
fbgroup.h
Groups interface for FBSDK.
FBScene::Constraints
FBPropertyListConstraint Constraints
List: Constraints in scene.
Definition: fbscene.h:531
FBScene::CandidateEvaluationAndResolve
bool CandidateEvaluationAndResolve()
Resolving the Candidate.
kFBSceneChangeRename
@ kFBSceneChangeRename
Before object rename.
Definition: fbscene.h:132
FBScene::Namespaces
FBPropertyListNamespace Namespaces
List: Namespace (include FileReference) available in the scene
Definition: fbscene.h:583
FBScene::KeyingGroups
FBPropertyListKeyingGroup KeyingGroups
Read Write Property: Keying Groups in the scene.
Definition: fbscene.h:598
kFBSceneChangeFocus
@ kFBSceneChangeFocus
Object have focus.
Definition: fbscene.h:158
FBScene::CleanUnusedShaders
int CleanUnusedShaders()
Remove all unused shaders present in the scene.
fbmanipulator.h
Create new manipulators using the FBManipulator class.
FBScene::NamespaceGetChildrenList
int NamespaceGetChildrenList(FBStringList &pNamespaceList, const char *pNamespace=NULL, bool pRecursive=true)
Get list of children namespaces in the given namespace.
FBPropertyListScene
PropertyList: Scene.
Definition: fbscene.h:238
FBPropertyListAudioClip
List: AudioClip
Definition: fbaudio.h:408
FBScene::FileReferences
FBPropertyListFileReference FileReferences
List: FileReference available in the scene.
Definition: fbscene.h:584
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbscene.h:49
FBScene::NamespaceEmpty
bool NamespaceEmpty(const char *pNamespace)
Query if namespace is empty.
kFBSceneChangePreUnparent
@ kFBSceneChangePreUnparent
Before object unparenting.
Definition: fbscene.h:157
FBEventSceneChange::Type
FBPropertySceneChangeType Type
Read Only Property: Type of selection event.
Definition: fbscene.h:183
FBPropertyListHandle
PropertyList: Handle.
Definition: fbcore.h:410
fbmodel.h
Base class for Cameras.
FBPropertyListCharacterPose
PropertyList: CharacterPose.
Definition: fbcharacterpose.h:398
FBScene::NamespaceGetContentList
void NamespaceGetContentList(FBComponentList &pContentList, const char *pNamespace, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false)
Get List of the namespace content.
FBEventTakeChange::Type
FBPropertyTakeChangeType Type
Read Only Property: Type of take change event.
Definition: fbscene.h:224
kFBSceneChangeRenameUnique
@ kFBSceneChangeRenameUnique
Before object rename unique.
Definition: fbscene.h:134
kFBSceneChangeHardSelect
@ kFBSceneChangeHardSelect
Hard selection.
Definition: fbscene.h:142
FBScene::FilePath
FBPropertyString FilePath
Read Write Property: File path of the scene.
Definition: fbscene.h:596
kFBSceneChangeClearBegin
@ kFBSceneChangeClearBegin
Begin clearing file (file new)
Definition: fbscene.h:147
FBScene::Poses
FBPropertyListPose Poses
List: Poses in scene.
Definition: fbscene.h:552
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBScene::NamespaceUpgradeToFileReference
bool NamespaceUpgradeToFileReference(const char *pNamespace, const char *pFilePath, bool pASCIIFormat=false)
Upgrade Namespace to FileReference and save the referenced file to disk.
FBEventTakeChange::Take
FBPropertyTake Take
Read Only Property: The take modified.
Definition: fbscene.h:225
FBScene::Clear
void Clear()
Clears the elements part of the scene.
FBScene::Components
FBPropertyListComponent Components
List: Generic List of components.
Definition: fbscene.h:580
__FB_FORWARD
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
fbrenderer.h
Rendering engine.
FBPropertyBaseList
Definition: fbproperties.h:893
FBScene::CleanUnusedMaterials
int CleanUnusedMaterials()
Remove all unused materials present in the scene.
FBEvent
Base Event class.
Definition: fbcomponent.h:940
FBEventTakeChange::FBEventTakeChange
FBEventTakeChange(HKEventBase pEvent)
Constructor.
FBScene::Renderer
FBPropertyRenderer Renderer
Read Only Property: Local renderer.
Definition: fbscene.h:579
kFBSceneChangeDestroy
@ kFBSceneChangeDestroy
Object destroyed.
Definition: fbscene.h:125
FBPropertyListNote
List: Note
Definition: fbnote.h:108
FBScene::ConstraintSolvers
FBPropertyListConstraintSolver ConstraintSolvers
List: Constraint Solvers present in the scene.
Definition: fbscene.h:593
FBScene::NamespaceImport
bool NamespaceImport(const char *pNamespace, const char *pFilePath, bool pAsFileReference=false)
Import file into Namespace (or as file reference)
FBScene::NamespaceGetOwnerFileReference
FBFileReference * NamespaceGetOwnerFileReference(const char *pNamespace)
Get Owner FileReference object if the namespace is originated from File Reference.
FBPropertyListHUD
PropertyList: Handle.
Definition: fbhud.h:367
FBPropertyListMaterial
PropertyList: Material
Definition: fbmaterial.h:180
kFBSceneChangeLoadEnd
@ kFBSceneChangeLoadEnd
End loading file.
Definition: fbscene.h:146
FBScene::UserObjects
FBPropertyListUserObject UserObjects
List: User objects
Definition: fbscene.h:572
FBEventSceneChange::ChildComponent
FBPropertyComponent ChildComponent
Read Only Property: Child component of the event.
Definition: fbscene.h:185
FBScene::MarkerSets
FBPropertyListMarkerSet MarkerSets
List: Marker sets in scene.
Definition: fbscene.h:562
FBScene::Folders
FBPropertyListFolder Folders
List: Folders in scene.
Definition: fbscene.h:544
FBEventTakeChange
Take change event class.
Definition: fbscene.h:216
kFBSceneChangeRenamePrefix
@ kFBSceneChangeRenamePrefix
Before object rename prefix.
Definition: fbscene.h:133
FBPropertyListObjectPose
PropertyList: ObjectPose.
Definition: fbobjectpose.h:476
FBScene::NamespaceRename
bool NamespaceRename(const char *pNameSpace, const char *pNewNamespace, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false)
Rename the namespace.
FBScene::ObjectPoses
FBPropertyListObjectPose ObjectPoses
List: ObjectPoses in scene.
Definition: fbscene.h:553
FBScene::CleanEmptySets
int CleanEmptySets()
Remove all empty sets present in the scene.
fbmotion.h
Motion interface for FBSDK.
kFBSceneChangeReorder
@ kFBSceneChangeReorder
Object reorder.
Definition: fbscene.h:160
fbfolder.h
Folders interface for FBSDK.
FBPropertyEvent
PropertyEvent: Base event class.
Definition: fbproperties.h:515
FBScene::NamespaceCleanup
bool NamespaceCleanup()
Remove all empty namespaces.
FBScene::OnChange
FBPropertyEvent OnChange
Event: Something in the scene has happened.(FBEventSceneChange)
Definition: fbscene.h:603
FBScene::EvaluateDeformations
bool EvaluateDeformations()
Evaluate the deformations of the scene.
FBPropertyListKeyingGroup
PropertyList: KeyingGroup.
Definition: fbkeyinggroup.h:237
kFBSceneChangeUnselect
@ kFBSceneChangeUnselect
Object deselection.
Definition: fbscene.h:131
FBPropertyListSet
List: Set
Definition: fbgroup.h:81
kFBSceneChangeAttach
@ kFBSceneChangeAttach
Object attached.
Definition: fbscene.h:126
kFBSceneChangeMergeTransactionEnd
@ kFBSceneChangeMergeTransactionEnd
End merge transaction.
Definition: fbscene.h:152
FBPropertyListPose
List: Model
Definition: fbpose.h:180
fbcomponent.h
Basic class definitions.
kFBSceneChangeNone
@ kFBSceneChangeNone
Unknown event.
Definition: fbscene.h:124
FB_DEFINE_LIST
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
Definition: fbproperties.h:163
FBPropertyListPhysicalProperties
PropertyList: Physical properties
Definition: fbconstraint.h:689
FBScene::Characters
FBPropertyListCharacter Characters
List: Characters in scene.
Definition: fbscene.h:565
FBScene::NamespaceDeleteContent
bool NamespaceDeleteContent(const char *pNamespace, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false)
Delete the namespace content.
kFBSceneChangeRenamedPrefix
@ kFBSceneChangeRenamedPrefix
After object rename prefix.
Definition: fbscene.h:137
FBPropertyListScene::RemoveAt
virtual void RemoveAt(int pIndex)
Remove the scene at pIndex from list.
FBScene::ModelOpticals
FBPropertyListModelOptical ModelOpticals
Read Write Property: Optical Data in the scene.
Definition: fbscene.h:601
FBPropertyListModelOptical
PropertyList: ModelOptical.
Definition: fboptical.h:645
fbdeck.h
Contains abstract deck class to interface with a deck.
FBEventSceneChange::Component
FBPropertyComponent Component
Read Only Property: Modified component
Definition: fbscene.h:184
FBPropertyListTake
List: Take
Definition: fbdata.h:1589
FBScene::Actors
FBPropertyListActor Actors
List: Actors in scene.
Definition: fbscene.h:557
FBScene::NamespaceSelectContent
void NamespaceSelectContent(const char *pNamespace, bool pSelect, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false)
Select (or de-select) the namespace content.
FBPropertyListComponent
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
fbcharacterface.h
Contains definitions for actor faces and character faces In Development.
fbcore.h
Contains definitions for devices, boxes and models.
FBArrayTemplate
Template class to contain an array of items.
Definition: fbarray.h:78
FBPropertyListShader
PropertyList: Shader
Definition: fbshader.h:693
kFBSceneChangeChangeName
@ kFBSceneChangeChangeName
Object change name.
Definition: fbscene.h:154
FBPropertyListCharacter
PropertyList: Character.
Definition: fbcharacter.h:1922
FB_FORWARD
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
fbcommand.h
Declaration for the FBCommand class.
FBScene::Lights
FBPropertyListLight Lights
List: Lights in scene.
Definition: fbscene.h:533
fbconstraint.h
Contraint classes.
FBPropertyListModelSkeleton
PropertyList: ModelSkeleton.
Definition: fbmodel.h:975
FBScene::AudioClips
FBPropertyListAudioClip AudioClips
List: Audio clips in scene.
Definition: fbscene.h:535
FBPropertyListConstraintSolver
PropertyList: Constraint solver
Definition: fbconstraint.h:611
FBPropertyListDeformer
Definition: fbmodel.h:141
FBPropertyListUserObject
PropertyList: UserObject.
Definition: fbuserobject.h:110
fbhud.h
HUD (Head Up Display)
kFBPlugAllContent
@ kFBPlugAllContent
None Modified.
Definition: fbplug.h:155
FBPropertyListCamera
PropertyList: Camera
Definition: fbcamera.h:451
FBScene::MotionClips
FBPropertyListMotionClip MotionClips
List: Motion clips in scene.
Definition: fbscene.h:541
kFBSceneChangeSoftSelect
@ kFBSceneChangeSoftSelect
Soft selection.
Definition: fbscene.h:140
FB_DEFINE_COMPONENT
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBScene::CleanUnusedVideoClips
int CleanUnusedVideoClips()
Remove all unused video clips present in the scene.
FBPropertyListFolder
PropertyList: Folder
Definition: fbfolder.h:62
FBPropertyListMotionClip
List: MotionClip
Definition: fbmotion.h:92
FBScene::CleanUnusedTextures
int CleanUnusedTextures()
Remove all unused textures present in the scene.
FBScene::CleanEmptyRelationConstraints
int CleanEmptyRelationConstraints()
Remove all empty relation constraints present in the scene.
FBScene::Notes
FBPropertyListNote Notes
List: Notes in scene.
Definition: fbscene.h:548
FBScene::Sets
FBPropertyListSet Sets
List: Sets available in the scene.
Definition: fbscene.h:582
kFBSceneChangeRenamedUnique
@ kFBSceneChangeRenamedUnique
After object rename unique.
Definition: fbscene.h:138
FBPropertyListActor
PropertyList: Actor.
Definition: fbcharacter.h:1896
FBScene::Takes
FBPropertyListTake Takes
List: Takes for scene.
Definition: fbscene.h:523
fboptical.h
Generic optical motion capture device interface.
fbshader.h
Declaration for the classes FBShaderManager, FBShader, FBPropertyListShader and other subclasses.
FBScene
Access to the MotionBuilder scene.
Definition: fbscene.h:281
FBScene::NamespaceGet
FBNamespace * NamespaceGet(const char *pNamespace)
Get Namespace object.
FBScene::NamespaceExport
bool NamespaceExport(const char *pNamespace, const char *pFilePath, bool pASCIIFormat=false)
Export scene content within namespace to file.
FBPropertyString
Property class: const char * (String).
Definition: fbproperties.h:1281
FBPropertyListFileReference
List: FileReference
Definition: fbfilereference.h:70
FBPropertyListCharacterMarkerSet
PropertyList: CharacterMarkerSet.
Definition: fbcharacter.h:1860
fbnote.h
Access to notes.
FBComponent
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
kFBSceneChangeChangedName
@ kFBSceneChangeChangedName
Object changed name.
Definition: fbscene.h:155
FBScene::CleanRelationConstraintsUnusedBoxes
int CleanRelationConstraintsUnusedBoxes()
Remove all unused boxes in relations constraints present in the scene.
FBScene::Evaluate
bool Evaluate()
Evaluate the scene.
kFBSceneChangeSelect
@ kFBSceneChangeSelect
Object selection.
Definition: fbscene.h:130
FBScene::VideoClips
FBPropertyListVideoClip VideoClips
List: Video clips in scene.
Definition: fbscene.h:538
fbcharacter.h
Contains definitions for actors, characters, and marker sets In Development.
FBScene::Shaders
FBPropertyListShader Shaders
List: Shaders for scene.
Definition: fbscene.h:528
FBSceneChangeType
FBSceneChangeType
Types of model selection events.
Definition: fbscene.h:123
FBScene::CharacterExtensions
FBPropertyListCharacterExtension CharacterExtensions
List: Character extensions available in the scene.
Definition: fbscene.h:568
FBScene::NamespaceDowngradeFromFileReference
bool NamespaceDowngradeFromFileReference(const char *pNamespace)
Downgrade FileReference to namespace (won't touch the original referenced file)
FBScene::NamespaceDelete
bool NamespaceDelete(const char *pNamespace)
Delete the namespace & all its content.
FBPropertyListScene::GetCount
virtual int GetCount()
Get the Scene count.
FBScene::RootModel
FBPropertyModel RootModel
Read Only Property: Scene Root model for that scene
Definition: fbscene.h:524
FBTakeChangeType
FBTakeChangeType
Types of take change events.
Definition: fbscene.h:193
kFBSceneChangeMergeTransactionBegin
@ kFBSceneChangeMergeTransactionBegin
Begin merge transaction.
Definition: fbscene.h:151
kFBSceneChangeDetach
@ kFBSceneChangeDetach
Object detached.
Definition: fbscene.h:127
FBPropertyListActorFace
PropertyList: Actor face.
Definition: fbcharacterface.h:365