<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have a set of greyscale images, and I would like
to convert it to a volume so that I can apply a number of transfer
functions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am not sure if I should first convert it to
PolyData, and then try and convert it to a volume.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>At present, I read the files in, and use
vtkMarchingCubes to convert them to poly data, then I use vtkDecimate them to
cut down the size of the object I have to render. </FONT><FONT face=Arial
size=2>If I pass this into a PolyDataMapper and Actor, I can see that everything
has gone well - all the conversions have been successful, and the images
have been put together to make a single object.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried using vtkShepardMethod to convert the
PolyData to a Volume, but this crashes the program. I am not sure if I
have set up the input incorrectly, or if this is just the wrong
class. Any help would be appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Stephen</FONT></DIV></BODY></HTML>