vtkImageToStructuredPoints

Ken Martin ken.martin at kitware.com
Sun Sep 26 10:31:15 EDT 1999


<x-flowed>At 11:10 AM 9/21/99 +0100, you wrote:
>Many Filters are using this implementation (cf my post a few weeks ago
>about probefilter)
>
>void SetInput(vtkImageData *cache) {
>     vtkImageToStructuredPoints *tmp = cache->MakeImageToStructuredPoints();
>     this->SetInput(tmp->GetOutput());
>     tmp->Delete();
>}
>
>This causes a recursive death loop if you call SetInput with a
>StructuredPoints dataset.

Yes, if the other SetInput method does not take vtkStructuredPoints.
The fix is easy and I'll try to clean it up this weekend.

- Thanks
- Ken

>Am I missing something, or is this part of a transitionary phase in the
>vtkImageData pipeline?

Yes, part of the VTK 3.0 transition.


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------


</x-flowed>



More information about the vtkusers mailing list