Open Reality Reference Guide
fbmodel.h
Go to the documentation of this file.
1 #ifndef __FBMODEL_H__
2 #define __FBMODEL_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/fbcore.h>
52 #include <fbsdk/fbcomponent.h>
53 #include <fbsdk/fbshader.h> // FBPropertyListShader
54 #include <fbsdk/fbtexture.h>
55 #include <fbsdk/fbgeometry.h>
56 #include <fbsdk/fbmaterial.h>
57 #include <fbsdk/fbtexture.h>
58 #include <fbsdk/fbmath.h>
59 
60 #ifdef FBSDKUseNamespace
61 namespace FBSDKNamespace {;
62 #endif
63 
67 #define FBStorableCustomModelImplementation(ClassName, Desc)\
68  const char* ClassName::FbxGetObjectSubType(){ return #ClassName; }\
69  HIObject RegisterStorable##ClassName##Create(HIObject /*pOwner*/, const char* pName, void* /*pData*/){\
70  ClassName* Class = new ClassName(pName);\
71  Class->mAllocated = true;\
72  if( Class->FBCreate() ){\
73  __FBRemoveModelFromScene( Class->GetHIObject() ); /* Hack in MoBu2013, we shouldn't add object to the scene/entity automatically*/\
74  return Class->GetHIObject();\
75  } else {\
76  delete Class;\
77  return NULL;}}\
78  FBLibraryModule(ClassName##Storable){\
79  FBString lGroup = "FbxStorable/Model";\
80  FBRegisterObject(ClassName##R2, lGroup, #ClassName, Desc, RegisterStorable##ClassName##Create, true, NULL);\
81  FBSetStoreableCustomModelRegistered();}\
82 
84 FB_DEFINE_COMPONENT( FBSDK_DLL, Cluster );
85 FB_DEFINE_COMPONENT( FBSDK_DLL, ModelVertexData );
86 FB_DEFINE_COMPONENT( FBSDK_DLL, PointCacheFile );
87 
89 // FBPropertyListModel
93 FB_DEFINE_LIST( FBSDK_DLL, Model );
94 
97 {
98 public:
103  int Add ( FBModel* pItem );
104 
109  int Remove ( FBModel* pItem );
110 
114  virtual void RemoveAt( int pIndex );
115 
120  FBModel* operator[](int pIndex);
121 
125  virtual int GetCount();
126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
127  inline virtual FBComponent* GetAt(int pIndex) { return (FBComponent*)operator[](pIndex); }
128 private:
129  inline virtual int Add ( FBComponent* pItem ) { return Add((FBModel*)pItem); }
130  inline virtual int Remove ( FBComponent* pItem ) { return Remove((FBModel*)pItem); }
131 #endif
132 };
133 
135 // FBPropertyListDeformer
139 
141 {
142 public:
150  virtual int Add( FBDeformer* pItem );
155  FBDeformer* operator[](int pIndex);
156 
157 private:
158  inline virtual int Add ( FBComponent* pItem ) { return Add((FBDeformer*)pItem); }
159 };
160 
162 // FBModel
165 
178 };
179 
189 };
190 
195 };
196 
206 };
207 
213 };
214 
219 };
220 
225 };
226 
235 };
236 
237 FB_DEFINE_ENUM( FBSDK_DLL, ModelShadingMode );
238 FB_DEFINE_ENUM( FBSDK_DLL, ModelTransformationType);
239 FB_DEFINE_ENUM( FBSDK_DLL, ModelRotationOrder );
240 
242 
273 class FBSDK_DLL FBModel : public FBBox
274 {
276 public:
281  FBModel(const char* pName, HIObject pObject=NULL);
282  virtual void FBDelete() override;
283 
284  IQuery_Declare (override);
285  ICallback_Declare (override);
286 
288 
302  FBPropertyModel Parent;
303  FBPropertyModel LookAt;
304  FBPropertyModel UpVector;
305  FBPropertyGeometry Geometry;
307  FBPropertyMesh TessellatedMesh;
308  FBPropertyModelVertexData ModelVertexData;
309  FBPropertyCluster Cluster;
310  FBPropertyScene Scene;
311  FBPropertyModelShadingMode ShadingMode;
312  FBPropertyAnimationNode AnimationNode;
313 
314  FBPropertyModelRotationOrder RotationOrder;
315 
316  // Limits
329 
339 
340  // Animatable
346 
350 
352 
357 
361 
366  virtual FBModel* Clone();
367 
375  void SetMatrix(FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo = false, FBEvaluateInfo* pEvaluateInfo=NULL);
376 
383  void GetMatrix(FBMatrix &pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, FBEvaluateInfo* pEvaluateInfo=NULL);
384 
393  void GetLocalTransformationMatrixWithGlobalRotationDoF(FBMatrix &pMatrix, bool pInverse = false, FBEvaluateInfo* pEvaluateInfo = NULL);
394 
402  void SetVector(FBVector3d pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, bool pPushUndo = false, FBEvaluateInfo* pEvaluateInfo=NULL);
403 
410  void GetVector(FBVector3d &pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, FBEvaluateInfo* pEvaluateInfo=NULL);
411 
417  bool IsEvaluationReady(FBModelEvaluationTaskType pWhat, FBEvaluateInfo* pEvaluateInfo=NULL) const;
418 
423  void MatrixToRotation(FBRVector &pRotation, const FBMatrix &pMatrix);
424 
429  void RotationToMatrix( FBMatrix &pMatrix, const FBRVector &pRotation);
430 
437  void LRMToDof(FBRVector &pDof, const FBMatrix &pLM);
438 
445  void DofToLRM(FBMatrix &pLM, const FBRVector &pDof);
446 
451  void SetSchematicPosition(int pX,int pY);
452 
457 
462 
468  void GetBoundingBox( FBVector3d& pMin, FBVector3d& pMax );
469 
480  bool IsVisible(FBEvaluateInfo* pEvaluateInfo = NULL);
481 
486 
490  void SetCullingMode(FBModelCullingMode pCullingMode);
491 
497 
501 
506 
511 
516 
520  virtual bool HasCustomDisplay() { return false; }
521 
529  virtual void CustomModelDisplay( FBCamera* pCamera, FBModelShadingMode pShadingMode, FBModelRenderPass pRenderPass, float pPickingAreaWidth, float pPickingAreaHeight) {}
530 
544  virtual bool CustomModelPicking( int pNbHits, unsigned int *pSelectBuffer, FBCamera* pCamera,
545  int pMouseX,int pMouseY,
546  FBTVector* pLocalRaySrc, FBTVector* pLocalRayDir,
547  FBTVector* pWorldRaySrc, FBTVector* pWorldRayDir,
548  FBMatrix* pGlobalInverseMatrix,
549  FBTVector* pOutPickedPoint) { return false; }
550 
559  virtual bool ClosestRayIntersection(const FBTVector& pRayOrigin, const FBTVector& pRayEnd, FBTVector& pIntersectPos, FBNormal& pIntersectNormal);
560 
564  unsigned char* GetSelectedPoints();
565 
570 
585  bool SetAdditionalUniqueColorIDCount(unsigned int pCount);
586 
590  unsigned int GetAdditionalUniqueColorIDCount() const;
591 
596  FBColor GetAdditionalUniqueColorID(unsigned int pIndex) const;
597 
598  /*
599  * @}
600  */
601 
606  virtual bool FbxStore(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
607  virtual bool FbxRetrieve(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
608 
617 
626  bool RayCast(FBCamera* pCamera, int pMouseX, int pMouseY, FBVector3d& pHitPosition, FBVector3d& pHitNormal);
627 
630  virtual const char* FbxGetObjectType() override;
631 
634  virtual const char* FbxGetObjectSubType() override;
635 
644  void SetMatrixWithPrecision(FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo = false,
645  FBEvaluateInfo* pEvaluateInfo=NULL, double pPrecision = FBMat2EulerDegenerateForPrecision10);
646 
647 
657  unsigned int GetHierarchyWorldMatrices(FBMatrix* pMatricesArray, unsigned int pMatricesArrayCount, FBModelHiercharyTraverserType pHiercharyTraverserType, FBEvaluateInfo* pEvaluateInfo=NULL);
658 
662 
666 
671 
676  virtual bool ManipulatorNotify(FBSelectionAction pAction) { return true; }
677 };
678 
681 
689 
694 
703 FBSDK_DLL FBModel* FBFindModelByLabelName( const char* pModelLabelName );
704 
712 FBSDK_DLL FBModel* FBFindModelByUniqueColorId( const FBColor& pColor, int* pSubItemIndex = NULL );
713 
718 FBSDK_DLL FBModel* FBLoadFbxPrimitivesModel( const char* pModelName );
719 
727 FBSDK_DLL void FBFindModelsOfType( FBModelList& pList, int pTypeInfo, FBModel* pParent=NULL );
728 
738 FBSDK_DLL void FBGetSelectedModels( FBModelList& pList, FBModel* pParent=NULL, bool pSelected=true, bool pSortBySelectOrder = false );
739 
744 
750 
755 
759 
764 
769 
770 
772 // FBModelNull
775 
777 class FBSDK_DLL FBModelNull : public FBModel {
779 public:
784  FBModelNull(const char* pName, HIObject pObject=NULL);
785 
787 
792  virtual bool FbxStore(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
793  virtual bool FbxRetrieve(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
794 
797  virtual const char* FbxGetObjectType() override;
798 
801  virtual const char* FbxGetObjectSubType() override;
802 };
803 
805 // FBModelRoot
808 
810 class FBSDK_DLL FBModelRoot : public FBModel {
812 public:
817  FBModelRoot(const char* pName, HIObject pObject=NULL);
818 
820 };
821 
823 // FBModelMarker
826 
829 {
833 };
834 
837 {
852 };
853 
856 {
861 };
862 
863 FB_DEFINE_ENUM( FBSDK_DLL, MarkerResolutionLevel );
864 FB_DEFINE_ENUM( FBSDK_DLL, MarkerLook );
865 FB_DEFINE_ENUM( FBSDK_DLL, MarkerType );
866 
870 public:
875  FBModelMarker(const char* pName, HIObject pObject=NULL);
876 
879  FBPropertyMarkerResolutionLevel ResLevel;
880  FBPropertyMarkerLook Look;
881  FBPropertyMarkerType Type;
885 
889  void SetFKOpacity(double pValue);
890 
895  virtual bool FbxStore(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
896  virtual bool FbxRetrieve(FBFbxObject* pFbxObject, kFbxObjectStore pStoreWhat) override;
897 
900  virtual const char* FbxGetObjectType() override;
901 
904  virtual const char* FbxGetObjectSubType() override;
905 };
906 
907 
909 // FBModelSkeleton
912 
915 {
926 };
927 
930 {
934 };
935 
936 FB_DEFINE_ENUM( FBSDK_DLL, SkeletonLook );
937 FB_DEFINE_ENUM( FBSDK_DLL, SkeletonResolutionLevel );
938 
942 public:
947  FBModelSkeleton(const char* pName, HIObject pObject=NULL);
948 
952 
953  FBPropertySkeletonLook Look;
954  FBPropertySkeletonResolutionLevel Resolution;
958 
963  void GetSkinModelList(FBModelList& pSkinModelList);
964 };
965 
966 
968 // FBPropertyListModelSkeleton
970 FB_DEFINE_LIST( FBSDK_DLL, ModelSkeleton );
972 
975 {
976 public:
983 };
984 
985 
987 // FBModelCube
990 
992 class FBSDK_DLL FBModelCube : public FBModel {
994 public:
999  FBModelCube(const char* pName, HIObject pObject=NULL);
1000 };
1001 
1003 // FBModelPlane
1006 
1010 public:
1015  FBModelPlane(const char* pName, HIObject pObject=NULL);
1016 };
1017 
1018 
1020 // FBCluster
1027 };
1028 FB_DEFINE_ENUM( FBSDK_DLL, ClusterMode );
1029 
1031 
1037 
1038 protected:
1042  FBCluster(FBModel* pModel);
1043  friend class DataFBModel;
1044 
1045 public:
1046 
1047  //--- Cluster-level operations
1052  int ClusterBegin(int pIndex = -1);
1053 
1057  int ClusterEnd();
1058 
1059  //--- Link-level operations
1064  void LinkSetName(const char *pName, int pLinkNumber);
1069  const char* LinkGetName(int pLinkNumber);
1073  void LinkRemove(int pLinkNumber);
1081  void LinkSetModel(FBModel* pModel);
1086  FBModel* LinkGetModel(int pLinkNumber);
1091  FBModel* LinkGetAssociateModel(int pLinkNumber);
1095  void LinkClearUnused( double pThreshold = -1.0 );
1100  void LinkSetCurrentVertex(int pLinkIndex,int pPointIndex);
1105  int LinkGetVertexIndex(int pIndex);
1106 
1107  //--- Vertex level operations.
1113  void VertexSetTransform(FBVector3d pPosition,FBVector3d pRotation, FBVector3d pScaling);
1119  void VertexGetTransform(FBVector3d& pPosition,FBVector3d& pRotation, FBVector3d& pScaling);
1124  void VertexAdd(int pVertexIndex,double pWeight);
1128  void VertexRemove(int pVertexIndex);
1137  int VertexGetNumber(int pIndex);
1142  double VertexGetWeight(int pIndex);
1147  void VertexSetWeight(double pWeight,int pIndex);
1150  void VertexClear();
1151 
1152  FBPropertyClusterMode ClusterMode;
1154 };
1155 
1157 // FBModelVertexData
1160 
1163 
1164 protected:
1165  FBModelVertexData(FBModel* pModel);
1166  friend class DataFBModel;
1167 
1168 public:
1169 
1174 
1180  bool IsDrawable();
1181 
1186 
1191 
1196 
1201  int GetSubPatchMaterialId(int pSubPatchIndex);
1202 
1207  FBMaterial* GetSubPatchMaterial(int pSubPatchIndex);
1208 
1215  FBGeometryPrimitiveType GetSubPatchPrimitiveType(int pSubPatchIndex, bool* pIsOptimized = NULL);
1216 
1221  int GetSubPatchIndexOffset(int pSubPatchIndex);
1222 
1227  int GetSubPatchIndexSize(int pSubPatchIndex);
1228 
1233  void DrawSubPatch(int pSubPatchIndex, bool pWireFrame = false);
1234 
1236 
1242 
1247 
1252  FBMaterial* GetSubRegionMaterial(int pSubRegionIndex);
1253 
1258  void DrawSubRegion(int pSubRegionIndex, bool pWireFrame = false);
1259 
1261 
1268 
1274 
1279 
1283  void EnableOGLVertexData(bool pAfterDeform = true);
1284 
1287 
1294 
1300 
1310  const int* GetVertexArrayDuplicationMap(unsigned int& pDuplicatedVertexCount);
1311 
1316 
1321 
1325  unsigned int GetIndexArrayVBOId();
1326 
1334 
1361  void* GetVertexArray(FBGeometryArrayID pArrayId, bool pAfterDeform = true);
1362 
1369  unsigned int GetVertexArrayVBOId(FBGeometryArrayID pArrayId, bool pAfterDeform = true);
1370 
1377  void* GetVertexArrayVBOOffset(FBGeometryArrayID pArrayId, bool pAfterDeform = true);
1378 
1380 
1385 
1390  void EnableOGLUVSet(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1391 
1394 
1400  FBGeometryArrayElementType GetUVSetArrayFormat(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1401 
1407  int GetUVSetUVCount(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1408 
1434  void* GetUVSetArray(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1435 
1441  unsigned int GetUVSetVBOId(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1442 
1448  void* GetUVSetVBOOffset(FBTextureMapping pTextureMapping = kFBTextureMappingUV, const char* pUVSet = NULL);
1449 
1451 };
1452 
1454 // FBDeformer
1456 
1468 {
1469  kFBDeformerUnkown,
1470  kFBDeformerSkeleton,
1471  kFBDeformerPointCache
1472 };
1473 
1474 FB_DEFINE_ENUM( FBSDK_DLL, DeformerType );
1475 
1477 
1481 
1482 public:
1487  FBDeformer(const char* pName, HIObject pObject=NULL);
1488 
1489  FBPropertyDeformerType DeformerType;
1490 };
1491 
1493 // FBDeformerPointCache
1496 
1500 
1501 public:
1506  FBDeformerPointCache(const char* pName, HIObject pObject=NULL);
1507 
1508  FBPropertyPointCacheFile PointCacheFile;
1509 
1511 
1514 
1521 };
1522 
1524 // FBPointCacheFile
1527 
1531 
1532 public:
1537  FBPointCacheFile(const char* pName, HIObject pObject=NULL);
1538 
1541 
1548 };
1549 
1550 #ifdef FBSDKUseNamespace
1551 }
1552 #endif
1553 #endif
FBCluster::ClusterEnd
int ClusterEnd()
End cluster definition.
FBModel::Visibility
FBPropertyAnimatableBool Visibility
Read Write Property: Visibility of model. This can be overridden by the 'Show' property.
Definition: fbmodel.h:341
FBPropertyListModelSkeleton::operator[]
FBModelSkeleton * operator[](int pIndex)
Get the ModelSkeleton at pIndex.
kFBMarkerLookHardCross
@ kFBMarkerLookHardCross
Thick cross.
Definition: fbmodel.h:839
kFBMarkerLookRigidGoal
@ kFBMarkerLookRigidGoal
Rigid goal.
Definition: fbmodel.h:849
FBModelVertexData::GetSubPatchMaterialId
int GetSubPatchMaterialId(int pSubPatchIndex)
Return the mapped material ID for the specified sub patch.
kFBMarkerTypeStandard
@ kFBMarkerTypeStandard
Standard.
Definition: fbmodel.h:857
kFBMarkerHighResolution
@ kFBMarkerHighResolution
Highest resolution.
Definition: fbmodel.h:832
FBModel::Deformers
FBPropertyListDeformer Deformers
List: Deformers (Skeleton Deformer or Point Cache Deformer).
Definition: fbmodel.h:292
FBModelVertexData::GetVertexArrayVBOId
unsigned int GetVertexArrayVBOId(FBGeometryArrayID pArrayId, bool pAfterDeform=true)
Return the Vertex Buffer Object (VBO) Id for the specified vertex array Id.
FBModelVertexData::DrawSubPatch
void DrawSubPatch(int pSubPatchIndex, bool pWireFrame=false)
Draw the specified sub patch.
fbmath.h
Contains routines for vector and matrix manipulation.
FBCluster::LinkGetVertexIndex
int LinkGetVertexIndex(int pIndex)
Get current vertex at link.
FBModelHiercharyTraverserType
FBModelHiercharyTraverserType
Types of hierarchy traverser search type.
Definition: fbmodel.h:222
FBVector2d
class K_DLLIMPORT FBVector2< double > FBVector2d
2D vector.
Definition: fbtypes.h:435
FBModelMarker
Model marker class.
Definition: fbmodel.h:868
kFbxObjectStore
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
Definition: fbtypes.h:74
FBModelMarker::IKSync
FBPropertyBool IKSync
Read Write Property: Must sync with IK if true.
Definition: fbmodel.h:884
FBModelMarker::FbxRetrieve
virtual bool FbxRetrieve(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Request additional Unique color IDs.
FBFindModelsOfType
K_DLLIMPORT void FBFindModelsOfType(FBModelList &pList, int pTypeInfo, FBModel *pParent=NULL)
Find all models of a certain type in the scene.
FBVector3< double >
FBModel::Transformable
FBPropertyBool Transformable
Read Write Property: Indicate if a model can be transformable in the viewer. This has a default value...
Definition: fbmodel.h:355
FBModel::SetVector
void SetVector(FBVector3d pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL)
Set a vector for the model.
FBModelVertexData::EnableOGLVertexData
void EnableOGLVertexData(bool pAfterDeform=true)
Enable (Setup) OpenGL Vertex Array (Pos & Normal).
FBLoadFbxPrimitivesModel
K_DLLIMPORT FBModel * FBLoadFbxPrimitivesModel(const char *pModelName)
Load a model.
FBSetLastSelectedModel
K_DLLIMPORT void FBSetLastSelectedModel(FBModel *pModel)
Set the given model as the last one selected, so the manipulator in the viewer will then be on that p...
FBModelVertexData::GetVertexArray
void * GetVertexArray(FBGeometryArrayID pArrayId, bool pAfterDeform=true)
Return the vertex array for the specified vertex array Id.
FBDeformerType
FBDeformerType
Determine the deformer type.
Definition: fbmodel.h:1468
FBModelMarker::FbxStore
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Store and Retrieve function that can be overloaded.
FBDeformerPointCache::ChannelFrameRate
FBPropertyDouble ChannelFrameRate
Read Only Property: Channel FrameRate.
Definition: fbmodel.h:1519
FBModel::QuaternionInterpolate
FBPropertyBool QuaternionInterpolate
Read Write Property: Use quaternion interpolation.
Definition: fbmodel.h:351
FBModel::TranslationMaxZ
FBPropertyBool TranslationMaxZ
Read Write Property: Is model using Translation Limits on Max Z.
Definition: fbmodel.h:338
FBModel::RotationMinY
FBPropertyBool RotationMinY
Read Write Property: Is model using Minimum Rotation Limits On Y?
Definition: fbmodel.h:324
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
kFBMarkerLookStick
@ kFBMarkerLookStick
Box with a sphere on one end.
Definition: fbmodel.h:846
FBDeformerPointCache::ChannelStart
FBPropertyTime ChannelStart
Read Only Property: Channel Start.
Definition: fbmodel.h:1516
FBModel::Rotation
FBPropertyAnimatableVector3d Rotation
Read Write Property: Lcl rotation.
Definition: fbmodel.h:344
FBModel::GetSelectedPointsCount
int GetSelectedPointsCount()
Get the number of selected points in the model.
FBClusterMode
FBClusterMode
Different clustering modes.
Definition: fbmodel.h:1023
kFBModelShadingLight
@ kFBModelShadingLight
Lighted shading.
Definition: fbmodel.h:185
kFBCullingOnCCW
@ kFBCullingOnCCW
Culling with Counter Clock Wise.
Definition: fbmodel.h:211
FBPointCacheFile::ChannelCount
FBPropertyInt ChannelCount
Read Only Property: Channel Count.
Definition: fbmodel.h:1540
FBModelMarker::FBModelMarker
FBModelMarker(const char *pName, HIObject pObject=NULL)
Constructor.
kModelInverse_Rotation
@ kModelInverse_Rotation
Inverse rotation.
Definition: fbmodel.h:174
kFBSkeletonLookCube
@ kFBSkeletonLookCube
Cube.
Definition: fbmodel.h:917
kFBMarkerLookSphere
@ kFBMarkerLookSphere
Sphere.
Definition: fbmodel.h:841
FBModel::GetMatrix
void GetMatrix(FBMatrix &pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, FBEvaluateInfo *pEvaluateInfo=NULL)
Get a matrix from the model.
FBModel::GeometricScaling
FBPropertyVector3d GeometricScaling
Read Write Property: Geometric scaling.
Definition: fbmodel.h:349
kFBManipulatorAdd
@ kFBManipulatorAdd
Add the selected components to the current selection.
Definition: fbmodel.h:230
FBModel::RotationOrder
FBPropertyModelRotationOrder RotationOrder
Read Write Property: Rotation order.
Definition: fbmodel.h:314
FBModel::SetAdditionalUniqueColorIDCount
bool SetAdditionalUniqueColorIDCount(unsigned int pCount)
Request additional Unique color IDs.
FBModelSkeleton::Length
FBPropertyDouble Length
Read Write Property: Length of skeleton node. (Note: Only effective when the look is set to: Capsule)
Definition: fbmodel.h:955
FBModel::VisibilityInheritance
FBPropertyBool VisibilityInheritance
Read Write Property: //!< When this value is set to True the Visibility of this model is also applied...
Definition: fbmodel.h:342
FBModel::UseFrustumCulling
bool UseFrustumCulling()
Get the current Frustum Culling Status.
FBPropertyInt
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Definition: fbproperties.h:1331
FBCluster::LinkGetAssociateModel
FBModel * LinkGetAssociateModel(int pLinkNumber)
Get model associated with link.
FBModelSkeleton::DrawLink
FBPropertyBool DrawLink
Read Write Property: Whether to draw link to parent node or not.
Definition: fbmodel.h:951
FBModel::IQuery_Declare
IQuery_Declare(override)
Interface to IObject.
kFBSkeletonLookBone
@ kFBSkeletonLookBone
Bone.
Definition: fbmodel.h:916
FBDeformer::FBDeformer
FBDeformer(const char *pName, HIObject pObject=NULL)
Constructor.
FBModel::SkeletonDeformable
FBPropertyBool SkeletonDeformable
Read Write Property: Model skeleton deformable. Not Savable
Definition: fbmodel.h:297
FBMarkerResolutionLevel
FBMarkerResolutionLevel
Resolution of marker mesh sphere and capsule (Quality).
Definition: fbmodel.h:829
FBModel::UpVector
FBPropertyModel UpVector
Read Write Property: UpVector model.
Definition: fbmodel.h:304
FBModel::GetHierarchyWorldMatrices
unsigned int GetHierarchyWorldMatrices(FBMatrix *pMatricesArray, unsigned int pMatricesArrayCount, FBModelHiercharyTraverserType pHiercharyTraverserType, FBEvaluateInfo *pEvaluateInfo=NULL)
Computes the global transform matrices between this model and all its children (all levels).
FBModelVertexData::DisableOGLUVSet
void DisableOGLUVSet()
Disable OpenGL UV set array.
FBModel::RayCast
bool RayCast(FBCamera *pCamera, int pMouseX, int pMouseY, FBVector3d &pHitPosition, FBVector3d &pHitNormal)
Ray cast test.
FBCluster::LinkGetModel
FBModel * LinkGetModel(int pLinkNumber)
Get model from a link.
FBBox
A box is a fundamental building block in the application architecture.
Definition: fbcore.h:218
FBDeformerPointCache::ChannelEnd
FBPropertyTime ChannelEnd
Read Only Property: Channel End.
Definition: fbmodel.h:1517
FBModel::GetAdditionalUniqueColorID
FBColor GetAdditionalUniqueColorID(unsigned int pIndex) const
Get Additional Unique Color Id.
kModelInverse_Transformation_Geometry
@ kModelInverse_Transformation_Geometry
Inverse of transformation plus geometry offset.
Definition: fbmodel.h:177
kFBSkeletonLookCapsule
@ kFBSkeletonLookCapsule
Capsule.
Definition: fbmodel.h:921
FBModel::Materials
FBPropertyListMaterial Materials
List: Materials for model.
Definition: fbmodel.h:290
kFBSkeletonLookBox
@ kFBSkeletonLookBox
Box.
Definition: fbmodel.h:922
FBModelVertexData::GetVertexArrayType
FBGeometryArrayElementType GetVertexArrayType(FBGeometryArrayID pArrayId, bool pAfterDeform=true)
Return the vertex array format for the specified array Id.
FBModel::RotationMinX
FBPropertyBool RotationMinX
Read Write Property: Is model using Minimum Rotation Limits On X?
Definition: fbmodel.h:323
FBDeformer::DeformerType
FBPropertyDeformerType DeformerType
Read Only Property: Deformer Type.
Definition: fbmodel.h:1489
FBModel::Icon3D
FBPropertyBool Icon3D
Read Write Property: Is model a 3D icon?
Definition: fbmodel.h:293
FBCluster::VertexSetWeight
void VertexSetWeight(double pWeight, int pIndex)
Set vertex weight.
FBModelVertexData::GetSubPatchCount
int GetSubPatchCount()
Return the number of sub patches.
FBDeformerPointCache
Base Model deformer class.
Definition: fbmodel.h:1498
FBCluster::LinkSetName
void LinkSetName(const char *pName, int pLinkNumber)
Set the name of a link.
FBPropertyListTexture
PropertyList: Texture
Definition: fbtexture.h:159
FBModel::BlendShapeDeformable
FBPropertyBool BlendShapeDeformable
Read Write Property: Model blend-shape deformable. Not Savable
Definition: fbmodel.h:298
FBModelRoot::Size
FBPropertyDouble Size
Read Write Property: Size (not related to scaling).
Definition: fbmodel.h:819
FBModel::TranslationMaxX
FBPropertyBool TranslationMaxX
Read Write Property: Is model using Translation Limits on Max X.
Definition: fbmodel.h:336
FBPointCacheFile::Offset
FBPropertyTime Offset
Read Write Property: Offset.
Definition: fbmodel.h:1545
FBPropertyListComponentBase
PropertyList: Component.
Definition: fbcomponent.h:477
FBCluster::VertexGetNumber
int VertexGetNumber(int pIndex)
Get vertex number.
FBModelRenderPass
FBModelRenderPass
Model Render pass.
Definition: fbmodel.h:192
kFBModelEvaluationDeform
@ kFBModelEvaluationDeform
Model's deformation task (for deformable model)
Definition: fbmodel.h:218
FBPropertyDouble
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
Definition: fbproperties.h:1340
FBModelNull::FbxGetObjectType
virtual const char * FbxGetObjectType() override
Returns the class type inherited by the class of an object, for example: 'Model'.
FBModel::GetVector
void GetVector(FBVector3d &pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, FBEvaluateInfo *pEvaluateInfo=NULL)
Get a vector from the model.
FBModelVertexData::GetUVSetVBOOffset
void * GetUVSetVBOOffset(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Return the UV Set Buffer Object (VBO) offset for the specified texture mapping mode.
FBModelNull::FbxRetrieve
virtual bool FbxRetrieve(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Request additional Unique color IDs.
FBModelVertexData::GetUVSetVBOId
unsigned int GetUVSetVBOId(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Return the UV Set Buffer Object (VBO) Id for the specified texture mapping mode.
FBModelVertexData::IsDrawable
bool IsDrawable()
Queries if this model should be drawn, e.g., in custom render callback.
FBVector4< double >
kFBMarkerLookNone
@ kFBMarkerLookNone
None.
Definition: fbmodel.h:848
FBCluster
Weighting interface for meshes.
Definition: fbmodel.h:1035
kFBEulerXZY
@ kFBEulerXZY
XZY Euler Order.
Definition: fbmodel.h:200
FBModelVertexData::VertexArrayMappingRequest
void VertexArrayMappingRequest()
Request deformed vertex array mapping on CPU.
FBPropertyListModel::Remove
int Remove(FBModel *pItem)
Remove model pItem from property list.
FBCluster::VertexGetCount
int VertexGetCount()
Get the number of vertices.
FBCluster::LinkClearUnused
void LinkClearUnused(double pThreshold=-1.0)
Remove all unused links.
FBDeformerPointCache::ChannelIndex
FBPropertyInt ChannelIndex
Read Write Property: Channel Index.
Definition: fbmodel.h:1512
FBCluster::VertexRemove
void VertexRemove(int pVertexIndex)
Remove a vertex from a cluster.
FBGetLastSelectedModel
K_DLLIMPORT FBModel * FBGetLastSelectedModel()
Get the last selected model, which is the one having the manipulator in the viewer.
FBModelVertexData::GetIndexArray
int * GetIndexArray()
Return the index array.
kFBMarkerLookLightCross
@ kFBMarkerLookLightCross
Wireframe cross.
Definition: fbmodel.h:840
FBModelMarker::Length
FBPropertyDouble Length
Read Write Property: Length for capsule (not related to scaling).
Definition: fbmodel.h:878
kFBEulerZYX
@ kFBEulerZYX
ZYX Euler Order.
Definition: fbmodel.h:204
FBCluster::ClusterMode
FBPropertyClusterMode ClusterMode
Read Write Property: Cluster mode.
Definition: fbmodel.h:1152
FBModel::CustomModelDisplay
virtual void CustomModelDisplay(FBCamera *pCamera, FBModelShadingMode pShadingMode, FBModelRenderPass pRenderPass, float pPickingAreaWidth, float pPickingAreaHeight)
Custom display function, called when HasCustomDisplay returns true;.
Definition: fbmodel.h:529
FBModelEvaluationTaskType
FBModelEvaluationTaskType
Definition: fbmodel.h:215
FBPropertyListModel
List: Model
Definition: fbmodel.h:97
FBCluster::LinkGetName
const char * LinkGetName(int pLinkNumber)
Get the name of a link.
FBCluster::VertexGetWeight
double VertexGetWeight(int pIndex)
Get vertex weight.
FBModelList
class K_DLLIMPORT FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL
Definition: fbmodel.h:680
FBModel::TranslationActive
FBPropertyBool TranslationActive
Read Write Property: Is model using Translation Limits?
Definition: fbmodel.h:330
FBEndChangeAllModels
K_DLLIMPORT void FBEndChangeAllModels()
Call end change to all models (should be first open).
FBNormal
class K_DLLIMPORT FBVector4< float > FBNormal
Normal.
Definition: fbtypes.h:599
FBModel::GetSelectedPoints
unsigned char * GetSelectedPoints()
Get the list of the points selection state.
kModelInverse_Scaling
@ kModelInverse_Scaling
Inverse scaling.
Definition: fbmodel.h:176
kModelInverse_Translation
@ kModelInverse_Translation
Inverse translation.
Definition: fbmodel.h:175
FBModel::LRMToDof
void LRMToDof(FBRVector &pDof, const FBMatrix &pLM)
Convert local matrix to object space vector.
FBModel::FbxRetrieve
virtual bool FbxRetrieve(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Request additional Unique color IDs.
FBPropertyColor
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
Definition: fbproperties.h:1454
FBModelVertexData::GetUVSetArrayFormat
FBGeometryArrayElementType GetUVSetArrayFormat(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Return the UV Set array format.
FBModel::Shaders
FBPropertyListShader Shaders
List: Shaders for model.
Definition: fbmodel.h:289
kFBModelShadingWire
@ kFBModelShadingWire
Wireframe shading.
Definition: fbmodel.h:183
FBModelVertexData::GetIndexArrayVBOId
unsigned int GetIndexArrayVBOId()
Return the index array VBO Id.
FBModel::SetSchematicPosition
void SetSchematicPosition(FBVector2d pVector2d)
Set the position in the schematic view for the model.
kFBCullingOnCW
@ kFBCullingOnCW
Culling with Clock Wise.
Definition: fbmodel.h:212
FBModel::GetCullingMode
FBModelCullingMode GetCullingMode() const
Get Model Culling Mode.
FBModel::Cluster
FBPropertyCluster Cluster
Read Only Property: Link Cluster for the model.
Definition: fbmodel.h:309
FBDeformerPointCache::ChannelPointCount
FBPropertyInt ChannelPointCount
Read Only Property: Channel Point Count.
Definition: fbmodel.h:1520
FBModel::PointCacheRecord
FBPropertyBool PointCacheRecord
Read Write Property: Record Point Cache for model? Not Savable
Definition: fbmodel.h:301
FBModelMarker::SetFKOpacity
void SetFKOpacity(double pValue)
Used when shading the controlset.
fbmaterial.h
Base class for Material.
FBModelVertexData
Definition: fbmodel.h:1161
FBModelMarker::Look
FBPropertyMarkerLook Look
Read Write Property: Look of model marker.
Definition: fbmodel.h:880
kFBSkeletonHighResolution
@ kFBSkeletonHighResolution
Highest resolution.
Definition: fbmodel.h:933
FBPropertyListDeformer::operator[]
FBDeformer * operator[](int pIndex)
Get the texture at a specific index.
FBModel::SetMatrix
void SetMatrix(FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL)
Set a matrix for the model.
FBDeformerPointCache::Active
FBPropertyBool Active
Read Write Property: Active.
Definition: fbmodel.h:1510
FBPropertyAnimatableVector3d
class K_DLLIMPORT FBPropertyBaseAnimatable< FBVector3d, kFBPT_Vector3D > FBPropertyAnimatableVector3d
FBPropertyAnimatableVector3D type definition.
Definition: fbproperties.h:1768
kFBEulerYXZ
@ kFBEulerYXZ
YXZ Euler Order.
Definition: fbmodel.h:202
kFBModelEvaluationTransform
@ kFBModelEvaluationTransform
Model's transformation evaluation task (Global )
Definition: fbmodel.h:216
FBModel::GetBoundingBox
void GetBoundingBox(FBVector3d &pMin, FBVector3d &pMax)
Get the bounding box of the model.
FBModelVertexData::GetUVSetArray
void * GetUVSetArray(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Return the UV Set array for the specified texture mapping mode.
FBModel::IsDeformable
FBPropertyBool IsDeformable
Read Only Property: Is model deformable?
Definition: fbmodel.h:295
FBModelVertexData::GetSubPatchPrimitiveType
FBGeometryPrimitiveType GetSubPatchPrimitiveType(int pSubPatchIndex, bool *pIsOptimized=NULL)
Return the primitive type for the specified sub patch.
FBModel::AnimationNode
FBPropertyAnimationNode AnimationNode
Read Only Property: Animation node of the model.
Definition: fbmodel.h:312
FBModel::GetAdditionalUniqueColorIDCount
unsigned int GetAdditionalUniqueColorIDCount() const
Get additional unique color count.
FBSelectionAction
FBSelectionAction
Selection mode when selecting component.
Definition: fbmodel.h:228
kFBEulerZXY
@ kFBEulerZXY
ZXY Euler Order.
Definition: fbmodel.h:203
FBModel::FBDelete
virtual void FBDelete() override
Open Reality deletion function.
FBPointCacheFile::FreeRunning
FBPropertyBool FreeRunning
Read Write Property: Free Running.
Definition: fbmodel.h:1546
kFBMarkerLookSquare
@ kFBMarkerLookSquare
Square.
Definition: fbmodel.h:843
FBModel::RotationMaxZ
FBPropertyBool RotationMaxZ
Read Write Property: Is model using Maximum Rotation Limits On Z?
Definition: fbmodel.h:328
FBModel::NoFrustumCullingRelease
int NoFrustumCullingRelease()
Release no frustum culling request.
FBModelVertexData::DrawSubRegion
void DrawSubRegion(int pSubRegionIndex, bool pWireFrame=false)
Draw the specified sub region.
FBModel::SetCullingMode
void SetCullingMode(FBModelCullingMode pCullingMode)
Set Model Cullin Mode.
kFBMarkerTypeFKEffector
@ kFBMarkerTypeFKEffector
FK effector.
Definition: fbmodel.h:859
FBModel::ReceiveShadows
FBPropertyBool ReceiveShadows
Read Write Property: If true, the geometry will receive shadows.
Definition: fbmodel.h:360
FBModelCube
Cube model class.
Definition: fbmodel.h:992
FBFindModelByLabelName
K_DLLIMPORT FBModel * FBFindModelByLabelName(const char *pModelLabelName)
Find a model in the scene by its label name.
FBModelMarker::Size
FBPropertyDouble Size
Read Write Property: Size (not related to scaling).
Definition: fbmodel.h:877
FBModelVertexData::GetSubRegionMaterial
FBMaterial * GetSubRegionMaterial(int pSubRegionIndex)
Return the specified sub region's material.
FBModel::ForceAlwaysEvaluate
void ForceAlwaysEvaluate()
Force Always Evaluate.
FBModelSkeleton::FBModelSkeleton
FBModelSkeleton(const char *pName, HIObject pObject=NULL)
Constructor.
kFBMarkerLookCapsule
@ kFBMarkerLookCapsule
Capsule.
Definition: fbmodel.h:842
FBCluster::VertexSetTransform
void VertexSetTransform(FBVector3d pPosition, FBVector3d pRotation, FBVector3d pScaling)
Set transform of a cluster set.
FBModelSkeleton::Look
FBPropertySkeletonLook Look
Read Write Property: Look of skeleton node.
Definition: fbmodel.h:953
FBPropertyTime
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
Definition: fbproperties.h:1346
FBModel::Scaling
FBPropertyAnimatableVector3d Scaling
Read Write Property: Lcl scaling.
Definition: fbmodel.h:345
kFBSkeletonLookSphere
@ kFBSkeletonLookSphere
Sphere.
Definition: fbmodel.h:920
FBModelVertexData::VertexArrayMappingRelease
void VertexArrayMappingRelease()
Release deformed vertex array mapping on CPU.
FBModelVertexData::GetSubPatchIndexOffset
int GetSubPatchIndexOffset(int pSubPatchIndex)
Return the start offset of the indexes for the specified sub patch (see GetIndexArray()).
FBCreateModelList
K_DLLIMPORT FBModelList * FBCreateModelList()
Create a FBModelList object.
FBModel::DofToLRM
void DofToLRM(FBMatrix &pLM, const FBRVector &pDof)
Convert object space vector to local matrix.
__FBClassDeclare
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
FBCluster::LinkSetModel
void LinkSetModel(FBModel *pModel)
Set model to a link.
kFBSkeletonLookLightCross
@ kFBSkeletonLookLightCross
Wireframe cross.
Definition: fbmodel.h:919
FBModel::PreRotation
FBPropertyVector3d PreRotation
Read Write Property: Pre Rotation (considered if RotationActive is true)
Definition: fbmodel.h:319
kFBModelShadingDefault
@ kFBModelShadingDefault
Default shading.
Definition: fbmodel.h:182
FBModel::FbxGetObjectSubType
virtual const char * FbxGetObjectSubType() override
Returns the class sub type inherited by the class of an object, for example: 'Default',...
FBModel::Translation
FBPropertyAnimatableVector3d Translation
Read Write Property: Lcl translation.
Definition: fbmodel.h:343
kModelTransformation
@ kModelTransformation
Transformation.
Definition: fbmodel.h:168
FBModel::Geometry
FBPropertyGeometry Geometry
Read Write Property: Geometry for the model.
Definition: fbmodel.h:305
FBModelMarker::IKPivot
FBPropertyVector3d IKPivot
Read Write Property: marker Pivot Offset.
Definition: fbmodel.h:883
FBModelNull::Size
FBPropertyDouble Size
Read Write Property: Size (not related to scaling).
Definition: fbmodel.h:786
FBDeformerPointCache::ChannelName
FBPropertyString ChannelName
Read Only Property: Channel Name.
Definition: fbmodel.h:1513
FBModelSkeleton::GetSkinModelList
void GetSkinModelList(FBModelList &pSkinModelList)
Return the list of skin model associated with this Skeleton(Bone), which could be the deformable skin...
kFBModelEvaluationBBox
@ kFBModelEvaluationBBox
Model's bouding box computation task (approximately for deformable model)
Definition: fbmodel.h:217
FBModelRoot::FBModelRoot
FBModelRoot(const char *pName, HIObject pObject=NULL)
Constructor.
FBCluster::LinkSetCurrentVertex
void LinkSetCurrentVertex(int pLinkIndex, int pPointIndex)
Link at current vertex.
kFBSkeletonLookSquare
@ kFBSkeletonLookSquare
Square.
Definition: fbmodel.h:924
FBModel::RotationMax
FBPropertyVector3d RotationMax
Read Write Property: Max Rotation Limit (considered if RotationActive is true)
Definition: fbmodel.h:322
fbgeometry.h
Base class for Geometry.
kFBModelShadingHard
@ kFBModelShadingHard
Hard shading.
Definition: fbmodel.h:186
FBModel::PostRotation
FBPropertyVector3d PostRotation
Read Write Property: Post Rotation (considered if RotationActive is true)
Definition: fbmodel.h:320
FBPropertyVector3d
class K_DLLIMPORT FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
Definition: fbproperties.h:1469
FBModel::ICallback_Declare
ICallback_Declare(override)
Interface to ICallback.
FBModelVertexData::DisableOGLVertexData
void DisableOGLVertexData()
Disable OpenGL Vertex Array (Pos & Normal).
kFBSkeletonLookHardCross
@ kFBSkeletonLookHardCross
Thick cross.
Definition: fbmodel.h:918
kFBMarkerLookCube
@ kFBMarkerLookCube
Cube.
Definition: fbmodel.h:838
FBModel::RotationMaxX
FBPropertyBool RotationMaxX
Read Write Property: Is model using Maximum Rotation Limits On X?
Definition: fbmodel.h:326
FBMarkerLook
FBMarkerLook
Look of the marker.
Definition: fbmodel.h:837
kFBClusterTotal100
@ kFBClusterTotal100
The balanced values will add up to 100 percent.
Definition: fbmodel.h:1026
FBModel::RotationMaxY
FBPropertyBool RotationMaxY
Read Write Property: Is model using Maximum Rotation Limits On Y?
Definition: fbmodel.h:327
FBModelSkeleton::Size
FBPropertyDouble Size
Read Write Property: Size (not related to scaling).
Definition: fbmodel.h:949
FBModel::RotationSpaceForLimitOnly
FBPropertyBool RotationSpaceForLimitOnly
Read Write Property: Apply Post Rotation Matrix only for Limits?
Definition: fbmodel.h:317
FBCluster::VertexGetTransform
void VertexGetTransform(FBVector3d &pPosition, FBVector3d &pRotation, FBVector3d &pScaling)
Get transform of a cluster set.
FBModelVertexData::PushZDepthClipOverride
void PushZDepthClipOverride()
Disables Z-Depth clip plane if this model is selected using Z-Depth HideFront selection tool.
FBModelVertexData::GetUVSetUVCount
int GetUVSetUVCount(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Return the number of UVs in the UV Set for the specified texture mapping mode.
kFBSkeletonLowResolution
@ kFBSkeletonLowResolution
Lowest resolution.
Definition: fbmodel.h:931
FBModelSkeleton::Resolution
FBPropertySkeletonResolutionLevel Resolution
Read Write Property: Resolution of skeleton node. (Note: Only effective when the look is set to: Sphe...
Definition: fbmodel.h:954
FBModel::FBModel
FBModel(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyListMaterial
PropertyList: Material
Definition: fbmaterial.h:180
FBPointCacheFile::PlaySpeed
FBPropertyDouble PlaySpeed
Read Write Property: Play Speed.
Definition: fbmodel.h:1544
FBMarkerType
FBMarkerType
Type of the marker.
Definition: fbmodel.h:856
kFBModelRenderPassPick
@ kFBModelRenderPassPick
Pick pass.
Definition: fbmodel.h:194
kFBModelShadingTexture
@ kFBModelShadingTexture
Textured shading.
Definition: fbmodel.h:187
kFBModelRenderPassStandard
@ kFBModelRenderPassStandard
Standard pass.
Definition: fbmodel.h:193
FBModel::Textures
FBPropertyListTexture Textures
List: Textures with Special UseType (Other than "Color" which should connect to materials).
Definition: fbmodel.h:291
FBModel::GeometricTranslation
FBPropertyVector3d GeometricTranslation
Read Write Property: Geometric translation.
Definition: fbmodel.h:347
FBPointCacheFile::StartTime
FBPropertyTime StartTime
Read Write Property: Start Time.
Definition: fbmodel.h:1542
FBFindModelByUniqueColorId
K_DLLIMPORT FBModel * FBFindModelByUniqueColorId(const FBColor &pColor, int *pSubItemIndex=NULL)
Find a model in the scene by its unique color id.
FBModel::Pickable
FBPropertyBool Pickable
Read Write Property: Indicate if a model can be picked in the viewer. This has a default value of 'tr...
Definition: fbmodel.h:354
FBModel::RotationMinZ
FBPropertyBool RotationMinZ
Read Write Property: Is model using Minimum Rotation Limits On Z?
Definition: fbmodel.h:325
kFBMarkerLookRotationGoal
@ kFBMarkerLookRotationGoal
Rotation goal.
Definition: fbmodel.h:850
FBMatrix
Four x Four (double) Matrix.
Definition: fbtypes.h:290
FBModelPlane
Plane model class.
Definition: fbmodel.h:1008
kFBSkeletonLookStick
@ kFBSkeletonLookStick
Box with a sphere on one end.
Definition: fbmodel.h:925
FBModelVertexData::GetVertexArrayVBOOffset
void * GetVertexArrayVBOOffset(FBGeometryArrayID pArrayId, bool pAfterDeform=true)
Return the Vertex Buffer Object (VBO) offset for the specified vertex array Id.
FBCluster::FBCluster
FBCluster(FBModel *pModel)
Constructor.
FBCluster::ClusterBegin
int ClusterBegin(int pIndex=-1)
Begin cluster definition.
FBGeometryArrayElementType
FBGeometryArrayElementType
Type of data when requesting an array.
Definition: fbgeometry.h:86
FBModel::RotationMin
FBPropertyVector3d RotationMin
Read Write Property: Min Rotation Limit (considered if RotationActive is true)
Definition: fbmodel.h:321
FBModelTransactionEnd
K_DLLIMPORT void FBModelTransactionEnd()
FBModelTransactionEnd.
FBModelTransformationType
FBModelTransformationType
Types of transformation vector/matrices possible.
Definition: fbmodel.h:167
FBPropertyListModel::operator[]
FBModel * operator[](int pIndex)
Get the model at pIndex.
FBModel::IsCollapsedInSchematic
bool IsCollapsedInSchematic() const
Returns if the model is collapsed or not (expanded) in the schematic view.
FBModelVertexData::EnableOGLUVSet
void EnableOGLUVSet(FBTextureMapping pTextureMapping=kFBTextureMappingUV, const char *pUVSet=NULL)
Enable (Setup) OpenGL UV set array.
FBModel::TranslationMinX
FBPropertyBool TranslationMinX
Read Write Property: Is model using Translation Limits on Min X.
Definition: fbmodel.h:333
kFBClusterNormalize
@ kFBClusterNormalize
Normalize (values between 0.0 and 1.0 )
Definition: fbmodel.h:1024
FBModel::TranslationMax
FBPropertyVector3d TranslationMax
Read Write Property: Translation Limit Max.
Definition: fbmodel.h:332
kFBClusterAdditive
@ kFBClusterAdditive
Add the values together.
Definition: fbmodel.h:1025
FBModelList
class K_DLLIMPORT FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate<FBModel*> FBModelList;
Definition: fbcharacter.h:597
FBModelVertexData::GetSubPatchMaterial
FBMaterial * GetSubPatchMaterial(int pSubPatchIndex)
Return the mapped material for the specified sub patch.
FBCluster::LinkRemove
void LinkRemove(int pLinkNumber)
Remove a link.
kFBModelShadingFlat
@ kFBModelShadingFlat
Flat shading.
Definition: fbmodel.h:184
kFBCullingOff
@ kFBCullingOff
Culling Off.
Definition: fbmodel.h:210
FBModel::SoftSelected
FBPropertyBool SoftSelected
Read Write Property: Is model Soft selected?
Definition: fbmodel.h:294
FBModel::ModelVertexData
FBPropertyModelVertexData ModelVertexData
Read Only Property: ModelVertexData for the model.
Definition: fbmodel.h:308
FBModel::ManipulatorNotify
virtual bool ManipulatorNotify(FBSelectionAction pAction)
Callback for component selection in custom FBModel.
Definition: fbmodel.h:676
FBModel::IsVisible
bool IsVisible(FBEvaluateInfo *pEvaluateInfo=NULL)
If the model is visible.
FBGetSelectedModels
K_DLLIMPORT void FBGetSelectedModels(FBModelList &pList, FBModel *pParent=NULL, bool pSelected=true, bool pSortBySelectOrder=false)
Find all models that are selected (if pSelected is true) Searches recursively from a root model for m...
kFBManipulatorRemove
@ kFBManipulatorRemove
Remove the selected components from the current selection.
Definition: fbmodel.h:231
FBModelCube::FBModelCube
FBModelCube(const char *pName, HIObject pObject=NULL)
Constructor.
FBModelSkeleton::Color
FBPropertyColor Color
Read Write Property: Color of skeleton node.
Definition: fbmodel.h:950
FBModelTransactionBegin
K_DLLIMPORT void FBModelTransactionBegin()
FBModelTransactionBegin.
FBModelVertexData::PopZDepthClipOverride
void PopZDepthClipOverride()
Re-enables Z-Depth clip plane if it had been disabled via PushZDepthClipOverride().
FBModel::HasCustomDisplay
virtual bool HasCustomDisplay()
Function to overload to handle custom display.
Definition: fbmodel.h:520
FBModelVertexData::IsDeformable
bool IsDeformable()
Return true if the model is deformable.
FBPropertyBool
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
Definition: fbproperties.h:1308
FBModel::Scene
FBPropertyScene Scene
Read Only Property: Scene containing the model.
Definition: fbmodel.h:310
FBPointCacheFile::CacheFileName
FBPropertyString CacheFileName
Read Write Property: Filename of media.
Definition: fbmodel.h:1539
FBModelPlane::FBModelPlane
FBModelPlane(const char *pName, HIObject pObject=NULL)
Constructor.
FBPointCacheFile::Loop
FBPropertyBool Loop
Read Write Property: Loop.
Definition: fbmodel.h:1547
kFBSphericXYZ
@ kFBSphericXYZ
Spheric XYZ Order.
Definition: fbmodel.h:205
FBModelMarker::Type
FBPropertyMarkerType Type
Read Write Property: Type of model marker.
Definition: fbmodel.h:881
fbcomponent.h
Basic class definitions.
FBModel::PointCacheDeformable
FBPropertyBool PointCacheDeformable
Read Write Property: Model point cache deformable. Not Savable
Definition: fbmodel.h:300
FBDeformerPointCache::FBDeformerPointCache
FBDeformerPointCache(const char *pName, HIObject pObject=NULL)
Constructor.
FBModelSkeleton::LinkFollowGeometryOffset
FBPropertyBool LinkFollowGeometryOffset
Read Write Property: Whether link to parent node must follow skeleton node or not,...
Definition: fbmodel.h:956
FBModelNull
Null object class.
Definition: fbmodel.h:777
FBModelSkeleton
Root object class.
Definition: fbmodel.h:940
FBModelRotationOrder
FBModelRotationOrder
Ways to apply Rotation.
Definition: fbmodel.h:198
FBDeformerPointCache::ChannelCount
FBPropertyInt ChannelCount
Read Only Property: Channel Count.
Definition: fbmodel.h:1515
FBModelCullingMode
FBModelCullingMode
Model Culling Mode.
Definition: fbmodel.h:209
FBDeformer
Base Model deformer class.
Definition: fbmodel.h:1479
FBModelNull::FBModelNull
FBModelNull(const char *pName, HIObject pObject=NULL)
Constructor.
FB_DEFINE_LIST
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
Definition: fbproperties.h:163
FBModel::ExpandInSchematic
void ExpandInSchematic()
Expand the model in the schematic view.
FBModel::Show
FBPropertyBool Show
Read Write Property: Indicate if the viewer should show the object, according to its visibility value...
Definition: fbmodel.h:353
FBModel::TranslationMaxY
FBPropertyBool TranslationMaxY
Read Write Property: Is model using Translation Limits on Max Y.
Definition: fbmodel.h:337
kFBEulerXYZ
@ kFBEulerXYZ
XYZ Euler Order.
Definition: fbmodel.h:199
kModelInverse_Transformation
@ kModelInverse_Transformation
Inverse transformation.
Definition: fbmodel.h:173
kModelTransformation_Geometry
@ kModelTransformation_Geometry
Transformation plus geometry offset
Definition: fbmodel.h:172
FBBeginChangeAllModels
K_DLLIMPORT void FBBeginChangeAllModels()
Call begin change to all models (need to be closed).
kModelScaling
@ kModelScaling
Scaling.
Definition: fbmodel.h:171
FBMaterial
Material class.
Definition: fbmaterial.h:87
kFBEulerYZX
@ kFBEulerYZX
YZX Euler Order.
Definition: fbmodel.h:201
FBPointCacheFile::FBPointCacheFile
FBPointCacheFile(const char *pName, HIObject pObject=NULL)
Constructor.
FBPropertyListComponent
PropertyList: Concrete class for PropertyList of component
Definition: fbcomponent.h:536
FBPropertyListModel::Add
int Add(FBModel *pItem)
Add a model to the property list.
FBModel::GetSchematicPosition
FBVector2d GetSchematicPosition()
Get the position in the schematic view for the model.
FBModel::GeometryUpdateId
FBPropertyInt GeometryUpdateId
Read Only Property: model geometry (vertex data) related update id.
Definition: fbmodel.h:306
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
kFBMarkerLookAimRollGoal
@ kFBMarkerLookAimRollGoal
Aim & Roll goal.
Definition: fbmodel.h:851
kModelTraverserDepthFirst
@ kModelTraverserDepthFirst
Depth-first search.
Definition: fbmodel.h:223
FBModel::FbxStore
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Store and Retrieve function that can be overloaded.
FBModel::SetupPropertiesForShapes
void SetupPropertiesForShapes()
Setup Shape Properties.
FBModel::Clone
virtual FBModel * Clone()
Clone the model.
FBDestroyModelList
K_DLLIMPORT void FBDestroyModelList(FBModelList *pModelList)
Delete a FBModelList object.
FB_FORWARD
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
kFBMarkerMediumResolution
@ kFBMarkerMediumResolution
Medium resolution.
Definition: fbmodel.h:831
FBColor
Color vector.
Definition: fbtypes.h:448
FBPropertyListModel::RemoveAt
virtual void RemoveAt(int pIndex)
Remove the model at pIndex.
kFBSkeletonMediumResolution
@ kFBSkeletonMediumResolution
Medium resolution.
Definition: fbmodel.h:932
FBModelSkeleton::PreserveLinkEndPosition
FBPropertyBool PreserveLinkEndPosition
Read Write Property: Whether skeleton node must preserve its links' end position to children nodes,...
Definition: fbmodel.h:957
FBPropertyListModelSkeleton
PropertyList: ModelSkeleton.
Definition: fbmodel.h:975
FBModel::GetLocalTransformationMatrixWithGlobalRotationDoF
void GetLocalTransformationMatrixWithGlobalRotationDoF(FBMatrix &pMatrix, bool pInverse=false, FBEvaluateInfo *pEvaluateInfo=NULL)
Get the local transformation (or local inverse transformation) matrix with the global Rotation DoF va...
FBPropertyListDeformer
Definition: fbmodel.h:141
FBSkeletonLook
FBSkeletonLook
Look of the skeleton.
Definition: fbmodel.h:915
FBModelMarker::Color
FBPropertyColor Color
Read Write Property: Color of model marker.
Definition: fbmodel.h:882
FBDeformerPointCache::ChannelSampleRegular
FBPropertyBool ChannelSampleRegular
Read Only Property: Channel Sample Regular.
Definition: fbmodel.h:1518
FBModel::SetMatrixWithPrecision
void SetMatrixWithPrecision(FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL, double pPrecision=FBMat2EulerDegenerateForPrecision10)
Set a matrix for the model.
FBDeformerPointCache::PointCacheFile
FBPropertyPointCacheFile PointCacheFile
Read Write Property: Point Cache File Object.
Definition: fbmodel.h:1508
FBModel::RotationToMatrix
void RotationToMatrix(FBMatrix &pMatrix, const FBRVector &pRotation)
Convert Euler Vector to Rotation Matrix based on model's rotation order.
FBModel::NoFrustumCullingRequire
int NoFrustumCullingRequire()
Acquire no frustum culling request.
kModelTraverserBreadthFirst
@ kModelTraverserBreadthFirst
Breadth-first search.
Definition: fbmodel.h:224
FBModel::TranslationMinY
FBPropertyBool TranslationMinY
Read Write Property: Is model using Translation Limits on Min Y.
Definition: fbmodel.h:334
FBModelMarker::ResLevel
FBPropertyMarkerResolutionLevel ResLevel
Read Write Property: Resolution level of model marker.
Definition: fbmodel.h:879
kFBManipulatorReplace
@ kFBManipulatorReplace
Replaces the current selection by the new selected components.
Definition: fbmodel.h:229
FBPropertyListModel::GetCount
virtual int GetCount()
Get the number of models.
FBModel::IsEvaluationReady
bool IsEvaluationReady(FBModelEvaluationTaskType pWhat, FBEvaluateInfo *pEvaluateInfo=NULL) const
Is the model's evaluation task result ready.
FB_DEFINE_COMPONENT
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBCluster::VertexClear
void VertexClear()
Clear all linked vertices.
kModelTranslation
@ kModelTranslation
Translation.
Definition: fbmodel.h:170
FBModel::ShadingMode
FBPropertyModelShadingMode ShadingMode
Read Write Property: Shading mode for the model.
Definition: fbmodel.h:311
__FBClassDeclareGroup
#define __FBClassDeclareGroup(Name, Parent)
For internal use only.
Definition: fbcomponent.h:155
FBModelRoot
Root object class.
Definition: fbmodel.h:810
FBGeometryArrayID
FBGeometryArrayID
ID to use when requesting a specific array of data for a model.
Definition: fbgeometry.h:77
FBModel::LookAt
FBPropertyModel LookAt
Read Write Property: Look at model (interest point).
Definition: fbmodel.h:303
FBModel::ConstrainDeformable
FBPropertyBool ConstrainDeformable
Read Write Property: Model constraint deformable. Not Savable
Definition: fbmodel.h:299
FBModelMarker::FbxGetObjectSubType
virtual const char * FbxGetObjectSubType() override
Returns the class sub type inherited by the class of an object, for example: 'Default',...
__FB_FORWARD
__FB_FORWARD(FBDeformer)
PropertyList: Texture
kFBManipulatorToggle
@ kFBManipulatorToggle
Toggle the current selection with the unselected components.
Definition: fbmodel.h:232
FBModel::IsForceAlwaysEvaluate
bool IsForceAlwaysEvaluate()
Return Force Always Evaluate status.
kFBModelShadingAll
@ kFBModelShadingAll
Lighted, shaded, textured shading.
Definition: fbmodel.h:188
FBModelMarker::FbxGetObjectType
virtual const char * FbxGetObjectType() override
Returns the class type inherited by the class of an object, for example: 'Model'.
kFBMarkerLookCircle
@ kFBMarkerLookCircle
Circle.
Definition: fbmodel.h:844
FBCamera
Creates custom cameras and manages system cameras.
Definition: fbcamera.h:206
kModelRotation
@ kModelRotation
Rotation.
Definition: fbmodel.h:169
FBFbxObject
FBX file interface.
Definition: fbfbx.h:80
FBModel::MatrixToRotation
void MatrixToRotation(FBRVector &pRotation, const FBMatrix &pMatrix)
Convert Rotation Matrix to Euler Vector based on model's rotation order.
FBPointCacheFile
Base Model deformer class.
Definition: fbmodel.h:1529
FBModelVertexData::GetSubRegionCount
int GetSubRegionCount()
Return the number of sub regions (mapping with different materials).
FBSDK_DLL
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
Definition: fbmodel.h:48
fbshader.h
Declaration for the classes FBShaderManager, FBShader, FBPropertyListShader and other subclasses.
FBModelVertexData::GetSubPatchIndexSize
int GetSubPatchIndexSize(int pSubPatchIndex)
Return the size of the indexes for the specified sub patch (see GetIndexArray()).
kFBManipulatorRemoveAll
@ kFBManipulatorRemoveAll
Remove all components from the current selection.
Definition: fbmodel.h:234
FBEvaluateInfo
AnimationNodeNotify evaluation information.
Definition: fbevaluateinfo.h:79
FBModel::CustomModelPicking
virtual bool CustomModelPicking(int pNbHits, unsigned int *pSelectBuffer, FBCamera *pCamera, int pMouseX, int pMouseY, FBTVector *pLocalRaySrc, FBTVector *pLocalRayDir, FBTVector *pWorldRaySrc, FBTVector *pWorldRayDir, FBMatrix *pGlobalInverseMatrix, FBTVector *pOutPickedPoint)
Custom picking for selection, called when HasCustomDisplay returns true;.
Definition: fbmodel.h:544
kFBMarkerLookBox
@ kFBMarkerLookBox
Box.
Definition: fbmodel.h:847
kFBManipulatorAddAll
@ kFBManipulatorAddAll
Add all components to the current selection.
Definition: fbmodel.h:233
FBPropertyString
Property class: const char * (String).
Definition: fbproperties.h:1281
FBModel::ClosestRayIntersection
virtual bool ClosestRayIntersection(const FBTVector &pRayOrigin, const FBTVector &pRayEnd, FBTVector &pIntersectPos, FBNormal &pIntersectNormal)
Determines the first intersection point's position and normal between ray and model surface
FBModelVertexData::GetVertexCount
int GetVertexCount()
Return the number of vertices.
FBModel
Model class.
Definition: fbmodel.h:274
FBPropertyAnimatableBool
class K_DLLIMPORT FBPropertyBaseAnimatable< bool, kFBPT_bool > FBPropertyAnimatableBool
FBPropertyAnimatableBool type definition.
Definition: fbproperties.h:1732
FBComponent
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
FBModel::SetSchematicPosition
void SetSchematicPosition(int pX, int pY)
Set the position in the schematic view for the model.
FBModelNull::FbxGetObjectSubType
virtual const char * FbxGetObjectSubType() override
Returns the class sub type inherited by the class of an object, for example: 'Default',...
FBModel::GeometricRotation
FBPropertyVector3d GeometricRotation
Read Write Property: Geometric rotation.
Definition: fbmodel.h:348
FBPointCacheFile::StopTime
FBPropertyTime StopTime
Read Write Property: Stop Time.
Definition: fbmodel.h:1543
FBModelVertexData::GetIndexArraySize
int GetIndexArraySize()
Return the index array size (see GetIndexArray()).
FBModelNull::FbxStore
virtual bool FbxStore(FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
Store and Retrieve function that can be overloaded.
FBCluster::VertexAdd
void VertexAdd(int pVertexIndex, double pWeight)
Add a vertex to a cluster.
kFBMarkerTypeIKEffector
@ kFBMarkerTypeIKEffector
IK effector.
Definition: fbmodel.h:860
FBModel::Children
FBPropertyListModel Children
List: Children for model.
Definition: fbmodel.h:287
FBModel::IsConstrained
FBPropertyBool IsConstrained
Read Only Property: Is model constrained?
Definition: fbmodel.h:296
FBModel::CastsShadows
FBPropertyBool CastsShadows
Read Write Property: If true, the geometry will produce shadows.
Definition: fbmodel.h:359
FBModel::CollapseInSchematic
void CollapseInSchematic()
Collapse the model in the schematic view.
FBModel::PrimaryVisibility
FBPropertyBool PrimaryVisibility
Read Write Property: Control the geometry render state. Geometry can still cast shadows even if this ...
Definition: fbmodel.h:358
FBCluster::ClusterAccuracy
FBPropertyDouble ClusterAccuracy
Read Write Property: Cluster accuracy.
Definition: fbmodel.h:1153
kFBMarkerTypeOptical
@ kFBMarkerTypeOptical
Optical.
Definition: fbmodel.h:858
FBModel::TranslationMinZ
FBPropertyBool TranslationMinZ
Read Write Property: Is model using Translation Limits on Min Z.
Definition: fbmodel.h:335
FBModelVertexData::GetVertexArrayDuplicationMap
const int * GetVertexArrayDuplicationMap(unsigned int &pDuplicatedVertexCount)
The FBModel::TessellatedMesh could contain per-face mapping UVSet/Normal or other layer elements.
FBModel::Parent
FBPropertyModel Parent
Read Write Property: Parent model.
Definition: fbmodel.h:302
FBModel::TranslationMin
FBPropertyVector3d TranslationMin
Read Write Property: Translation Limit Min.
Definition: fbmodel.h:331
kFBMarkerLowResolution
@ kFBMarkerLowResolution
Lowest resolution.
Definition: fbmodel.h:830
FBModel::UniqueColorId
FBPropertyColor UniqueColorId
Read Only Property: Unique Color Id for color based viewer picking. Color channel values are in the r...
Definition: fbmodel.h:356
FBModel::FbxGetObjectType
virtual const char * FbxGetObjectType() override
Returns the class type inherited by the class of an object, for example: 'Model'.
FBVector3d
class K_DLLIMPORT FBVector3< double > FBVector3d
3D vector.
Definition: fbtypes.h:438
FBModel::RotationActive
FBPropertyBool RotationActive
Read Write Property: Is model using Rotation Limits?
Definition: fbmodel.h:318
FBModel::TessellatedMesh
FBPropertyMesh TessellatedMesh
Read Only Property: Tessellated Mesh for the model.
Definition: fbmodel.h:307
FBPropertyListDeformer::Add
virtual int Add(FBDeformer *pItem)
Add a texture to the property list.
FBModelShadingMode
FBModelShadingMode
Modes for model shading.
Definition: fbmodel.h:181
kFBSkeletonLookCircle
@ kFBSkeletonLookCircle
Circle.
Definition: fbmodel.h:923
kFBMarkerLookBone
@ kFBMarkerLookBone
Bone.
Definition: fbmodel.h:845
FBCluster::LinkGetCount
int LinkGetCount()
Get number of links.
FBSkeletonResolutionLevel
FBSkeletonResolutionLevel
Resolution of skeleton sphere, capsule and stick (Quality).
Definition: fbmodel.h:930