Click or drag to resize
SoDirectVizManagerGetInstance Method

Returns a pointer to a DirectVizManager object associated with the specified scene manager.

Namespace: OIV.DirectViz
Assembly: OIV.DirectViz (in OIV.DirectViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public static SoDirectVizManager GetInstance(
	SoSceneManager mgr
)

Parameters

mgr
Type: OIV.InventorSoSceneManager

Return Value

Type: SoDirectVizManager
Remarks

If DirectViz was already associated with a scene manager, calling getInstance() with another scene manager will deactivate DirectViz on the previously associated scene manager. To retrieve the scene manager corresponding to a viewer or render area, you can use code similar to:

pViewer->getSceneManager();

See Also