<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Eric<br>I'm trying to follow also your suggestion to value if it is better or no than Darshan's one... But I have a first&nbsp; problem: how can I modify that code to use it with my Image set? Because now I'm able to run it only with /usr/local/vtk/VTKData/Data/headsq/quarter and I don't understand what quarter.1-quarter.93 are...<br><br>Could you explain me?<br>Thanks<br>Daniela<br><br><hr id="stopSpelling">Subject: Re: [vtkusers] Montege 4X4 of some 3D Volume's slices<br>From: emonson@cs.duke.edu<br>Date: Thu, 3 Jun 2010 14:08:18 -0400<br>CC: danysunflower@hotmail.it; vtkusers@vtk.org<br>To: darshanpai@gmail.com<br><br>

Hey Daniela,<div><br></div><div>I guess I would suggest a different possibility. For each slice, you could set up a vtkImageReslice filter, and each one can go through a vtkImageMapToColors and then to a vtkImageActor. For each actor you can then use the SetPosition() method to arrange them in the 4x4 grid of images. Then, if you want to change the slices that are displayed, you just change the matrix that sets the "reslice axes" for that particular image.&nbsp;</div><div><br></div><div>This method is taken directly from the ImageSlicing.cxx example in [vtk_source]/Examples/ImageProcessing/Cxx (or there are Python and Tcl examples of the same code in their respective subdirectories).</div><div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br><div>
<span class="ecxApple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br class="ecxwebkit-block-placeholder"></div></span></div><br><div><div>On Jun 3, 2010, at 1:57 PM, Darshan Pai wrote:</div><br class="ecxApple-interchange-newline"><blockquote>Yes You can definately do that .<br>You can start with vtkImageDataGeometryFilter and set the extent depending on what slice you want. The resulting polyData can be connected to the mapper . also add a lookuptable to the mapper and render.<br>
<br>Regards<br>Darshan <br><br><div class="ecxgmail_quote">On Thu, Jun 3, 2010 at 1:06 PM, Daniela Sacchetto <span dir="ltr">&lt;<a>danysunflower@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left: 1ex;">




<div>
Hi everyone<br><br>I have a question for you.<br>I'm working with a 3D rendered volume and I would like to do a ''montage'' 4x4 of some significative slices (as CT o RM traditional images...) in my vtkRenderWindow...<br>
&nbsp;Is it possible? Is there any vtk method to do something similar?<br><br>Thank to everyone who will help me<br>Daniela<br>                                               <br><hr>Un mondo di personalizzazioni per Messenger, PC e cellulare, <a>scaricale gratis!</a></div>

<br>_______________________________________________<br>
Powered by <a>www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a>http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a>http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a>http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
_______________________________________________<br>Powered by <a>www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a>http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a>http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a>http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div>                                               <br /><hr />Il tuo mondo MSN a portata di clic.  <a href='http://events.it.msn.com/internet-explorer-8' target='_new'>Scarica IE8 per MSN</a></body>
</html>