Public Member Functions

IMergeManager Class Reference

Search for all occurrences

Detailed Description

See also:
Class InterfaceServer, Reference Messages, Class ExclList

Description:
This class is available in release 4.0 and later only.

This class facilitates taking care of node handles when merging and xref'ing scenes.

When nodes are merged, their handles will be reassigned so that their handles will not conflict with existing nodes in the scene. After the merge process has completed, all merged objects will receive a reference notification; REFMSG_NODE_HANDLE_CHANGED. The PartID (see PartID) will be a pointer to a merge manager interface that you can use to see if a specific handle was converted and convert between the old and the new handle. IMergeManager* pMergeManager = (IMergeManager*)partID; If a plug-in uses node handles in a persistent manner it has to intercept this reference message and convert the previous handles to the newly generated handles.

#include <ioapi.h>

Inheritance diagram for IMergeManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ULONG  GetNewHandle (ULONG oldHandle)=0
virtual bool  HandleExist (ULONG handle)=0

Member Function Documentation

virtual ULONG GetNewHandle ( ULONG  oldHandle ) [pure virtual]
Remarks:
This method allows you to obtain a new handle.
Parameters:
ULONG oldHandle

The old handle you wish to obtain a new one for.
Returns:
The new handle.
virtual bool HandleExist ( ULONG  handle ) [pure virtual]
Remarks:
This method allows you to check if a handle already exists.
Parameters:
ULONG handle

The handle you wish to check for.
Returns:
TRUE if the handle exists; otherwise FALSE.

IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager
IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager IMergeManager