[Paraview-developers] Slicing / Selection Widget in Paraview/Web

kyr akyrieleis at gmail.com
Fri Nov 22 11:10:18 EST 2013


The 

dataInfo = dataSet.GetDataInformation(0)
sliceWidgetW = simple.servermanager._getPyProxy(sliceWidget)

works ok, but

sliceWidgetW.PlaceWidget = dataInfo.GetBounds()

is still not accepted.

I have got this code in a class derived from ParaViewWebProtocol and in a
file (in ../site-packages/paraview/web) with:

import types
import logging
import inspect
from time import time

# import RPC annotation
from autobahn.wamp import exportRpc

# import paraview modules.
from paraview import simple, servermanager

from paraview.web.protocols import ParaViewWebProtocol
from paraview.web import helper
from vtk.web import protocols as vtk_protocols

from vtkWebCorePython import vtkWebInteractionEvent
from paraview import ParaViewAdapter_pwsimple as pwsimple

at the beginning

Thank you

kyr.





--
View this message in context: http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/Slicing-Selection-Widget-in-Paraview-Web-tp2637p2663.html
Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.


More information about the Paraview-developers mailing list