[vtkusers] Generating path lines
fraser.callaghan at sydney.edu.au
Sun Oct 5 10:08:13 EDT 2014
Are there any examples available for generating particle pathlines in VTK?
I have previously been working via the paraview interface (see example below) but would like to migrate to a pure VTK alternative and am having trouble understanding the process.
Thanks for you help,
vol = pvs.PVDReader(FileName=pvdFile)
source = pvs.XMLPolyDataReader(FileName=sourceVtpFile)
outputPaths = pvs.ParticlePath( SeedSource=source )
outputPaths.SelectInputVectors = ['POINTS', 'Velocity']
outputPaths.TerminationTime = terminationTime
More information about the vtkusers