<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-postaStili17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=TR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>Hi
</span><span style='font-size:11.0pt;font-family:"Cambria","serif"'>Stevannindya;<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>You
can use vtkImageViewer2, or if you want to show all the slices in one scene you
can use vtkImagePlaneWidget... Here are some sample codes :<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>Sample
for vtkImageViewer2:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'><a
href="http://devsample.org/index.php?option=com_content&task=view&id=47&Itemid=27">http://devsample.org/index.php?option=com_content&task=view&id=47&Itemid=27</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>You
can set the orientation by writing viewer-></span><span style='font-size:
11.0pt;font-family:"Cambria","serif"'> </span><span style='font-size:11.0pt;
font-family:"Cambria","serif"'>SetSliceOrientationToXY();//for axial of course…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>And
you can set the slice number by writing viewer->SetSliceNumber(slicenumber);<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>Sample
for vtkImagePlaneWidget:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'><a
href="http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Tcl/ImagePlaneWidget.tcl?root=VTK&content-type=text/plain">http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Tcl/ImagePlaneWidget.tcl?root=VTK&content-type=text/plain</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif"'>vtkImageViewer2
is the easy way the create MPR planes, the example you gave is a little harder
way…If you look carefully you can see the axial and coronal element
matrices starting from 161. line in V</span><span style='font-size:11.0pt;
font-family:"Cambria","serif"'>TK/Examples/ImageProcessing/Cxx/ImageSlicing.cxx
…You must use these matrices just like sagittalElements matrix(usage is
at line 187)for creating other views…You can change the slice number by
changing deltaY at line 97…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>May
the force be with you…<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Sercani...<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
vtkusers-bounces@vtk.org [mailto:vtkusers-bounces@vtk.org] <b>On Behalf Of </b>stevannindya
henryanto<br>
<b>Sent:</b> Friday, January 09, 2009 6:55 PM<br>
<b>To:</b> vtkusers@vtk.org<br>
<b>Subject:</b> [vtkusers] View dicom series in 3 different orientation<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hi all vtkusers....<br>
I want to ask you, how to view a dicom series in 3 different view. Axial,
sagittal and coronal view.<br>
I've read another post, it said this kind of view can be done by using
vtkImageReslice. After reading the example from CVS
(VTK/Examples/ImageProcessing/Cxx/ImageSlicing.cxx) I got confused. Actually,
what should i do to change the orientation and the slice that viewed in render
window.<br>
Thanks...<o:p></o:p></p>
</div>
</body>
</html>