◆
~MatAssignData()
成员函数文档编制
◆
SetMaterial()
void SetMaterial
|
(
|
const
AtomArray
&
|
materials
|
)
|
|
Sets the materials.
-
参数
-
[in]
|
materials
|
The materials.
|
◆
GetMaterial()
Retrieves the materials.
-
参数
-
[in]
|
doc
|
The document for the materials. The caller owns the pointed document.
|
[out]
|
materials
|
Filled with the materials.
|
-
返回
-
true
if successful, otherwise
false
.
◆
InsertObject()
Inserts an object into the list.
-
参数
-
[in]
|
pObject
|
The object to insert. The caller owns the pointed object.
|
[in]
|
lFlags
|
A bit field for the initial selection state of
pObject
.
|
-
返回
-
true
if successful, otherwise
false
.
◆
DeleteObject()
[1/2]
Deletes an object from the list.
-
参数
-
[in]
|
doc
|
The document for
pObject
. The caller owns the pointed document.
|
[in]
|
pObject
|
The object to delete. The caller owns the pointed object.
|
-
返回
-
true
if successful, otherwise
false
.
◆
DeleteObject()
[2/2]
Deletes an object by index.
-
参数
-
-
返回
-
true
if successful, otherwise
false
.
◆
GetObjectIndex()
Gets an object's index in the list.
-
参数
-
[in]
|
doc
|
The document for
pObject
. The caller owns the pointed document.
|
[in]
|
pObject
|
The object to get the index for. The caller owns the pointed object.
|
-
返回
-
The object index, or
NOTOK
if it is not found.
◆
ObjectFromIndex()
Gets an object by index.
-
参数
-
[in]
|
doc
|
The document for the object. The caller owns the pointed document.
|
[in]
|
lIndex
|
The object index:
0
<=
lIndex
<
GetObjectCount()
|
-
返回
-
The object, as inserted with
InsertObject()
.
◆
GetObjectCount()
Gets the object count.
-
返回
-
The number of objects in the list.
◆
GetFlags()
[1/2]
Gets the flags of an object by index.
-
参数
-
-
返回
-
A bit field for the selection state of the object at
lIndex
in the list.
◆
GetFlags()
[2/2]
Gets the flags of an object.
-
参数
-
[in]
|
doc
|
The document for
pObject
. The caller owns the pointed document.
|
[in]
|
pObject
|
The object to get the flags for. The caller owns the pointed object.
|
-
返回
-
A bit field for the initial selection state of
pObject
.
◆
GetData()
[1/2]
Retrieves the data for an object by index.
-
参数
-
-
返回
-
The data.
◆
GetData()
[2/2]
Gets the data for an object.
-
参数
-
[in]
|
doc
|
The document for
pObject
. The caller owns the pointed document.
|
[in]
|
pObject
|
The object to get the data for. The caller owns the pointed object.
|
-
返回
-
The data.
◆
BuildInclusionTable()
Builds a material inclusion table containing all included objects.
-
参数
-
[in]
|
doc
|
The document. The caller owns the pointed document.
|
[in]
|
hierarchy_bit
|
The hierarchy bit. Starts at
0
.
|
-
返回
-
The inclusion table. Delete the list by calling
FreeInclusionTable
(
table
).