[vtkusers] Need to change some of vtkImageTracerWidget -- pointers?

Vinicius Gomes vinicius.vieira.gomes at gmail.com
Fri Oct 19 14:40:39 EDT 2007


Hi! You can use one tracer for all the slices (changing the
tracer->projectionPosition for each slice) and change the value of the
selected voxels (by the scalar pointer) after an interaction. This way
you're going to 'paint' your traced outline in the image.

On 10/19/07, kent williams <nkwmailinglists at gmail.com> wrote:
>
> Here's what I want to write: A manual tracing program using
> vtkImageTracerWidget.  Use case:
>
> 1. Load a brain volume
> 2. For each relevant slice of the volume
>      trace the feature in that slice
> 3. Use the collection of resulting polygons or polylines, generate a
> 3D binary image, based on all traces.
>
> Some behaviors I'd like to have:
>
> 1. When tracing is turned off in the view, still display the traced
> outline, but not allow modification of the outline.
>
> 2. When the user selects a new slice, the traced outline associated
> with that slice will be displayed and any other outlines are not.
>
> 3. Get rid of the default left mouse button behaviro during tracing
> which is to restart the trace with one point.  Given that clicking the
> first mouse button is the most common mouse event, it feels like it's
> too easy to lose your work!
>
> So here's where I'm confused -- would I have one tracer widget and use
> it for all slices, but save out the polyline data when I change
> slices, or would I have multiple tracer widgets, one per slice, and
> enable and disable them when the slice changes?
>
> Thanks!
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071019/3cff3975/attachment.htm>


More information about the vtkusers mailing list