cee.vs

The vs sub-module provides a streaming model designed to work in pair with the Visualization Streamer Service (VizService) to which it requires a live connection. It handles fast and efficient streaming of 3D data to web while being specifically tailored towards showing CAE visualizations.

For any visualization to be streamed to the client, VizService must be running on the server side an data must be pushed towards it from an application or other service running on the server side. That is done via gRPC or a C++ interface. For more information, please see the Visualization Streamer documentation page.

Assuming that the EnvisionWeb client component has been imported into the variable cee, the members of the vs module may be referenced using the cee.vs prefix, e.g.:

const serverSession = await cee.vs.ServerSession.createInstance_async("http://localhost:8080");

We provide a complete minimal example of how to use this module in the Examples/MinimalVsClient folder inside the distribution package.

preferred:

Interfaces