A3DTreeNodeGetGeometry
-
A3DStatus
A3DTreeNodeGetGeometry(const A3DTree *pTree, const A3DTreeNode *pNode, A3DBool bApplyTreeStyle, A3DMeshData *pMeshData, const A3DRiComputeMeshParametersData *psMeshOptionsData) A3DStatusA3DTreeNodeGetGeometry(constA3DTree* pTree, constA3DTreeNode* pNode,A3DBoolbApplyTreeStyle,A3DMeshData* pMeshData, constA3DRiComputeMeshParametersData* psMeshOptionsData)Get mesh associated to the node.
24.0Return Values
A3D_INVALID_DATA_STRUCT_SIZE: Incorrect initialization size for
pMeshData.A3D_INVALID_DATA_STRUCT_NULL: Null
pMeshDatapointer.A3D_INVALID_ENTITY_NULL: Null no entity is linked to the node
A3D_INVALID_ENTITY_TYPE: Unsupported type for the entity linked to the node
A3D_MESH_EMPTY: Entity linked to the node contains no coordinate data.
A3D_MESH_INCONSISTENT: Inconsistent tessellation information.
A3D_ERROR: Mesh data computation failure.
A3D_SUCCESS: Success.
Parameters
pTree: The model tree containing the node, or 0 to clean the memory.
pNode: The tree node, or 0 to clean the memory.
bApplyTreeStyle: specify the graphical information defined in the tree should be applied to compute the mesh.
pMeshData: The
A3DMeshDatato store the computed mesh or release memory if pTree or pNode are null.psMeshOptionsData: Options used to compute Mesh. 0 for now, options structure for future use.
Returns
A3D_SUCCESSon success, or an error code on failure