Exemplo n.º 1
0
def reset_trace_observer():
  trace_globals.observer = servermanager.vtkSMPythonTraceObserver()
  trace_globals.observer_active = False
Exemplo n.º 2
0
def trace_observer():
  """This method will create a new observer if none exists."""
  trace_globals.observer = trace_globals.observer if trace_globals.observer else \
                           servermanager.vtkSMPythonTraceObserver()
  return trace_globals.observer
Exemplo n.º 3
0
def reset_trace_observer():
    trace_globals.observer = servermanager.vtkSMPythonTraceObserver()
    trace_globals.observer_active = False
Exemplo n.º 4
0
def trace_observer():
    """This method will create a new observer if none exists."""
    trace_globals.observer = trace_globals.observer if trace_globals.observer else \
                             servermanager.vtkSMPythonTraceObserver()
    return trace_globals.observer