<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Julio,<BR>
you could use vtkBMPReader or vtkJPEGReader to load an image according to the image that you need.<BR>
Now, to draw points&nbsp;I use vtkPoints, for lines&nbsp;vtkLineSource.<BR>
there are examples about that:<BR>
<U><FONT color=#800080><A href="http://www.vtk.org/doc/release/5.0/html/c2_vtk_e_7.html">http://www.vtk.org/doc/release/5.0/html/c2_vtk_e_7.html</A></FONT></U><A href="http://davis.lbl.gov/Manuals/VTK-4.5/c2_vtk_e_9.html"></A><BR>
The best example is BuildUGrid.py file where there are useful primitives.<BR>
&nbsp;<BR>
Best regards<BR>
&nbsp;<BR>
José<BR>
&nbsp;&nbsp;&nbsp;<BR><BR>&gt; From: pastrana@bgt.uni-hannover.de<BR>&gt; To: vtkusers@vtk.org<BR>&gt; Date: Tue, 18 Nov 2008 10:00:18 +0100<BR>&gt; Subject: [vtkusers] Newbie question!!!<BR>&gt; <BR>&gt; <BR>&gt; Hi VTK users,<BR>&gt; Before anything else, I want to tell that this <BR>&gt; is a totally newbie question .. sorry about it.<BR>&gt; <BR>&gt; I am trying to create a GUI where an image will be loaded <BR>&gt; and after that I want to draw some primitives on top of <BR>&gt; it (points, lines, circles, ellipses).<BR>&gt; <BR>&gt; what is the best way to do it?<BR>&gt; <BR>&gt; Is there an example already in the Docs (or <BR>&gt; several examples that could help me out)?<BR>&gt; <BR>&gt; Could you please point me in the right direction?<BR>&gt; <BR>&gt; Thank you!!<BR>&gt; <BR>&gt; Julio<BR>&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; This is the private VTK discussion list.<BR>&gt; Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR><BR><br /><hr />Descubre durante 3 meses gratis la protección total de <a href='http://www.vivelive.com/onecare/' target='_new'>One Care</a></body>
</html>