[vtkusers] (no subject)

Amy Squillacote amy.squillacote at kitware.com
Wed Mar 22 11:58:49 EST 2006


At 11:50 AM 3/22/2006, Maria A. Zuluaga wrote:

>Hi.
>
>I'm working with the following classes:
>
>vtkContourFilter, vtkCleanPolyData, vtkPolyDataConnectivityFilter, 
>vtkPolyData and vtkStripper
>
>to variate the size and form of some contours over an image.
>
>The contours can be modified manually (by user interaction through a 
>slider) or automaticaaly (from code, after executing a particular algorithm).
>
>When I see the results of this modification (using vtkPolyDataMapper 
>and vtkActor), they seem right. But when I extract the points to 
>verify they don't correspond to what I'm visualizing. The weirdest 
>is that this only happens when the modification is done form code. 
>If it is done manually points from PolyData correspond to visualization.
>
>What could this be?

Hi Maria,

Has the pipeline been updated when you check the value of the 
points?  (The pipeline is updated when you render, when you write 
data to a file, or if you call Update directly.)  I would guess that 
you are checking the values before they have actually been updated.

- Amy


>Thanks in advance.
>
>
>Maria Alejandra Zuluaga V.
>_______________________________________________
>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




More information about the vtkusers mailing list