<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><FONT color=#0000ff size=3>thank you for your suggestion , Amy ,</FONT><BR>
<FONT color=#0000ff size=3> but from the user guide , we can see there is a subclass of<FONT color=#0000ff> vtkUnstructuredGridVolumeMapper : </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>vtkHAVSVolumeMapper , and it can work for vtkImageData , although it would need some help from the </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>hardware . so , should I think that vtkUnstructuredGridVolumeMapper can not take vtkImageData as input </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>ports , even though you make some transformation ? </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff> or in other words , when I do my volume rendering , and my input ports are the objects of </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>vtkImageData , I should use the subclasses of vtkVolumeMapper instead of </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>vtkUnstructuredGridVolumeMapper ? is there any method to do volume rendering with vtkImageData ( or </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>the readers of .dcm images )and the subclasses of vtkUnstructuredGridVolumeMapper ? what should I do </FONT></FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff>now ?</FONT></FONT><BR>
<FONT color=#0000ff size=3></FONT> <BR>
<FONT color=#0000ff size=3> thank you for your help again !</FONT><BR>
<FONT color=#0000ff size=3> </FONT><BR>
<FONT color=#0000ff size=3> Mark</FONT><BR>
<FONT color=#0000ff size=3><FONT color=#0000ff> <BR></FONT></FONT><BR><BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Wed, 19 Sep 2007 08:14:53 -0400<BR>> From: amy.squillacote@kitware.com<BR>> To: zhaojunxp@hotmail.com<BR>> CC: vtkusers@vtk.org<BR>> Subject: Re: [vtkusers] What Is Wrong With My VTK Pipeline ?<BR>> <BR>> Hi Mark,<BR>> <BR>> vtkImageMandelbrotSource does not take any inputs, regardless of the<BR>> dataset type of the input. Looking in the constructor for that class,<BR>> the last line is the following.<BR>> <BR>> this->SetNumberOfInputPorts(0);<BR>> <BR>> That means that even though one of the superclasses of<BR>> vtkImageMandelbrotSource (vtkAlgorithm, specifically) has a<BR>> SetInputConnection method, it is ignored by the class you're using.<BR>> <BR>> If you want to volume render the dataset output from vtkVolume16Reader,<BR>> use one of the subclasses of vtkVolumeMapper, not<BR>> vtkUnstructuredGridVolumeMapper. The subclasses of vtkVolumeMapper work<BR>> for vtkImageData, which the output of vtkVolume16Reader is.<BR>> <BR>> - Amy<BR>> <BR><br /><hr />不登录就能管理多个邮件帐户,试试 Windows Live Mail。 <a href='http://get.live.com/betas/maildesktop_betas' target='_new'>立即尝试!</a></body>
</html>