All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 02:42, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Python/Arrays/GetValues (content was: "Seems to work, but segfaults at the end? Tested: No segfault in Python 2.7 and Python 3.4. ==GetValues.py== <source lang="python"> from __future__ import print_function import vtk from vtk import * #setup sphere sphereSource = vtk.vtkSphereSource() sphereSource.Update() polydata = vtk.vtkPolyData() polydata.ShallowCopy(sphereSource.GetOutput()) normals = polydata.GetPointData().GetNormals(); normal0 = normals.GetTuple3(0); print("Normal0: {:3.1f} {:3.1f} {:3.1f}".format(...")