But how can I use vtkLineSource to draw a line in a existent image?<br><br>I don't wanna draw the line over the image using a different actor. I was expecting a way to set the line changing the scalar values of a vtkImageData object.<br>
<br>Do I need to do it pixel by pixel using the method SetScalarComponentFromDouble?<br><br>Thanks,<br>Luis<br><br><div class="gmail_quote">On Sat, Feb 7, 2009 at 1:33 AM, Hom Nath Gharti <span dir="ltr"><<a href="mailto:hng.email@gmail.com">hng.email@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I would use vtkLineSource()<br><br><br>
</blockquote></div><br>