Reads and writes a physical file containing a PRC model file; and creates and accesses model file entities. More...
Data Structures | |
struct | A3DAsmModelFileData |
ModelFile structure. More... | |
Enumerations | |
enum | A3DEModellerType |
Modeller type. More... | |
Functions | |
A3DStatus | A3DAsmModelFileGet (const A3DAsmModelFile *pModelFile, A3DAsmModelFileData *pData) |
Populates the A3DAsmModelFileData structure. More... | |
A3DStatus | A3DAsmModelFileCreate (const A3DAsmModelFileData *pData, A3DAsmModelFile **ppModelFile) |
Creates an A3DAsmModelFile from A3DAsmModelFileData structure. More... | |
A3DStatus | A3DAsmModelFileDelete (A3DAsmModelFile *pModelFile) |
Deletes the entire A3DAsmModelFile entity from memory. More... | |
Reads and writes a physical file containing a PRC model file; and creates and accesses model file entities.
The A3DAsmModelFile is the root entity of the PRC data. It is the starting point for parsing a PRC file. It is also one of the arguments used to create a 3D annotation within a PDF document.
Entity type is kA3DTypeAsmModelFile.
enum A3DEModellerType |
Modeller type.
A3DStatus A3DAsmModelFileGet | ( | const A3DAsmModelFile * | pModelFile, |
A3DAsmModelFileData * | pData | ||
) |
Populates the A3DAsmModelFileData structure.
pModelFile | A reference to the model file, which is created by invoking A3DAsmModelFileLoadFromFile |
pData | A reference to the A3DAsmModelFileData structure in which the HOOPS Exchange Library stores the model file data |
A3DStatus A3DAsmModelFileCreate | ( | const A3DAsmModelFileData * | pData, |
A3DAsmModelFile ** | ppModelFile | ||
) |
Creates an A3DAsmModelFile from A3DAsmModelFileData structure.
A3DStatus A3DAsmModelFileDelete | ( | A3DAsmModelFile * | pModelFile | ) |
Deletes the entire A3DAsmModelFile entity from memory.
Every entity under this model file is also deleted. This function is responsible for freeing the whole memory reserved for ModelFile. After this call, access to the model file is no longer possible, and pointer must be set to NULL.