Showing posts with label examples. Show all posts
Showing posts with label examples. Show all posts

Friday, April 13, 2007

Examples package (ALL in C++)

Learning VTK in C++ may be difficult, because there are few C++ VTK examples with the standard source code package. Instead, it contains many tcl scripts which needs quite a lot of time to convert back to C++ source code.

I have written a converter to help the conversion. Here is the examples package (ALL in C++) that I have been ported. It contains more than 35 c++ examples.

(Please first follow the VTK installation guide to build VTK from source)
Examples package (ALL in C++):


Many examples in this pack need VTK data package. Please download it from http://public.kitware.com/VTK/get-software.php#latest and extract to any folder you preferred.

Then open project_config.h, locate the following source code and make changes

// In project_configure.h

#define VTK_DATA_ROOT "D:\\Users\\Peter\\bin\\VTKData\\Data\\"

// Change it into ...

#define VTK_DATA_ROOT <your VTK Data directory>