[vtkusers] Missing package and VTK 4

Will Schroeder will.schroeder at kitware.com
Mon Nov 26 15:39:27 EST 2001


Hi João -

>Where I can file the package AttributeChanges.zip?

If you look in the VTK FAQ item 6.7 you'll find the link to:

http://public.kitware.com/VTK/files/misc/Upgrading.zip

which contains what you are looking for. It also contains a Perl script that does these conversions for you (works ~85% of the time).

>What class should I use in VTK 4 instead of vtkFloatPoints (of VTK 3.2)?

You use vtkPoints. The default type is float. You can also do SetDataTypeToFloat(), etc. to set the data type to the desired type.

vtkPoints *pts = vtkPoints::New();
pts->SetDataTypeToFloat();
pts->SetNumberOfPoints(npts);
etc.

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20011126/50140f46/attachment.htm>


More information about the vtkusers mailing list