[Paraview-developers] CreateBindedWidget
kyr
akyrieleis at gmail.com
Wed Jan 8 09:34:36 EST 2014
Oh, of course.
I have another question relating to a previous post. Using a smaller data
set I can now display and use the slice widget in ParaviewWeb using:
def showSliceTool(self, dname):
Slice2 = simple.FindSource('Slice2')
dataSet = simple.FindSource(dname)
view = simple.GetActiveView()
sliceWidget = pwsimple.CreateBindedWidget(Slice2.SliceType, view)
dataInfo = dataSet.GetDataInformation(0)
sliceWidgetW = simple.servermanager._getPyProxy(sliceWidget)
simple.Render()
However, the white bounding box is still much smaller than the model (and
for a much larger model therefore not visible so that the widget was hardly
usable)
As already said, the line
sliceWidgetW.PlaceWidget = dataInfo.GetBounds()
does not increase the bounding box and actually leads to the code not
proceeding.
dataInfo.GetBounds() gives the correct size of the model.
Is there another way to modify the size of the widget's bounding box ?
Many thanks
kyr.
--
View this message in context: http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/CreateBindedWidget-tp2745p2747.html
Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.
More information about the Paraview-developers
mailing list