[vtkusers] marching squares

Igor DYDENKO igor.dydenko at creatis.insa-lyon.fr
Tue Jul 25 07:34:16 EDT 2000


Hello,

I'm just beginning with vtk and I want to use it basically to display 2D
images with C++.

I have written a program which uses vtkStructuredPoint, then filters it
with vtkStructuredPointsGeometryFilter, and finally displays in a
vtkRenderWindow. 

However, the data is interpolated, i.e. I don't see the seperate pixels,
rather a smoothed lines instead. For my application I need to see each
pixel of the image.
It seems to me that vtkMarchingSquares would allow me to dispay the image
pixelised, rather than smoothed. Am I right?

I have downloaded vtk31 from the vtk web site, but   <vtkMarchingSquares.h>
is not there. Is this normal? Is there something else instead I could use?

Thanks for you answers.

I



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Igor Dydenko
    CREATIS - INSA 502
    69621 Villeurbanne Cedex
    France

    Fax : +33 (0)4 72 43 85 26
    http://www.creatis.insa-lyon.fr
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




More information about the vtkusers mailing list