[vtkusers] re: how to draw overlays on a image (?? ?)

Bruce Lamond s9653742 at sms.ed.ac.uk
Thu Mar 3 12:42:37 EST 2005


Hi there,

Use vtkPolyDataMapper2D and vtkActor2D to add lines etc. to an image.

Bruce

>Hi,
>
>I would appriciate any help on drawing overlays on a image.
>
>How can I draw a line, a circle on a image. The lines (vtkActor from
>vtkLineSource and vtkMapper) will be covered by the image. If I make the
>image a texture and make the texture translucent, then I can see the line.
>but the image looks a bit fainter after it turns translucent and I couldn't
>see both the image and the line clear.
>
>There must be some other way to draw overlays on a image. Could someone
>help me?
>
>Thanks.

--
=====================================================================
Bruce Lamond. Ph. D. student (www.brucelamond.net)
Institute of Perception, Action & Behaviour (www.ipab.inf.ed.ac.uk)
School of Informatics
JCMB
University of Edinburgh
The Kings Buildings
West Mains Road
Edinburgh EH9 3JZ
UK
Tel. (00 44 )/(0) 7791 773 019



More information about the vtkusers mailing list