[vtkusers] vtkContourWidget question

itkvtk123 at gmx.net itkvtk123 at gmx.net
Mon Oct 26 12:34:39 EDT 2009


Hey

I have two questions concerning the vtkContourWidget.

1.
While drawing the points, how do I make the contour to stick onto the image?
I'm using ImageActorPointPlacer already, but the Nodes seem to be drawn at display coordinates and not at world coordinates.
(When zooming out, the image gets smaller, but the contour stays at the same size)

2.
Once my contour is drawn and I change the intensity window of vtkImageViewer2, all line interpolators of the vtkContourWidget are called.
Since my interpolation requires a lot of CPU power, I don't want this behaviour. Once the contour is drawn, it should stay as it is, i.e. any interaction with the render window should not alter the contour shape once the contour is completed (closed loop).

Thank you for your answers
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the vtkusers mailing list