[Insight-users] Draw line in 3D Volume
Dan Mueller
dan.muel at gmail.com
Sat Jun 19 00:43:44 EDT 2010
Hi Adrian,
Please have a look at the following classes:
Code/Common/itkPolyLineParametricPath
Code/Common/itkPathIterator
Code/BasicFilters/itkPathToImageFilter
Code/Common/itkLineIterator
You can find examples on how to use these classes:
Examples\DataRepresentation\Path\PolyLineParametricPath1.cxx
Testing\Code\Common\itkPathIteratorTest.cxx
Testing\Code\BasicFilters\itkPathToImageFilterTest.cxx
HTH
Cheers, Dan
On 18 June 2010 13:23, AdiCH <adrian.anner at medivation.ch> wrote:
>
> Hi
>
> I want draw a line in a 3d Volume. for example form point1(x1,y1,z1) to
> point2(x2,y2,z2).
> I was looking for a ImageIterator so that I can loop over all the pixel and
> set the value.
> Is there a ImageIterator that I can use for this or is there another
> possibility to do this?
>
> regards
>
> Adrian
More information about the Insight-users
mailing list