13 #ifndef _FBXSDK_SCENE_GEOMETRY_BASE_H_
14 #define _FBXSDK_SCENE_GEOMETRY_BASE_H_
57 virtual void InitControlPoints(
int pCount);
66 void InitNormals(
int pCount = 0 );
83 void InitTangents(
int pCount = 0,
const int pLayerIndex = 0,
const char* pName =
"" );
100 void InitBinormals(
int pCount = 0,
const int pLayerIndex = 0,
const char* pName =
"" );
120 virtual void SetControlPointAt(
const FbxVector4 &pCtrlPoint ,
const FbxVector4 &pNormal ,
int pIndex,
bool pI2DSearch =
false);
130 virtual void SetControlPointAt(
const FbxVector4 &pCtrlPoint ,
int pIndex);
138 virtual FbxVector4 GetControlPointAt(
int pIndex)
const;
150 virtual void SetControlPointNormalAt(
const FbxVector4 &pNormal,
int pIndex,
bool pI2DSearch=
false);
155 virtual int GetControlPointsCount()
const;
169 virtual void SetControlPointCount(
int pCount);
235 int GetElementNormalCount()
const;
264 int GetElementBinormalCount()
const;
293 int GetElementTangentCount()
const;
322 int GetElementMaterialCount()
const;
351 int GetElementPolygonGroupCount()
const;
380 int GetElementVertexColorCount()
const;
409 int GetElementSmoothingCount()
const;
438 int GetElementVertexCreaseCount()
const;
467 int GetElementEdgeCreaseCount()
const;
496 int GetElementHoleCount()
const;
525 int GetElementUserDataCount()
const;
554 int GetElementVisibilityCount()
const;
643 virtual int MemoryUsage()
const;
648 #ifndef DOXYGEN_SHOULD_SKIP_THIS
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Layer element for mapping Tangents to a geometry.
FBX SDK environment definition.
FbxPropertyT< FbxDouble3 > BBoxMax
The maximum value of the control points bounding box.
virtual void Compact()
Compact the memory used by this object.
FbxPropertyT< FbxBool > ReceiveShadow
If true, the geometry will receive shadows.
Layer element for mapping materials (FbxSurfaceMaterial) to a geometry.
virtual void ContentClear()
Clears this object's content from memory.
FbxLayerElementArrayTemplate provides data array manipulation of the data buffer for FbxLayerElement...
Abstract class for implementing I/O operations through a stream of data.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
Array that stores pairs of FbxString and a pointer.
Layer element for mapping custom user data to a geometry.
Contains a collection of FbxLayer objects.
Layer element for indicating if specified components are shown/hidden.
Layer element for mapping Vertex Colors to a geometry.
Layer element for mapping UVs to a geometry.
Layer element for mapping Normals to a geometry.
This class facilitates the testing/reporting of errors.
FbxPropertyT< FbxBool > CastShadow
If true, the geometry will produce shadows.
The base class of most FBX objects.
Layer element for indicating hole of polygon of a geometry.
This class is the base class for geometric object such as meshes, NURBS and patches.
virtual bool ContentReadFrom(const FbxStream &pStream)
Reads the content of the object from the given stream.
Layer element for indicating smoothness of components of a geometry.
Layer element for indicating crease of components of a geometry.
FbxPropertyT< FbxDouble3 > BBoxMin
The minimum value of the control points bounding box.
EType
Layer Element type identifier.
A four double mathematic vector class.
Layer element for grouping related polygons together.
virtual bool ContentWriteTo(FbxStream &pStream) const
Writes the content of the object to the given stream.
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
Class for array of basic elements such as pointers and basic types.
Layer element for mapping Binormals to a geometry.