FBX C++ API Reference
fbxdatatypes.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_CORE_DATA_TYPES_H_
14 #define _FBXSDK_CORE_DATA_TYPES_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
20 
21 #include <fbxsdk/fbxsdk_nsbegin.h>
22 
27 {
28 public:
29  static FbxDataType Create(const char* pName, const EFbxType pType);
30  static FbxDataType Create(const char* pName, const FbxDataType& pDataType);
31 
36  FbxDataType();
38 
42  FbxDataType(const FbxDataType& pDataType);
43 
45  void Destroy();
46 
50  FbxDataType(const FbxPropertyHandle& pTypeInfoHandle);
51 
53  ~FbxDataType();
55 
60  inline FbxDataType& operator=(const FbxDataType& pDataType){ mTypeInfoHandle=pDataType.mTypeInfoHandle; return *this; }
61 
70  inline bool operator==(const FbxDataType& pDataType) const { return mTypeInfoHandle==pDataType.mTypeInfoHandle; }
71 
76  inline bool operator!=(const FbxDataType& pDataType) const { return mTypeInfoHandle!=pDataType.mTypeInfoHandle; }
78 
82  inline bool Valid() const { return mTypeInfoHandle.Valid(); }
83 
88  inline bool Is(const FbxDataType& pDataType) const { return mTypeInfoHandle.Is(pDataType.mTypeInfoHandle); }
89 
93  EFbxType GetType() const;
94 
98  const char* GetName() const;
99 
103  inline const FbxPropertyHandle& GetTypeInfoHandle() const { return mTypeInfoHandle; }
104 
105 private:
106  FbxPropertyHandle mTypeInfoHandle;
107  friend class FbxManager;
108 };
109 
115 
122 FBXSDK_DLL const char* FbxGetDataTypeNameForIO(const FbxDataType& pDataType);
123 
125 
151 
153 
164 
166 
180 
182 
203 
205 
221 
223 
232 
234 
264 
265 #include <fbxsdk/fbxsdk_nsend.h>
266 
267 #endif /* _FBXSDK_CORE_DATA_TYPES_H_ */
FbxDataType FbxLayerElementMaterialDT
FbxDataType FbxLayerElementUserDataDT
FbxDataType FbxMaterialReflectionDT
FbxDataType FbxMaterialAmbientFactorDT
FbxDataType FbxEnumDT
Class to manage property handle.
FbxDataType FbxIKReachTranslationDT
FBX SDK environment definition.
FbxDataType FbxUnitsDT
FbxDataType FbxConeAngleDT
FbxDataType FbxULongLongDT
FbxDataType FbxLayerElementTangentDT
SDK object manager.
Definition: fbxmanager.h:56
const char * FbxGetDataTypeNameForIO(const FbxDataType &pDataType)
Retrieve data type name string used by I/O operations.
FbxDataType FbxMaterialBumpDT
FbxDataType FbxTextLineDT
FbxDataType FbxIntensityDT
FbxDataType FbxActionDT
FbxDataType FbxEventDT
FbxDataType FbxDateTimeDT
FbxDataType FbxFogDT
FbxDataType FbxLayerElementTextureDT
FbxDataType FbxDouble2DT
FbxDataType FbxStringListDT
FbxDataType FbxMaterialSpecularFactorDT
FbxDataType FbxRollDT
FbxDataType FbxRealDT
FbxDataType FbxUndefinedDT
FbxDataType FbxCompoundDT
FbxDataType FbxMaterialDiffuseDT
FbxDataType FbxUCharDT
FBX SDK data type class.
Definition: fbxdatatypes.h:26
FbxDataType FbxReferenceDT
FbxDataType FbxReferenceObjectDT
FbxDataType FbxMaterialReflectionFactorDT
FbxDataType FbxLayerElementHoleDT
FbxDataType FbxColor3DT
FbxDataType FbxLocalTranslationDT
const FbxDataType & FbxGetDataTypeFromEnum(const EFbxType pType)
Retrieve data type from type enumeration index.
FbxDataType FbxMaterialDiffuseFactorDT
FbxDataType FbxLongLongDT
FbxDataType FbxBlobDT
FbxDataType FbxMaterialCommonTextureDT
FbxDataType FbxOpticalCenterXDT
FbxDataType FbxDistanceDT
FbxDataType FbxLayerElementCreaseDT
FbxDataType FbxOrientationDT
FbxDataType FbxUrlDT
FbxDataType & operator=(const FbxDataType &pDataType)
Assignment operator.
Definition: fbxdatatypes.h:60
FbxDataType FbxFieldOfViewXDT
FbxDataType FbxMaterialEmissiveFactorDT
FbxDataType FbxWeightDT
FbxDataType FbxTranslationDT
FbxDataType FbxMaterialDisplacementDT
bool operator==(const FbxDataType &pDataType) const
Equality operator.
Definition: fbxdatatypes.h:70
FbxDataType FbxMaterialTransparentColorDT
FbxDataType FbxIKReachRotationDT
bool Is(const FbxDataType &pDataType) const
Test if this datatype is the specified datatype.
Definition: fbxdatatypes.h:88
FbxDataType FbxTimeCodeDT
FbxDataType FbxHalfFloatDT
FbxDataType FbxStatisticsDT
FbxDataType FbxMaterialVectorDisplacementDT
FbxDataType FbxAliasDT
FbxDataType FbxTimeWarpDT
EFbxType
Type identifier constants.
FbxDataType FbxRotationMatrixDT
FbxDataType FbxLayerElementUVDT
FbxDataType FbxDouble4x4DT
FbxDataType FbxDouble4DT
FbxDataType FbxFieldOfViewDT
FbxDataType FbxCharDT
FbxDataType FbxMaterialTransparencyFactorDT
FbxDataType FbxMaterialShininessDT
FbxDataType FbxLookAtDT
FbxDataType FbxHSBDT
FbxDataType FbxLayerElementPolygonGroupDT
FbxDataType FbxBoolDT
FbxDataType FbxLayerElementSmoothingDT
FbxDataType FbxLayerElementUndefinedDT
FbxDataType FbxScalingDT
FbxDataType FbxXRefUrlDT
FbxDataType FbxScalingUVDT
FbxDataType FbxMaterialEmissiveDT
FbxDataType FbxReferencePropertyDT
FbxDataType FbxTimeDT
FbxDataType FbxVisibilityDT
FbxDataType FbxTransformMatrixDT
FbxDataType FbxWebDT
FbxDataType FbxUIntDT
FbxDataType FbxCharPtrDT
FbxDataType FbxCameraIndexDT
FbxDataType FbxLocalQuaternionDT
bool Valid() const
Test whether this datatype is a valid datatype.
Definition: fbxdatatypes.h:82
bool operator!=(const FbxDataType &pDataType) const
Non-equality operator.
Definition: fbxdatatypes.h:76
FbxDataType FbxMaterialAmbientDT
FbxDataType FbxOcclusionDT
FbxDataType FbxUShortDT
FbxDataType FbxLayerElementNormalDT
#define FBXSDK_DLL
Definition: fbxarch.h:173
FbxDataType FbxTextureRotationDT
FbxDataType FbxIntDT
FbxDataType FbxStringDT
FbxDataType FbxMaterialNormalMapDT
FbxDataType FbxDouble3DT
FbxDataType FbxMaterialSpecularDT
FbxDataType FbxLayerElementVisibilityDT
FbxDataType FbxDoubleDT
FbxDataType FbxOpticalCenterYDT
FbxDataType FbxLayerElementBinormalDT
FbxDataType FbxScalingMatrixDT
FbxDataType FbxFloatDT
FbxDataType FbxPresetsDT
FbxDataType FbxVisibilityInheritanceDT
FbxDataType FbxMaterialCommonFactorDT
FbxDataType FbxRotationDT
FbxDataType FbxTranslationMatrixDT
FbxDataType FbxShapeDT
FbxDataType FbxQuaternionDT
FbxDataType FbxTranslationUVDT
FbxDataType FbxLocalScalingDT
FbxDataType FbxLocalRotationDT
FbxDataType FbxFieldOfViewYDT
FbxDataType FbxShortDT
FbxDataType FbxLayerElementVertexColorDT
FbxDataType FbxColor4DT
FbxDataType FbxWarningDT
const FbxPropertyHandle & GetTypeInfoHandle() const
Retrieve the information handle of this data type.
Definition: fbxdatatypes.h:103