[vtkusers] vtkImageToStructuredPoints

Amy Squillacote ahs at cfdrc.com
Wed Jul 23 15:28:24 EDT 2008


No, you don't need to cast it. vtkImageData is a subclass of vtkDataObject.
- Amy

Jon Luisi wrote:
> For the VtkImageToStructuredPoints SetInput documentation calls for 
> vtkImageData.
> In code vtkImageAlgorithm::SetInput(vtkDataObject*)
>
> I am trying to add the input from a vtkImageReader reader->GetOutput()
> Do I need to recast the vtkImageData from the reader to a 
> vtkDataObject, and if so what is the best method?
> Jon
>
> _______________________________________________
> 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
>
>

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list