VTK Tutorial

Table of contents:

This tutorial will help you to use both Python and VTK to do powerful visualisations.

Learning VTK

Here follow some main areas covered in the Tutorial.

Introduction

Screenshot-Hello World.png In this introduction you will learn how to master the very basics of VTK using python as script language. Each tutorial includes detailed explanations, code examples as well as exercises.

Reading and Converting Data Files

Screenshot-Teapot.png The tutorials included here describe how to read your own data from files as well as creating vtk files from your data.

Vector Visualizations

Screenshot-Balls and Arrows from a VTK file.png Vector Visualizations

Atoms

Screenshot-Atoms.png Atoms In this tutorial you will learn how to make visualization of molecules and atoms.

Animations

Animated.gif Learn how to create realtime animations and animated gifs. Klick on the image to the left to see an example of an animated gif.

Volume Rendering

Screenshot-Volume Rendering Screenshot-Volume rendering.png Volume rendering examples including isosurfacesshading and cut planes.

Isosurfaces

Screenshot-Hydrogen Visualization-1.png Surfaces in Volume data can be extracted by setting a threshold (isovalue) and applying a contour filter.

Streamlines

Screenshot-Streamlines.png Vector data can be visualized using so called streamlines that follow the vctorial directions from some seed points.

TkInter

This is work in progress.... However, you will see how easy it is to program your own GUI for interaction with your favorite VTK application.

Keywords

Her are some keywords listed alphabetically, which are explained in the tutorial.

Atoms

Animated gif

Animations

Animations Realtime

Camera

Classes

Color Transfer Functions

Composite Volume Rendering

Converting Data Files

Cut Planes

gif animations

Glyphs

GUI programming

Hungarian Notation

Interaction

Isosurfaces

Reading Text Files

Molecules

Readers

Realtime Animations

Running a VTK application using python

Scalar bar

Shading

Streamlines

Text actor

Text property

TkInter

Text Files

Outlines

Volume Rendering

Writers