VTK 6.1 mex demo incl. complete tutorial for installation of VTK 6.1 under Windows

Version 1.6.0.0 (1.53 MB) by Mimi
use vtk 6.1 with matlab via mex under windows, installationguide for VTK 6.1
402 Downloads
Updated 22 Feb 2016

View License

contains a demo .cpp file which uses VTK (to draw a line) and a function to generate and run it as mex file, quick and dirty ;-)
i use vtk 6.1 and windows 8 64 bit.
i had problems to find and link the needed vtk *.lib files, so the function links all files from vtk/lib automatically. eventually you have to conform your vtk/lib path in my function file.
call function with: VTKLoadLibraries('testfile.cpp');
_______
I added a complete tutorial for installation of VTK 6.1 under Windows 64 bit. It starts with generating the binaries with CMake and ends with generating and executing a mex testfile in Matlab. I hope, someone will find it usefull. I wasted a week until everything worked on my system and it was very hard to remember every step i tried until it worked. ^^

Cite As

Mimi (2024). VTK 6.1 mex demo incl. complete tutorial for installation of VTK 6.1 under Windows (https://www.mathworks.com/matlabcentral/fileexchange/48948-vtk-6-1-mex-demo-incl-complete-tutorial-for-installation-of-vtk-6-1-under-windows), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.6.0.0

...
...spelling

1.5.0.0

spelling

1.4.0.0

spelling...^^

1.3.0.0

added full installationguide for VTK 6.1

1.2.0.0

...

1.1.0.0

...

1.0.0.0