<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 I use vtkPoints, for lines 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>
<BR>
Best regards<BR>
<BR>
José<BR>
<BR><BR>> From: pastrana@bgt.uni-hannover.de<BR>> To: vtkusers@vtk.org<BR>> Date: Tue, 18 Nov 2008 10:00:18 +0100<BR>> Subject: [vtkusers] Newbie question!!!<BR>> <BR>> <BR>> Hi VTK users,<BR>> Before anything else, I want to tell that this <BR>> is a totally newbie question .. sorry about it.<BR>> <BR>> I am trying to create a GUI where an image will be loaded <BR>> and after that I want to draw some primitives on top of <BR>> it (points, lines, circles, ellipses).<BR>> <BR>> what is the best way to do it?<BR>> <BR>> Is there an example already in the Docs (or <BR>> several examples that could help me out)?<BR>> <BR>> Could you please point me in the right direction?<BR>> <BR>> Thank you!!<BR>> <BR>> Julio<BR>> <BR>> <BR>> _______________________________________________<BR>> This is the private VTK discussion list.<BR>> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> Follow this link to subscribe/unsubscribe:<BR>> 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>