9f1c1ae48f4392d7774d984673dcda48ae18f0bf,dipy/io/vtk.py,,save_vtk_streamlines,#Any#Any#Any#Any#,93
Before Change
if binary:
writer.SetFileTypeToBinary()
writer.Update()
writer.Write()
def load_vtk_streamlines(filename, to_lps=True):
After Change
polydata.SetLines(vtk_lines)
file_extension = filename.split(".")[-1].lower()
if file_extension != ".vtk" or file_extension != ".fib":
save_polydata(polydata, filename)
else:
writer = vtk.vtkPolyDataWriter()
writer.SetFileName(filename)
writer = utils.set_input(writer, polydata)
if binary:
writer.SetFileTypeToBinary()
writer.Update()
writer.Write()
def load_vtk_streamlines(filename, to_lps=True):
Load streamlines from vtk polydata.
Load formats can be VTK, FIB
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: nipy/dipy
Commit Name: 9f1c1ae48f4392d7774d984673dcda48ae18f0bf
Time: 2020-07-21
Author: svabhishek29@gmail.com
File Name: dipy/io/vtk.py
Class Name:
Method Name: save_vtk_streamlines
Project Name: invesalius/invesalius3
Commit Name: c68dfbfb620a66c880c011d702f871c954d2ef9a
Time: 2009-08-26
Author: paulojamorim@gmail.com
File Name: invesalius/data/slice_.py
Class Name: Slice
Method Name: UpdateWindowLevelBackground
Project Name: suavecode/SUAVE
Commit Name: b74973b84022772ec94d1c92b1c96a5f2fb329fe
Time: 2019-01-13
Author: timdmacdo@gmail.com
File Name: trunk/SUAVE/Input_Output/OpenVSP/vsp_write.py
Class Name:
Method Name: write_vsp_fuselage