[vtkusers] vtkImageToStructuredPoints GetOutput method wrong on Java

Dário Oliveira dariodisk at gmail.com
Tue May 2 23:35:49 EDT 2006


Hi friends.
I'm here trying to make the Canny example run in java, bur I had a problem
and I haven't found a solution in the mailing list. I don't know if it's a
dumb error. In the documentation, the method
vtkImageToStructuredPoints.GetOutput() should return a vtkStructuredPoints
type, but in reality it's returning a vtkImageData type.

Does anyone know what's happening? I'd reaaly apreciate any help.

thanks in advance.

here is the part of the code where the error is:

        vtkImageToStructuredPoints i2sp = new vtkImageToStructuredPoints();
        i2sp.SetInputConnection(imgMagnitude.GetOutputPort());
        i2sp.SetVectorInput(pad.GetOutput());
        i2sp.Update();

        // subpixel them
        vtkSubPixelPositionEdgels spe = new vtkSubPixelPositionEdgels();
        spe.SetInputConnection(gf.GetOutputPort());
        spe.SetGradMaps(i2sp.GetOutput());  ### here is the error ###

--
Dário Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060503/b201ef81/attachment.htm>


More information about the vtkusers mailing list