web.webgl Module

This module provides classes to handle Rest API for WebGL piece request.

This module is now deprecated.

class paraview.web.webgl.WebGLResource[source]

Bases: twisted.web.resource.Resource

Resource using to serve WebGL data. If supports URLs of two forms: - to get the meta-data as json-rpc message:

  • to get a binary webgl object:

    http://.../WebGL?q=mesh&vid=456&id=1&part=0

    vid : visualization view ID (GlobalID of the view Proxy) id : id of the object in the scene part: WebGL has a size limit, therefore an object can be splitted in several part. This is the part index.

render_GET(request)[source]

Handle GET requests, parse out q parameter to delegate to the correct internal function. There is two types of queries allowed: - to get the meta-data as json-rpc message:

  • to get a binary webgl object:

    http://.../WebGL?q=mesh&vid=456&id=1&part=0

    vid : visualization view ID (GlobalID of the view Proxy) id : id of the object in the scene part: WebGL has a size limit, therefore an object can be splitted in several part. This is the part index.