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:
(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