Trisurf Monte Carlo simulator
Samo Penic
2016-07-08 c7f52eada2cb8c1695afac6c7beed8fdda669288
python/trisurf/tsmgr.py
@@ -239,13 +239,28 @@
      # Create the RendererWindow
      renderer_window = vtkRenderWindow()
      renderer_window.AddRenderer(renderer)
# Set up a check for aborting rendering.
      # Create the RendererWindowInteractor and display the vtk_file
      interactor = vtkRenderWindowInteractor()
      interactor.SetRenderWindow(renderer_window)
      interactor.Initialize()
#       interactor.AddObserver("TimerEvent", RenderUpdate)
#      timerIDR = interactor.CreateRepeatingTimer(1000)
      interactor.Start()
def RenderUpdate(obj, event):
   # obj will be the object generating the event.  In this case it
   # is renWin
   window=obj.GetRenderWindow() #.GetRenderer()
   renderer=window.GetRenderers()
   try:
      actor=renderer.GetActors()
   except:
      pass
   actor=renderer.GetActors()
   print(actor)
def getListOfHostConfigurationByHostname(hosts,host):