VTK 6.1 mex demo incl. complete tutorial for installation of VTK 6.1 under Windows
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. ^^
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > External Language Interfaces > C with MATLAB > Write C Functions Callable from MATLAB (MEX Files) >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.6.0.0 | ...
|
||
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 |