vtkStructuredGrid usage question in MayaVi

Tyler hayes.tyler at gmail.com
Tue Apr 24 01:00:59 CEST 2007


Just found it!!!! Still not sure what the third entries are, but it's
a start!

# create a vtk data file
    sp = pyvtk.StructuredPoints ((nx, ny, 1), (xmin, ymin, 0), (dx,
dy, 1))
    pd = pyvtk.PointData(pyvtk.Scalars(z, name='Scalars',
                                       lookup_table="default"))

Tyler




More information about the Python-list mailing list