ModelFile Module
Types
Fields
Functions
Detailed Description
- group a3d_publish_modelfile_module
Module to get and compute information on modelfile.
This module describes the functions and structures that allow you to to get and compute information on a modelfile.
Type Documentation
-
enum A3DPDFEModelFileNodeType
ModelFileNode type: type of node in a modelfile.
- Version
10.0
Values:
-
enumerator kA3DPDFNodeProductOccurrence
node for a Product occurence.
-
enumerator kA3DPDFNodeRepresentationItem
node for a mesh (node object that contains geometry).
-
enumerator kA3DPDFNodePMI
node for a PMI. Stored in the PDF model tree under a ‘3D PMI’ node.
-
enumerator kA3DPDFNodeRiSet
node for a mesh set. Does not contain any geometry but has children who do.
-
enumerator kA3DPDFNodeCamera
node for a camera.
-
enumerator kA3DPDFNodeLight
node for a light.
Function Documentation
-
A3DStatus A3DPDFMakeSnapshotFromModelFile(A3DAsmModelFile *pModelFile, const A3DPDFSnapshotOptionsData *pSnapshotOptionsData, const A3DUTF8Char *pcOutputFilename)
Function to create the poster for a view in a model file.
Important: HOOPS Publish uses the graphics driver of the user’s PC. By default, HOOPS Publish attempts to select the graphics driver in this order: DX11->DX9->OpenGL2->OpenGL. To override the default driver selection, set the A3DPOSTERDRV environment variable to one of the following values: DX11, DX9, OGL2, OGL1
- Version
4.1
- Parameters:
pModelFile – [in] The modelfile where is defined the 3D data.
pSnapshotOptionsData – [in] The snapshot parameters.
pcOutputFilename – [in] Path to the file name to generate.
- Return values:
A3D_SUCCESS –
- Returns:
A3D_SUCCESS in case of success or an error code