<HTML>
<HEAD>
<STYLE>
BODY{FONT-FAMILY: Gulim;FONT-SIZE: 9pt;}
P {margin-top:2px;margin-bottom:2px;}
</STYLE>
</HEAD>
<BODY><P>hi all,</P>
<P>I'm studying the vtk .</P>
<P>This is simple c++ source of volume rendering from the book .</P>
<P> </P>
<P> this->opacityTransferFunction->AddPoint(2.0,0.0);<BR> this->opacityTransferFunction->AddPoint(255,0.2);</P>
<P> this->colorTransferFunction->AddRGBPoint(0.0, 0.0, 0.0, 0.0);<BR> this->colorTransferFunction->AddRGBPoint(64.0,1.0,0.0,0.0);<BR> this->colorTransferFunction->AddRGBPoint(128.0,0.0,0.0,1.0);<BR> this->colorTransferFunction->AddRGBPoint(192.0,0.0,1.0,0.0);<BR> this->colorTransferFunction->AddRGBPoint(255.0,0.0,0.2,0.0);</P>
<P> this->volumeProperty->SetColor(colorTransferFunction);<BR> this->volumeProperty->SetScalarOpacity(opacityTransferFunction);</P>
<P> this->volumeMapper -> SetVolumeRayCastFunction(compositeFunction);<BR> <BR> </P>
<P> <STRONG> <FONT color=#cd3f00>this->volumeMapper -> SetInput(this->Reader->GetOutput());</FONT></STRONG></P>
<P> this->volume->SetMapper(volumeMapper);<BR> this->volume->SetProperty(volumeProperty);</P>
<P> </P>
<P>C:\Documents and Settings\All Users\¹ÙÅÁ ȸé\vtkSDI\vtkSDIDoc.cpp(209) : error C2664: 'void __thiscall vtkVolumeMapper::SetInput(class vtkImageData *)' : cannot convert parameter 1 from 'class vtkStructuredPoints *' to 'class vtkImageData *'</P>
<P> </P>
<P> </P>
<P>I got this problem!!</P>
<P>What's the problem? Can you help me?<BR></P>
<img src="http://webmail.pusan.ac.kr/cgi-bin/setconfirm.cgi?k=1182825228253208296208&u=madness78&d=pusan.ac.kr" width=1 height=1>
</BODY>
</HTML>