[vtkusers] vtkContourWidget -- how to display 'off-plane' contours?

jonathan grimm flymolo at gmail.com
Tue Feb 12 15:04:05 EST 2008


I'm in the process of working with vtkContourWidget as well, to allow
multiple contours that interact in particular ways, but I don't think you
have to crack open vtkContourWidget if you don't want to.  If you want the
not quite right, but simple approach you can get the poly data
representations, connect them with line segments, then use vtkClipPloyData.
To get the actual curves it looks like you can use
vtkContourLineInterpolator, but that requires you to keep the
vtkContourRepresentation for each section.  I may be writing a filter that
generates the bezier curves connecting a group of points, creating the
ContourRepresentations I need internally.  If I do I'll let you know.

On Feb 12, 2008 11:38 AM, kent williams <nkwmailinglists at gmail.com> wrote:

> As long as I'm asking hard questions, consider this scenario.
>
> My application maintains 3 orthogonal views of the same volume:
> Sagittal, Axial, Coronal.
>
> The advantage of using VTK is not having to write all the code that's
> already in VTK.  The disadvantage is that if you want to do something
> not currently done in VTK, you have to crack open a bunch of 'black
> boxes' and monkey around with the spaghetti wiring inside.
>
> Our old tracing application let you trace on one view (e.g. Sagittal),
> and in the other 2 views, it displayed the intersection of all the
> traced contours with the image plane of those other two views.
>
> So I'm in the unenviable position of cracking open the
> vtkContourRepresentation, and somehow finding the intersection of the
> contour and the plane of an orthoganal view, and then show the
> intersection.
>
> So I guess my question is this: How would I do this the VTK way?
> _______________________________________________
> 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
>



-- 
Sometimes it's hard to tell the dancer from the dance - Corwin in CoC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080212/0f1e13b1/attachment.htm>


More information about the vtkusers mailing list