vtkStructuredGrid usage question in MayaVi

Tyler hayes.tyler at gmail.com
Mon Apr 23 19:00:59 EDT 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