Main Content

VR接收器

Write data from万博1manbetxmodel to virtual world

  • 图书馆:
  • Simulink 3D Animation

  • VR接收器块

描述

要从模型输出数据以控制和动画虚拟世界,请使用VR接收器堵塞。这VR接收器block writes values from its ports to virtual world fields specified in the Block Parameters dialog box.

VR接收器块等效于VR To Video块,除了显示视频输出端口parameter for the VR Sink block is cleared by default.

VR接收器block cannot be compiled by the万博1manbetx®CODER™软件,但可以用作主机计算机上的仿真设备。

笔记

当前的内部查看器窗口(vrfigure)属性与Simulink模型一起保存。万博1manbetx下次您打开模型时,内部查看器窗口将以与最后保存的相同参数(例如位置,大小和导航模式)打开。关闭查看器窗口时,Simulink软件如果这些属性已更改,则不会提醒您。万博1manbetx

VR接收器块是模拟设备。您可以将其包含在您编译的模型中万博1manbetxSimulink编码器software. If you use External mode to compile, build, and deploy the model on a target platform, such as万博1manbetxSimulink实时™orSimulink Desktop Real-Time™, some sink blocks and Sim Viewing Device blocks stay in normal mode during simulation, receive data from the target, and display that data. For more information, see在外部模式下使用C/C ++ S-函数作为模拟设备(万博1manbetxSimulink)

Ports

Input

展开全部

Input signal to drive the virtual reality visualization of nodes selected in the虚拟世界树

数据类型:双倍的

输出

展开全部

Use the output port to access the RGB video stream of the VR signal input.

数据类型:双倍的

参数

展开全部

默认情况下,相关的完整路径与启示l world 3D file appears in this text box. If you enter only the file name in this box, the software assumes that the virtual world 3D file resides in the same folder as the model file. You can specify a VRML file or an X3D file.

  • 点击Newto open an empty default virtual world editor. When you either enter a source file name or use theBrowse按钮,Newbutton becomes an编辑button.

  • 点击编辑要启动默认虚拟世界编辑器,请打开源文件。

  • 点击看法万博1manbetxSimulink 3D Animation™查看器或Web浏览器。

  • 点击重新加载改变世界后,重新加载了世界。

Enable this parameter to display the virtual world after loading the Simulink model.

Enable this parameter to make the virtual world accessible for viewing on a client computer. If you do not select this check box, then the world is visible only on the host computer. This parameter is equivalent to the远程视图属性vrworldobject.

这description is displayed in all virtual reality object listings, in the title bar of theSimulink 3D Animation观众,以及在虚拟世界列表中Simulink 3D AnimationHTML页面。此参数等效于描述属性vrworldobject.

Specify the sample time for the block, or specify-1继承样品时间。

Enable a port to output an RGB video stream for further 2D video processing.

在像素中指定视频输出信号的尺寸([高度宽度])。

This box shows the structure of the virtual world 3D file and the virtual world itself.

具有名称的节点标记为红色箭头。您可以从Simulink 3D Animation界面。没有名字但其孩子命名的节点也标有红色箭头。这种标记方案使您可以通过使用箭头遍历树来找到所有可访问的节点。其他节点在名字之前有一个蓝色点。

带有您设置的值的字段具有复选框。使用这些复选框选择您希望Simulink软件更新其值的字段。万博1manbetx对于您选择的每个字段,都会在块中创建一个输入端口。输入端口按与虚拟世界3D文件相对应的顺序分配给所选节点和字段。

无法编写值的字段(因为他们的父节点没有名称,或者因为它们不在虚拟世界数据类中实现or裸露的菲尔德)具有X形图标。

Enable this parameter to show node types in the virtual world tree.

Example:

启用此参数可以在虚拟场景树中显示字段类型。

Introduced before R2006a