Portuguese version
HOME | PUBLICATIONS | RESEARCH | HELP ON VTK/ITK | SYNTHETIC VESSEL DATASET |




VTK:
Example: How to plot several spheres from a 3D point list. (glyph)(.html,.cpp)

Example: How to plot tubular structures taking into a count diameter variations. (Splines, TubeFilter)(.html,.cpp)

ITK:
Example: How to create and print color image in ITK.(.html,.txt)



--------------------------------------------------------------------------------------------------------------
How to compile a VTK program at Linux?

Once the VTK installed, to execute an example code from Kitware package, here is the thing:

1) Create a file CMakeLists.txt (get the example:CMakeLists.txt)
In this example , change the words: nome_projeto(project name), NOMEPROJETO (project name), nome_arquivo_fonte (source code file name), nome_arquivo_executavel (executable file name).

2)Put the CMakeLists and the source code at the same directory. On console, inside the CMakeLists's directory, try: $>ccmake .
To perform simple examples, no more changes is necessary on cmake compile. Press 'c' to configure, and 'g' to generate a binary file.

3) On console, try:
$>make

4)To perform the example program, try:
$>./executable_file_name


maysa (a t) ime.usp.br