Loads the model file with information from the input CAD file. More...
Data Structures | |
struct | A3DRWParamsGeneralData |
Reading options to filter the types of information that are read when CAD files are loaded. More... | |
struct | A3DRWParamsPmiData |
Structure to specify the PMI reading parameters. More... | |
struct | A3DRWParamsTessellationData |
Structure to set the tessellation parameters. More... | |
struct | A3DRWParamsSearchDirData |
Structure to define additional directories that the load function will search in addition to the root directory. More... | |
struct | A3DRWParamsAssemblyData |
Structure to define parameters to manage CAD assemblies reading. More... | |
struct | A3DRWParamsMultiEntriesData |
Structure to define which configurations or sub-models should be loaded when the CAD file has multiple entries. More... | |
struct | A3DRWParamsCatiaV4Data |
Reading parameters specific to CATIA V4 CAD files. More... | |
struct | A3DRWParamsCatiaV5Data |
Reading parameters specific to CATIA V5 CAD files. More... | |
struct | A3DRWParamsUnigraphicsData |
Reading parameters specific to Unigraphics CAD files. More... | |
struct | A3DRWParamsProEData |
Reading parameters specific to Pro/ENGINEER CAD files. More... | |
struct | A3DRWParamsStepData |
Reading parameters specific to STEP files. More... | |
struct | A3DRWParamsIGESData |
Reading parameters specific to IGES files. More... | |
struct | A3DRWParamsIFCData |
Reading parameters specific to IFC files. More... | |
struct | A3DRWParamsSpecificLoadData |
Structure to specify reading parameters specific to some CAD formats. More... | |
struct | A3DRWParamsIncrementalLoadData |
Structure to specify reading parameters to load some specific parts of an assembly. More... | |
struct | A3DRWParamsLoadData |
Structure to define the reading parameters used by the load function A3DAsmModelFileLoadFromFile. More... | |
struct | A3DStream3DPDFData |
Binary stream for a 3D model stored in a PDF file. The data format is PRC or U3D. More... | |
Functions | |
A3DStatus | A3DAsmModelFileLoadFromFile (const A3DUTF8Char *pcFileName, const A3DRWParamsLoadData *pLoadParametersData, A3DAsmModelFile **ppModelFile) |
Loads an A3DAsmModelFile from a physical file. More... | |
A3DStatus | A3DGetFileFormat (const A3DUTF8Char *pcFileName, A3DEModellerType *peModellerType) |
Returns the format of a physical file. More... | |
A3DStatus | A3DCheckFileFormat (const A3DUTF8Char *pcFileName, const int &rCadTypeWanted) |
Checks the format of a physical file. More... | |
A3DStatus | A3DGet3DPDFStreams (const A3DUTF8Char *pcFileName, A3DStream3DPDFData **ppStreamData, A3DInt32 *piNumStreams) |
Function to retrieve all 3D streams embedded in a PDF document. More... | |
A3DStatus | A3DAsmModelFileLoadFromPrcStream (const A3DUTF8Char *pcBufferStream, unsigned int uBufferLength, A3DRWParamsPrcReadHelper **ppPrcReadHelper, A3DAsmModelFile **ppModelFile) |
Loads an A3DAsmModelFile from a PRC Buffer. More... | |
A3DStatus | A3DAsmModelFileLoadFromXMLFile (const A3DUTF8Char *pcFileName, const A3DRWParamsLoadData *pLoadParametersData, A3DAsmModelFile **ppModelFile) |
Loads an A3DAsmModelFile from a XML file and a set of native cad files. More... | |
Loads the model file with information from the input CAD file.
Please refer to HOOPS Exchange Supported File Formats documentation for list of available formats.
enum A3DEReadGeomTessMode |
enum A3DEUnits |
Unit used in the model file.
Structure to specify the level of detail of the tessellation.
See A3DRWParamsTessellationData parameters. When a level is given, the Chord Height Ratio (A3DRWParamsTessellationData::m_dChordHeightRatio) and Wireframe Chord Angle (A3DRWParamsTessellationData::m_dAngleToleranceDeg) change to preset values for the selected level.
Enumerator | |
---|---|
kA3DTessLODExtraLow |
Extra Low level: when selected, these members are automatically defined with the following values: |
kA3DTessLODLow |
Low level: when selected, these members are automatically defined with the following values: |
kA3DTessLODMedium |
Medium level: when selected, these members are automatically defined with the following values: |
kA3DTessLODHigh |
High level: when selected, these members are automatically defined with the following values: |
kA3DTessLODExtraHigh |
Extra High level: when selected, these members are automatically defined with the following values: |
kA3DTessLODUserDefined |
User Defined level: when selected, these members should be defined:
|
kA3DTessLODControlledPrecision |
This is a deprecated feature. Controlled Precision level: when selected, these members should be defined: |
Used to control the default PMI color: If you load a Wildfire file and set kA3DFileVersionSessionColor to:
Enumerator | |
---|---|
kA3DLastCreoVersionSessionColor |
Sets the default session color corresponding to the last version of Creo that HOOPS Exchange supports. |
kA3DHExchangeSessionColor |
Uses HOOPS Exchange default color. |
kA3DFileVersionSessionColor |
Lets the user define the color by using graphics parameters options ( A3DRWParamsPmiData::m_sDefaultColor). |
enum A3DEStepNameFromNAUO |
Used to select which name to use from NEXT_ASSEMBLY_USAGE_OCCURRENCE as occurrence name.
JT LOD to retrieve from file.
A3DStatus A3DAsmModelFileLoadFromFile | ( | const A3DUTF8Char * | pcFileName, |
const A3DRWParamsLoadData * | pLoadParametersData, | ||
A3DAsmModelFile ** | ppModelFile | ||
) |
Loads an A3DAsmModelFile from a physical file.
This function loads an A3DAsmModelFile from a file. The file could be in any supported CAD format.
[in] | pcFileName | References the path to the file containing the 3D CAD model. |
[in] | pLoadParametersData | References the parameters for reading. |
[out] | ppModelFile | References a pointer into which should be stored the location of the model file. Set this pointer to null before calling the function. |
A3DStatus A3DGetFileFormat | ( | const A3DUTF8Char * | pcFileName, |
A3DEModellerType * | peModellerType | ||
) |
Returns the format of a physical file.
[in] | pcFileName | References the path to the CAD file |
[out] | peModellerType | References the format of the input CAD file |
A3DStatus A3DCheckFileFormat | ( | const A3DUTF8Char * | pcFileName, |
const int & | rCadTypeWanted | ||
) |
Checks the format of a physical file.
[in] | pcFileName | References the path to the CAD file |
[in] | rCadTypeWanted | References the format that the input CAD file is going to be checked against |
A3DStatus A3DGet3DPDFStreams | ( | const A3DUTF8Char * | pcFileName, |
A3DStream3DPDFData ** | ppStreamData, | ||
A3DInt32 * | piNumStreams | ||
) |
Function to retrieve all 3D streams embedded in a PDF document.
The stream is the raw binary data stored as a char* stream. A PRC stream can be interpreted with the function A3DAsmModelFileLoadFromPrcStream. A U3D stream needs to be written as a physical file before being read with classical A3DAsmModelFileLoadFromFile function.
[in] | pcFileName | References the path to the PDF file |
[out] | ppStreamData | Array of stream data |
[out] | piNumStreams | Number of streams |
If pcFileName is NULL, *ppStreamData will be freed if *piNumStreams is non-null. A3DGet3DPDFStreams(NULL, ppStreamData, piNumStreams) to release *ppStreamData.
A3DStatus A3DAsmModelFileLoadFromPrcStream | ( | const A3DUTF8Char * | pcBufferStream, |
unsigned int | uBufferLength, | ||
A3DRWParamsPrcReadHelper ** | ppPrcReadHelper, | ||
A3DAsmModelFile ** | ppModelFile | ||
) |
Loads an A3DAsmModelFile from a PRC Buffer.
This function loads an A3DAsmModelFile from a PRC Buffer.
[in] | pcBufferStream | Buffer containing the PRC stream. |
[in] | uBufferLength | Length of pcBufferStream. |
[in,out] | ppPrcReadHelper | Reserved for future use. |
[out] | ppModelFile | References a pointer into which should be stored the location of the model file. Set this pointer to null before calling the function. |
A3DStatus A3DAsmModelFileLoadFromXMLFile | ( | const A3DUTF8Char * | pcFileName, |
const A3DRWParamsLoadData * | pLoadParametersData, | ||
A3DAsmModelFile ** | ppModelFile | ||
) |
Loads an A3DAsmModelFile from a XML file and a set of native cad files.
This function loads an A3DAsmModelFile from a XML file and a set of native cad files.
[in] | pcFileName | References the path to the file containing the XML description of the assembly. |
[in] | pLoadParametersData | References the parameters for reading the native parts. |
[out] | ppModelFile | References a pointer into which should be stored the location of the model file. Set this pointer to null before calling the function. |