, # Identifier for this component interactive_quality = 60, # 0 for fastest render, 100 for best quality interactive_ratio =. , # Instance of vtkRenderWindow (required) ref =. from trame.widgets import vtk def end (): pass remote_view = vtk. The component also provides a convenient method for pushing a new image to the client when you’re modifying your scene on the Python side. The list of available events can be found here. The component allows you to directly tap into a vtk.js interactor’s events so you can bind your own method from Python to them. This component gives you controls to the image size reduction and quality to reduce latency while interacting. The VtkRemoteView component relies on the server for rendering by sending images to the client by simply binding your vtkRenderWindow to it. trame_vtk/modules/common/serve/trame-vtk.js Trame widgets VtkRemoteView To update the client code, run the following command line while updating the targeted version mkdir -p. Development: Grabbing client before push to PyPI Share your experience with a testimonial or with a brand approval. Trame | Discussions | Issues | RoadMap | Contact Us Enjoying trame? This license has been chosen to match the one use by VTK and ParaView which can be exposed via this library. Trame-vtk is made available under the BSD-3-Clause License. The API Reference documentation provides API-level documentation. The Trame Tutorial is the place to go to learn how to use the library and start building your own application. Trame-vtk can be installed with pip: pip install -upgrade trame-vtk Usage Trame lets you choose if you want to leverage Remote Rendering or if the client should do the rendering by leveraging vtk.js under the hood. Several components are available so you can leverage VTK either for its data processing and/or rendering. VTK integration in trame allows you to create rich visualization and data processing applications by leveraging the Python wrapping of the VTK library. Trame-vtk extend trame widgets with components that can interface with VTK and/or ParaView.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |