OvisT_Mapping_Enable_Proc
Abstract
Callback: Used to enable the 3D Network Visualizer visualization for a network object (node, subnet, or link).
Syntax
<enable_proc_name> (obj_handle, state_ptr)
| Argument | Type | Description |
|---|---|---|
obj_handle |
EtsT_Obj_Handle |
Object handle |
state_ptr |
void * |
State information returned by the load_proc callback |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if site visualization is enabled; OvisC_Compcode_Failure otherwise.
Header
ovis_mapping.h
Details
This callback is invoked to enable the 3D Network Visualizer visualization for the network object. In the context of a simulation, this callback is invoked once with a reference to the “top” subnet as the 3D Network Visualizer is initialized before the first begin simulation event.
In the context of the GUI, this callback is invoked in one of these situations:
- When you enable 3D Network Visualizer, in which case the obj_handle refers to the “top” subnet
- When you add a new object to the network model being visualized, in which case the handle refers to that new object