Re: [Paraview] Some questions about Catalyst Live Visualization

2015-11-02 Thread Adam Lyon
Hi Andy - I've pushed my "CatalystLiveButtons" plugin to https://github.com/lyon-fnal/CatalystLiveButtons . It has a button for the single step and a connection button that also sets the Paused state once the connection is established. I hope you don't mind me "borrowing" your icons. One day I'll m

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-11-02 Thread Andy Bauer
Hi Adam, I just wanted to let you know that the gui name that's shown in the GUI when doing a live connection is now fixed in ParaView master. It will be in the upcoming 5.0 release. Please let me know when you have your plugin for the "continue to the next time step" available and we'll look int

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-11-02 Thread Dan Lipsa
Hi Andy, > (e.g. images, data extracts or to Catalyst Live via a connected client) > then RequestDataDescription() should return that there's no work to do so > that no cycles are wasted generating the VTK object. > This is a good idea. I think we could indeed return that there is no work on t

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-10-31 Thread Adam Lyon
HI Andy - I think you've got the right idea! Thanks. By the way, I've written a little ParaView plugin that makes a Catalyst Live "single step" button. If you have the simulation paused on a time step, clicking the button will allow the simulation to advance to the next time step and will pause

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-10-31 Thread Andy Bauer
Hi Adam, In my opinion it is a bug. My thinking is this, if there's no Catalyst work to do then the performance penalty for using Catalyst should be negligible. The VTK grid should only be generated if there's Catalyst work to do (this will usually be quite fast but certainly may not be negligible

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-10-30 Thread Dan Lipsa
Hi Adam, On Fri, Oct 30, 2015 at 10:20 AM, Adam Lyon wrote: > I'd like this code to only run if a ParaView client is actually connected > (because if there's no client connected then it's making VTK objects that > no human is looking at, so it's wasting time). So I'd like to know if > there's a

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-10-30 Thread Adam Lyon
Hi Andy - thanks for the answers!! You misunderstood my question #2. I'm not reporting a bug -- the adapter works fine and feeds data appropriately. Right now my code to translate my data objects to VTK objects runs no matter what. I'd like this code to only run if a ParaView client is actually con

Re: [Paraview] Some questions about Catalyst Live Visualization

2015-10-30 Thread Andy Bauer
Hi Adam, To rename the objects in the pipeline, you should be able to do: simSteps = coprocessor.CreateProducer(datadescription, 'simSteps') RenameSource('simSteps', simSteps) simCalHits = coprocessor.CreateProducer(datadescription, 'simCalHits') RenameSource('simCalHits', simCalHits) Please let

[Paraview] Some questions about Catalyst Live Visualization

2015-10-29 Thread Adam Lyon
Hi, I have recently been successful in hooking up Catalyst to our Particle Physics analysis framework that we use at Fermilab. Our main use case is to make an "event display" - that is a visualization of a high energy physics event (e.g. particle collision) in a simulated detector. The Catalyst Liv