Hi,
We have a requirement where our application will send a request to the
paraview web server to render a specific file (which will be available in
the data given directory) in the visualizer app, and this will be embedded
within our application page as a iframe, whose source is the Visualizer
app's index.html.
We are using the pvpython.exe executable to start the paraview web server.
The command used to start the server is:
.\bin\pvpython.exe
"C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\server\pvw-visualizer.py"
--content
"C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www"
--data "C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\data" --port 8080
>From the command, we can see that the web content is being served from the
C:\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\share\paraview-5.2\web\visualizer\www
directory.
The index.html file uses the Visualizer.js script and calls the following
functions:
Visualizer.connect({ application: 'visualizer' });
Visualizer.autoStopServer(10);
Is there any way to find out the available functions in the Visualizer.js
script and call them from our custom html file? What we intend to do is to
update the index.html file and
a. add a javascript function which will accept a filename to be rendered
b. once the filename is received by this function, it will call the
visualizer and display the specified file
c. in the visualizer page, the open files tab should be hidden.
Please let me know if you require any clarification.
Cheers & Best Wishes,
Debopam
-------------------------------
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview