[vtkusers] DataSetToDataObjectFilter Problem in 5.0.1

Alan Blair alan.blair at scienziasystems.com
Mon Aug 28 14:51:46 EDT 2006


I've been using this code successfully with 4.2, but after upgrading to
5.0.1 it fails at the dstdo->GetOutput().  yLine is a vtkLineWidget, probeY
is a vtkProbeFilter.

 

yLine->GetPolyData(pdY);

probeY->SetInput(pdY);

probeY->SetSource(image);

 

vtkDataSetToDataObjectFilter *dstdo = vtkDataSetToDataObjectFilter::New();

            

dstdo->SetInputConnection(probeY->GetOutputPort());

            

plotY->AddDataObjectInput(dstdo->GetOutput());

 

Any help would be appreciated.

 

Alan Blair

Scienzia Systems Inc.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060828/d7b6de59/attachment.htm>


More information about the vtkusers mailing list