[vtkusers] How to draw a 5mm line with vtkImageCanvasSource2D?

bnsteel bnsteel at gmail.com
Wed Nov 2 07:30:03 EDT 2011


Wouldn't you just assign a conversion between pixels and mm?  You could
specify this based on the magnification of your image, or look up the
resolution or pixel density on your monitor /display to get exactly 5mm on
the screen.  I guess the question then becomes how do you lookup the
resolution of the display from within your code?  

Best,
brooke

--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-a-5mm-line-with-vtkImageCanvasSource2D-tp4957060p4957866.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list