Creates manager of topology items fron an A3DRiRepresentationItem.
- Version
- 5.0
- This function creates a map, on request, between topological items and linked lists of owners. When the map is built, the function A3DTopoItemOwnersGet lets you retrieve owners of specific topological item. For example, if you need the faces owner of edges, first you build your map, then you retrieve the owner list for each edge. The following code shows how to use it.
if(pTopologyOwnersManager == NULL)
if(pTopoItemOwner == NULL || pTopoItemOwner->
m_pTopoItem == NULL))
{
}
Note that, if A3DTopoItemOwnersManagerGet is called several times with the same representation item, the map is not recomputed; and if the representation item is null, the map is released.
- Returns
- A3D_SUCCESS
-
A3D_INVALID_ENTITY_TYPE
-
A3D_ERROR