Hi all..

I'm finding some weird behavior with Mayavi when I go to update
scalars in a scalar_field source. With ImagePlaneWidgets, after using
the set() or reset() methods on the source, if I say
src.update_image_data = True, then I get a bunch of errors from the
VTK subsystem (copied below) and the planes won't update without
interaction. My initial tactic was to simply skip that step, and
everything appeared fine with respect to the ImagePlaneWidgets. When I
put an additional threshold and surface into that source's pipeline,
then I discovered the reverse problem is true. Those objects won't
update automatically unless I include the src.update_image_data = True
step. How do I update the data correctly?

Thanks
Mike



ERROR: In ../../Graphics/vtkPlaneSource.cxx, line 386
vtkPlaneSource (0x21ffb510): Bad plane coordinate system

ERROR: In ../../Graphics/vtkPlaneSource.cxx, line 386
vtkPlaneSource (0x21ffb510): Bad plane coordinate system

ERROR: In ../../Widgets/vtkImagePlaneWidget.cxx, line 1556
vtkImagePlaneWidget (0x1c3e4400): Invalid extent [0, -1, 0, -1, 0,
-1]. Perhaps the input data is empty?

ERROR: In ../../Widgets/vtkImagePlaneWidget.cxx, line 1671
vtkImagePlaneWidget (0x1c3e4400): Invalid X extent: 2.14748e+09

ERROR: In ../../Widgets/vtkImagePlaneWidget.cxx, line 1689
vtkImagePlaneWidget (0x1c3e4400): Invalid Y extent: 2.14748e+09

ERROR: In ../../Graphics/vtkPlaneSource.cxx, line 386
vtkPlaneSource (0x21ffb510): Bad plane coordinate system

ERROR: In ../../Filtering/vtkExecutive.cxx, line 757
vtkStreamingDemandDrivenPipeline (0x21fbb1e0): Algorithm
vtkPlaneSource(0x21ffb510) returned failure for request:
vtkInformation (0x220e4e70)
  Debug: Off
  Modified Time: 938164
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to