Skip to content

esmitt/FirstVTK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Rendering a cone using VTK

Render a simple cone using VTK version 8.1.0. It handles a mouse interactor over the rendered window.

You need CMake to executed it properly. After running, it should looks like:

Cone (see on imgur)

In Windows, remember to add the DLLs into the environment. Also, using Visual Studio, go to Project's Properties --> Debugging --> Environment and set PATH=%PATH%;%VTK_DIR%. VTK_DIR is set into global environment where all dlls files (after VTK building) are placed (in my case C:\VTK\build\bin\Debug)

This code was compiled and executed using Visual Studio Community 2017

If you want to contribute to this project and make it better, your help is very welcome.