[vtkusers] Question about vtkShepardMethod
Luca Pamparana
luca.pamparana at gmail.com
Wed Apr 9 06:00:42 EDT 2008
Hi everyone,
I am trying to use the vtkShepard method as follows:
// So the output from this is a vtkPolyData type structure
vtkImageData * in = vtkStripperObj->GetInput();
The output is a slice from a 3D volume...so the points are defined in 3D...
shepard->SetInput(in);
shepard->SetSampleDimensions(80, 80, 1);
shepard->Update();
So I want to resample the slice data on a 80 X 80 grid. However, I get the
following error:
ERROR: In /home/pankaj/development/VTK/Imaging/vtkShepardMethod.cxx, line
355
vtkShepardMethod (0x1685c00): Sample dimensions must define a volume!
ERROR: In /home/pankaj/development/VTK/Imaging/vtkShepardMethod.cxx, line
176
vtkShepardMethod (0x1685c00): Points must be defined!
Does anyone know what I might be doing wrong? Any help would be greatly
appreciated.
Cheers,
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080409/666dc7eb/attachment.htm>
More information about the vtkusers
mailing list