[vtkusers] 2D overlay on 3D visualization

imran khan khan.imranh at gmail.com
Wed Jun 29 16:27:45 EDT 2011


Tijmen:

I was able to implement Graphics drawing routines using the new
vtkContextScene over a 3d vtkWindow.

You could use DrawEllipse or DrawPoly to draw the circle. These are through
the vtkContext2D class.

I had to download the latest code from git as this part of code seems to be
still under development.

A good place to start is to look at the example in TestChartsOn3D.

Marcus has done a great job in enhancing vtk for annotations on a 2D Canvas.

Imran

Hello everyone,


I'm working on a multitouch application for VTK. A 3D dataset is visualized
on the screen, and the multitouch input is used for the interaction. I want
to draw the current locations of the touches as a 2D overlay, so that the
user(s) know which touches are recognized. What would be the best and
easiest way to draw up to 10 points/circles in 2D on top of the 3D
visualization?


Cheers,
Tijmen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110629/cbd7d1ca/attachment.htm>


More information about the vtkusers mailing list