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.

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

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com