Cast to abstract, does it exist?
Bill Lorensen
wlorens1 at nycap.rr.com
Mon Dec 13 21:01:08 EST 1999
Marcela,
vtkImageReslice in contrib will do the trick.
http://vtk.scorec.rpi.edu/Nightly/Doc/manhtml/vtkImageReslice.html
Bill
At 11:04 AM 12/13/99 +0100, Marcela HERNANDEZ wrote:
>Hello,
>
> I am currently using the following method to extract an arbitrary
>cutting plane from a volume:
>
>vtkPlane cutPlane
> cutPlane SetOrigin $xO $yO $zO
> cutPlane SetNormal $xN $yN $zN
>
> vtkCutter planeCut
> planeCut SetInput [readerSP GetOutput]
> planeCut SetCutFunction cutPlane
>
>My problem is the following:
>
>I would like to apply a filter to the image corresponding to the
>extracted plan, but the vtkCutter filter generates vtkPolyData (concrete
>type) for output and cannot be connected to a filter, like
>vtkImageGradient or vtkImageSobel2D, because these filters require an
>abstract type as input (vtkImageCache or vtkStructuredPoints).
>
>Does anybody know how could I recover this image in a vtkImageCache or
>vtkStructuredPoints object?
>
>Thanks in advance,
>
>Marcela
>
>--
>Marcela Hernandez Hoyos
>PhD Student - Biological and Medical Engineering
>CREATIS, INSA Bat 502
>69621 Villeurbanne Cedex (France)
>Phone : +33 (0)4 72 43 83 83. Poste 5359
>Fax : +33 (0)4 72 43 85 26
>CREATIS WWW home page : http://www.creatis.insa-lyon.fr
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list