
Visual Programming of VTK Pipelines in Simulink
Author(s) -
David G. Gobbi,
Parvin Mousavi,
Adam Campigotto,
Andrew W. L. Dickinson,
Parvin Abolmaesumi
Publication year - 2010
Publication title -
vtk journal
Language(s) - English
Resource type - Journals
ISSN - 2328-3459
DOI - 10.54294/4vuezh
Subject(s) - computer science , pipeline (software) , computer graphics (images) , block (permutation group theory) , window (computing) , zoom , interface (matter) , scripting language , class (philosophy) , matlab , operating system , artificial intelligence , engineering , geometry , mathematics , bubble , maximum bubble pressure method , petroleum engineering , lens (geology)
We have created a wrapper package named SimVTK that allows VTK, and third-party classes derived from VTK classes, to be seamlessly integrated with MATLAB’s Simulink interface. Our package generates a loadable Simulink module for each VTK class, which is then represented as a “block” on the Simulink canvas, and can be connected with other blocks to form a pipeline. Each block can be double-clicked to bring up a dialog box that allows introspection and control of the VTK class. After a VTK pipeline has been built, it can be run interactively from within Simulink. The outputs of the pipeline can be displayed in an interactive render window, written to a disk file, or exported to a MATLAB variable. Within Simulink, the VTK pipeline can also be connected to the ITK pipeline through the use of our SimITK package. We generate the VTK-Simulink wrapper automatically though the use of CMake build scripts, with XML as an intermediate representation of the VTK class interfaces.