<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello,every one</FONT></DIV>
<DIV><FONT size=2>I tried to display 3D image data slice by slice along z
axial.The program is as follows.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2> metaImageReader->SetFileName("E:/TempImage/0.1resolution/ConThreshSegDdicomSe3Edge.mhd");//e:/tempimage/sampledcochleaConThreshSeg.mhd<BR>
metaImageReader->Update();<BR> int xyzdim[3];<BR>
metaImageReader->GetOutput()->GetDimensions(xyzdim);<BR> int
xd=xyzdim[0]-1;<BR> int yd=xyzdim[1]-1;<BR> int
zd=xyzdim[2]-1;</FONT></DIV>
<DIV><FONT
size=2>imageActor->SetInput(metaImageReader->GetOutput());<BR>
imageActor->VisibilityOn();<BR>
imageActor->SetDisplayExtent(0,xd,0,yd,120,120); <BR>
imageActor->InterpolateOff();<BR>
Renderer->AddActor(imageActor);<BR>
Renderer->SetBackground(0.0,0.1,0.2);<BR>
Interactor->SetRenderWindow(RenderWindow);</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I really get what I want.But the image is zoomed.I want
to remove the zooming function.But I don't know how to do.That is,how many pixel
in the image slice,there are the same number pixel point on the
screen.</FONT></DIV>
<DIV><FONT size=2>Moreover,I want to display the image from the (0,0)point on
the screen.How can I get that?</FONT></DIV>
<DIV><FONT size=2>Any information will be
appreciated.</FONT></DIV></BODY></HTML>