<x-html>
<html>
<font face="arial" size=2>Francis,<br>
<br>
</font><font size=3>It looks like you want structurePoints or an image at
the end. If your slice is axis alligned, try vtkImageClip. If
it is off axis, try using vtkImageReslice. If you want to use the
probe filter, try probing with a structured points data set not a plane
(polydata).<br>
<br>
Charles.<br>
<br>
<br>
At 11:07 AM 6/22/99 +0200, Francis wrote: <br>
</font><font face="arial" size=2><blockquote type=cite cite>Hello,<br>
Here is the problem I encounter: I have a set of CT slices, red with
vtkVolume16Reader. I want specified slices through this volume. <br>
I'm working with vtk23 under Windows 98. I tried several combinations and
I don't understand why it doesn't work. </font><br>
<font size=3> <br>
</font><font face="arial" size=2>Fisrt idea:</font><br>
<font size=3> <br>
</font><font face="arial" size=2>vtkPlaneSource ... <br>
vtkTransform ... <br>
vtkProbeFilter probe1 ...<br>
vtkCastToConcrete cast1 ...<br>
vtkStructuredPointsToImage img1<br>
img1 SetInput [cast1 GetStructuredPointsOutput]</font><br>
<font size=3> <br>
</font><font face="arial" size=2>---> Error Message :
"vtkCastToConcrete (0x00840820): Cannot cast to type
requested"</font><br>
<font size=3> <br>
</font><font face="arial" size=2>Second idea :</font><br>
<font size=3> <br>
</font><font face="arial" size=2>vtkPlaneSource ... <br>
vtkTransform ... <br>
vtkProbeFilter probe1 ...<br>
vtkStructuredPoints strucPts1 <br>
[strucPts1 GetPointData] SetScalars [[[probe1 GetOutput] GetPointData]
GetScalars] <br>
strucPts1 SetDimensions $dimx $dimy $dimz<br>
vtkStructuredPointsToImage img1 <br>
img1 SetInput strucPts1 </font><br>
<font size=3> <br>
</font><br>
<font face="arial" size=2>---> Error message
:"vtkStructuredPointsToImage (0x00841760): ComputeDataType: Could
not get scalars from Input"</font><br>
<font size=3> <br>
</font><br>
<font face="arial" size=2>I feel I tried all possible combinations.
<br>
Could somebody suggest me any idea ?</font><br>
<font size=3> <br>
</font><font face="arial" size=2>Thanks,</font><br>
<font size=3> <br>
</font><font face="arial" size=2>Francis Bouchet</font><br>
</blockquote><br>
<BR>
</html>
-----------------------------------------------------------------------------
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@gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
</x-html>