[vtkusers] How suitable is VTK for 'live' display during an experiment?

Vladimir Lazunin lazunin.v.aa at m.titech.ac.jp
Thu Sep 27 21:36:58 EDT 2007


Maybe I misunderstood, but why do you need a 3D library to make a 2D 
picture? Yes, VTK can do the job, but to me it seems like a huge 
overkill - why not to use an imaging library instead? I guess both 
Tkinter and GTK+ support at least primitive bitmap operations.

Andrew Gregory wrote:
> I am planning an experiment that will involve raster scanning in two dimensions using motors, typically with 200 points in both X and Y directions.
> At each point in the scan I would like to plot a pixel in a colour given by a measured signal. The experiment will be quite slow so pixels should be plotted 'live', i.e. during the experiment rather than afterwards.
>
> Can anyone tell me if VTK is a good choice for this problem - or recommend something more suitable? 
> Is there a demonstration script that uses 'live' plotting of pixels.
>
> Python is my preferred programming language, preferably with Tkinter or GTK+.
> I've never used VTK and know little about it, but I could not find an answer to this question in a quick search of the archives.



More information about the vtkusers mailing list