Isle
Loading...
Searching...
No Matches
ModelDbPart Struct Reference

[AI] Represents a single part within a 3D model database entry, including its name and data offsets in a file. More...

#include <modeldb.h>

Collaboration diagram for ModelDbPart:

Public Member Functions

MxResult Read (FILE *p_file)
 [AI] Reads a ModelDbPart object from a binary file. More...
 

Public Attributes

MxString m_roiName
 [AI] Name of the part/ROI this entry represents. [AI] More...
 
undefined4 m_partDataLength
 [AI] Length of binary part data in the file (in bytes). [AI] More...
 
undefined4 m_partDataOffset
 [AI] Offset within the file to the part's data. [AI] More...
 

Detailed Description

[AI] Represents a single part within a 3D model database entry, including its name and data offsets in a file.

[AI] Each ModelDbPart links to data in resource files using part offsets/lengths and is identified by a name (ROI name).

Definition at line 17 of file modeldb.h.

Member Function Documentation

◆ Read()

MxResult ModelDbPart::Read ( FILE *  p_file)

[AI] Reads a ModelDbPart object from a binary file.

[AI] Reads the ROI name, data length and data offset for the part from the file pointer. Used during model database loading.

Parameters
p_fileFile pointer from which the part data will be read. [AI]
Returns
Returns SUCCESS on success, FAILURE otherwise. [AI]

Definition at line 63 of file modeldb.cpp.

Member Data Documentation

◆ m_partDataLength

undefined4 ModelDbPart::m_partDataLength

[AI] Length of binary part data in the file (in bytes). [AI]

Definition at line 27 of file modeldb.h.

◆ m_partDataOffset

undefined4 ModelDbPart::m_partDataOffset

[AI] Offset within the file to the part's data. [AI]

Definition at line 28 of file modeldb.h.

◆ m_roiName

MxString ModelDbPart::m_roiName

[AI] Name of the part/ROI this entry represents. [AI]

Definition at line 26 of file modeldb.h.


The documentation for this struct was generated from the following files: