[vtkusers] Draw a line in a image

Luis Roberto P. Paula luisrpp at gmail.com
Fri Feb 6 22:44:13 EST 2009


But how can I use vtkLineSource to draw a line in a existent image?

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.

Do I need to do it pixel by pixel using the method
SetScalarComponentFromDouble?

Thanks,
Luis

On Sat, Feb 7, 2009 at 1:33 AM, Hom Nath Gharti <hng.email at gmail.com> wrote:

> I would use vtkLineSource()
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090207/43f35d3c/attachment.htm>


More information about the vtkusers mailing list