Message: Re: ogl refresh from threads Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: ogl refresh from threads 

Forum: Multithreading
Re: None ogl refresh from threads
Re: None Re: ogl refresh from threads (John Allison)
Re: None Re: ogl refresh from threads
Date: 05 Oct, 2017
From: John Allison <John Allison>

> I tried this:
> 
> /vis/disable /event/keepCurrentEvent
> 
> /run/beamOn 100
> 
> /vis/enable /vis/reviewKeptEvents
> 
> w/o success.

Try /vis/enable /vis/viewer/flush

/event/keepCurrentEvent seems to need to be applied during event processing and I haven't figured out how to do that. But the following works for me. Put this in your end of event action

    G4EventManager::GetEventManager()->KeepTheCurrentEvent();

then

  /vis/disable
  /run/beamOn
  /vis/enable
  /vis/viewer/flush

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 3 3
 All All
Add message: (add)

1 None: Re: ogl refresh from threads   (ungaro@jlab.org - 05 Oct, 2017)
(_ None: Re: ogl refresh from threads   (John Allison - 06 Oct, 2017)
(_ None: Re: ogl refresh from threads   (ungaro@jlab.org - 06 Oct, 2017)
 Add Message Add Message
to: "Re: ogl refresh from threads"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews