AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Paraview web1/23/2024 ![]() ![]() That class define both the client and the server. ![]() To look at the concrete example you can see how I implemented the file browsing with ParaView-Visualizer using trame here. You will see that trame wins without question.įor your use-case, when you are heavily relying on existing protocols, it is true that with trame you will have to implement them within your application rather than using the one we wrote a while back. But if you do that, you probably have your own js-client and therefore the benefit of trame start becoming smaller and smaller unless you create vue-widgets that you orchestrate within trame which rely on those protocols by using the provided wsClient.īut the point that I was trying to make was if you want to bind a method or a variable between the client and the server, look at the amount of code you need to write for both. In trame, you can still register your paraviewweb-protocols. Remember trame is not killing ParaViewWeb, it is just based on top of it with a built-in client and infrastructure to streamline client/server binding. To be honest if you are already tapping into existing protocols and have no issue binding them on the client side, it is true that you don’t really need trame. Thanks for your feedback and clarifications. While Trame looks like the very first version of product with simple script samples from which it’s hard to understand where is server-side and client-side logic and how it can be used to build real applications. Also with possibility to use any UI client-side framework (instead of Visualizer.js) including Vue.js. ![]() But even from the perspective of the samples ParaviewWeb is looking as mature software package with rich API and functionality taking minutes to launch and use. May be I didn’t get the things right, I really appreciate the work you’ve done and products you’ve created. ![]() I`m trying to understand, what is trame in a nutshell? It’s clear that ParaviewWeb is a pvpython process running on server-side. It’s good to have full control over the render in some cases but what about some out of the box capabilities for the cases when such low level details approach is too much? On the other hand, as I understood from the trame samples, I need to create a lot of code lines just to open dataset, setting up all necessary properties. And I can import and render any number of datasets simultaneously and control their states using corresponding IDs etc. Now I have an ID for that reader and can add any other sufficient filter to it and do any other needed operations with it. In ParaviewWeb I’ll call ‘pv.’ method and that’s it. In ParaviewWeb I need just to call ‘’ method, what would be the analogue for that in trame?Īnother use case would be to import some dataset. Lets take as an example browsing of the remote server directory. To be honest I don’t see a way to lower complexity of code while using trame. In general nowadays, I would go to trame unless the client side needs to be in something else than in vue.js. Unless I don’t understand what you are talking about? Unless you are comparing the Python code of VTK vs Python code of ParaView? To my knowledge with both VTK/ParaView Web and trame, you need to implement your own logic for filtering, dataset handling, selection and more. Usually you need to write more code when using paraviewweb (=vtk.js+wslink) than doing with trame. Trame can work with either VTK or ParaView like ParaViewWeb (even if the name is confusing here). Trame has a strong reliance to Vue.js which means you can easily create your own widgets and enable them within trame if they are Vue based. It abstract and optimize the network exchange and remove all the boilerplate code needed when developing in plain VTK/ParaView Web. Trame is based on VTK/ParaView Web and aim to improve the development speed by lowering the complexity of the application and enabling a wider set of developers to contribute.īasically trame offer a built-in generic client that let you define your application easily and quickly from the server side. ![]()
0 Comments
Read More
Leave a Reply. |