Example: vtkGraphLayoutView And vtkGraphToGlyphs

vtkGraphLayoutView is a subclass of vtkGraphLayoutView which has own renderer, renderWindow, command observer, actor and etc. The following code shows how to use it to display a 2D image. from vtk import * def main(): # create a random graph source = vtkRandomGraphSource() source.SetNumberOfVertices(100) source.SetNumberOfEdges(110) source.StartWithTreeOn() source.Update() arcParallelStrategy = vtkArcParallelEdgeStrategy() Read more…

XOR Strings
: Input your strings, the tool can encrypt and decrypt them.