Пример #1
0
 def initApplication(self):
     return vtkPVWebApplication()
Пример #2
0
 def __init__(self):
     self.Application = vtkPVWebApplication()
     self.ParaViewWebProtocols = []
     self.initialize();
Пример #3
0
 def initApplication(self):
     return vtkPVWebApplication()
Пример #4
0
 def __init__(self):
     self.Application = vtkPVWebApplication()
     self.ParaViewWebProtocols = []
     self.initialize()
Пример #5
0
   This module is now deprecated.
"""

from twisted.web import server, resource
from twisted.web import server, resource
from twisted.web.error import Error

from paraview import simple
from paraview.web import helper
from vtkParaViewWebCorePython import vtkPVWebApplication

import exceptions
import base64

pv_web_app = vtkPVWebApplication()

class WebGLResource(resource.Resource):
    """
    Resource using to serve WebGL data. If supports URLs of two forms:
    - to get the meta-data as json-rpc message:
           http://.../WebGL?q=meta&vid=456

        - 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.
    """
Пример #6
0
   This module is now deprecated.
"""

from twisted.web import server, resource
from twisted.web import server, resource
from twisted.web.error import Error

from paraview import simple
from paraview.web import helper
from vtkParaViewWebCorePython import vtkPVWebApplication

import exceptions
import base64

pv_web_app = vtkPVWebApplication()


class WebGLResource(resource.Resource):
    """
    Resource using to serve WebGL data. If supports URLs of two forms:
    - to get the meta-data as json-rpc message:
           http://.../WebGL?q=meta&vid=456

        - 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.