[vtkusers] Error executing probeFilter pipeline

Jothy jothybasu at gmail.com
Fri Sep 24 12:13:28 EDT 2010


Hi Guys!

I am trying to probe a imageData with probe filter

and here is the bit of that, but it throws the error following the dose.

Could you find out anything wrong?



self.LineA.SetInteractor(self.frameA.GetRenderWindow().GetInteractor())
        self.LineA.On()
        probe=vtk.vtkProbeFilter()
        line = vtk.vtkPolyData()
        probe.SetInput(self.LineA.GetPolyData(line))


        probe.SetSource(ImageData)

        tuber = vtk.vtkTubeFilter()
        tuber.SetInput(probe.GetPolyDataOutput())
        tuber.SetRadius(0.1)
        lineMapper = vtk.vtkPolyDataMapper()
        lineMapper.SetInputConnection(tuber.GetOutputPort())
        lineActor = vtk.vtkActor()
        lineActor.SetMapper(lineMapper)

        xyplot = vtk.vtkXYPlotActor()
        xyplot.AddInput(probe.GetOutput())


        ren = vtk.vtkRenderer()
        ren2 = vtk.vtkRenderer()
        renWin = vtk.vtkRenderWindow()
        renWin.AddRenderer(ren)
        renWin.AddRenderer(ren2)
        iren = vtk.vtkRenderWindowInteractor()
        iren.SetRenderWindow(renWin)

        ren.AddActor(lineActor)
        ren.AddActor2D(xyplot)

        iren.Initialize()
        renWin.Render()
        iren.Start()



ERROR: In ..\..\vtk-5.4.2\Filtering\vtkExecutive.cxx, line 757
vtkStreamingDemandDrivenPipeline (10916458): Algorithm
vtkProbeFilter(109152F8) returned failure for request: vtkInformation
(10916BE8)
  Debug: Off
  Modified Time: 77257
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA_OBJECT
  ALGORITHM_AFTER_FORWARD: 1
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0

Thanks

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100924/410b3ab3/attachment.htm>


More information about the vtkusers mailing list