<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello everyone,</p>
<p>I'm working with a volume dataset (temporal Dicom serie) and I´m
able to visualize the slices using the following vtk C++ classes:</p>
<ul>
<li>vtkImageData: represents the volume dataset</li>
<li>vtkImageMapToColors: I use this class to define the transfer
function to be used in the rendering</li>
<li>vtkImageActor: I use this class to render a specific slice of
the volume dataset <br>
</li>
</ul>
Until here everything it is fine. I can render the slice I want
using the classes before mentioned changing the SetDisplayExtent of
the vtkImageActor.<br>
<br>
Now I want to visualize the output of my vtkImageActor as a 2D
texture in a free 3D plane. Then, I consider to have the following
classes:<br>
<ul>
<li> I use a vtkPlaneSource to define the 3D plane: orientation
and position</li>
<li>a vtkTexture that has to be attached to the vtkPlaneSource. My
problem comes out with the definition of the SetInputConnection
of the vtkTexture. I want to define the image as the output of
the vtkImageActor. But I do not get it.</li>
</ul>
I am successful in visualizing the vtkPlane in black color (due to
the texture is not well defined) unfortunately, I can't get it to
work properly with a texture of a specific slice of the volume
dataset. I have tried different ways of assigning the
SetInputConnection of the vtkTexture using the vtkImageActor, but
none of them worked well. <br>
<br>
Any help will be welcome. Thank you very much in advance,<br>
<br>
Eva<br>
<br>
<br>
<br>
</body>
</html>