ParaViewWeb can indeed load files at startup. For that you need to add the extra argument --load-file can.ex2. You can even automate that process with the launcher so the client can provide which file should be loaded on the server side.
I have automatically setup Glance to load a vtp (ascii) file on startup. Is it possible to select/show the first (or any) of the defined data fields on open (as per default the “Color By” field is set to white solid color and not the first available data field)?
I have a question of whether it is possible after the server is already launched to somehow using the command prompt or something else to command the visualizer to load another file without shutting down the server and adding that extra argument --load-file can.ex2
It does not load my local data but shows the browse (data) dialog and I get the following errors:
ParaViewGlance.html?name=foo&url=/scene.vtkjs:22680 GET http://localhost:8000/glance-external-ITKReader.bddfe222bdf344dd54cd.js net::ERR_ABORTED 404 (File not found)
ParaViewGlance.html?name=foo&url=/scene.vtkjs:22682 GET http://localhost:8000/glance-external-Workbox.9633edaa519493db2499.js net::ERR_ABORTED 404 (File not found)
When I open this file via the browse-dialog it works just fine. What is glance-external-ITKReader and glance-external-Workbox?
The standalone HTML does not bundle the ITK which is fine for your case, but the name needs to have the extension so the mapping to the proper reader can happen. Because the assumption is that the url could be just /data/sfgi76swdiufyo7wd with not a proper name for that file.
You can load your own script (edit the index.html) that will use the global API to load/read data that you fetch at a given interval. Assuming I understood your question.
I did exactly the same to fetch a list of .vtp files placed at a remote server.
Actually I want to do a little different.
Suppose a basic url is there with one name and one url and then after 5 or 10 seconds new .vtp files is loaded with old file still there and it continues to do this until the last file.
To some extent yes! in fact 50% of it. Second part is to figure out how to put those list of files in the form of a proper url with few seconds of delays.