[vtkusers] visualizing slice contours via vtkAppendPolyData - retry

Malcolm Drummond malcolm at geovision.co.za
Sat May 31 05:24:36 EDT 2003


Hi Dean

Have you used the SetNumberOfInputs method, also have you set
UserManagedInputs to On? Otherwise you need to use the AddInput method.

If you have a lot of inputs and/or don't know how many appends you'll need
to do, it might be a better idea to maintain just two inputs - one for
accumulated data and one for new data. Manually update and then transfer the
output back to the accumulated input, ready for the next append.

HTH
Malcolm

----- Original Message -----
From: "Dean Inglis" <dean.inglis at on.aibn.com>
To: "vtkusers archive" <vtkusers at public.kitware.com>
Sent: Friday, May 30, 2003 7:03 PM
Subject: [vtkusers] visualizing slice contours via vtkAppendPolyData - retry


> Ok, no response yet let's try again...
> can vtkAppendPolyData be used to stack
> contours from volume image slices interactively?
> That is, is an API call like
>
> void AddSlice(const int& a_sliceNumber)
> {
>
>
m_AppendPolyData->SetInputByNumber(a_sliceNumber,m_PolyData[a_sliceNumber]);
>   m_Renderer->Render();
> }
>
> reasonble?  I only see the current slice and all previously
> 'appended' slices are missing.
>
> Dean
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list