[vtkusers] Converting old version code to vtk4.0?

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat May 25 07:12:35 EDT 2002


>>>>> "MEB" == Mahmoud El-Banna <elbanna_m at hotmail.com> writes:

    MEB> <html><div style='background-color:'><DIV></DIV> <DIV></DIV>
    MEB> <P>hello,</P> <P>i am trying to convert old version VTK
    MEB> applications to VTK 4.0 ,how can i convert the following code
    MEB> segment?</P> <P>vtkScalars *scalar=vtkScalars :: New();</P>
    MEB> <P>vtkStructuredPoints *sp =vtkStructuredPoints ::
    MEB> New();<BR>&nbsp;scalar =
    MEB> sp-&gt;GetPointData()-&gt;GetScalars();<BR>&nbsp;vtkStructuredPointsToImage

Please read this:

http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq06.009.htp

prabhu



More information about the vtkusers mailing list