<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Ok, sorry, I'll try to explain in an other way...<br>I have a 3D rendered volume that is ok but its Z dimension is too little....I would like to set the Z dimenmsion (for example setting the pixels or slices distance)...<br>I know that there is a Itk method (ImageType::SpacingType) that allows to set the pixels distance....Is there a VTK method that allows to render my image with a note distance in Z direction?<br><br>I hope that now you could understand better my problem...<br>Regards<br>Daniela<br><br>> Date: Mon, 31 May 2010 17:22:38 -0400<br>> Subject: Re: [vtkusers] Filter to set the slice distance in a 3D rendered         volume<br>> From: daviddoria+vtk@gmail.com<br>> To: danysunflower@hotmail.it<br>> CC: vtkusers@vtk.org<br>> <br>> On Mon, May 31, 2010 at 5:08 PM, Daniela Sacchetto<br>> <danysunflower@hotmail.it> wrote:<br>> > Hi everyone<br>> > I'm new in vtk and I'm trying to do a work for my thesis.<br>> ><br>> > I have to improve a code that gives a 3D volume from 2D slices (.jpg or<br>> > other formats).<br>> > My code has to be improved because the 3D visualized with VTK (I'm using<br>> > vtkVolumeRayCastCompositeFunction) is too "slim": I would like to modifie<br>> > the Z dimension.<br>> > Have anyone found this problem yet? Could anyone suggest me a VTK method or<br>> > class that do something similar?<br>> ><br>> > Regards<br>> > Daniela<br>> <br>> I don't know what you mean by "slim". Can you give us a sample data<br>> set or a screenshot of what you have and an explanation of what is<br>> wrong?<br>> <br>> You may want to look into the Marching Cubes algorithm:<br>> <br>> http://www.vtk.org/Wiki/VTK/Examples/Medical/GenerateModelsFromLabels<br>> <br>> Good luck,<br>> <br>> David<br>                                            <br /><hr />Tanti account di posta? <a href='http://www.windowslive.it/hotmail/UnicaCasellaDiPosta.aspx' target='_new'>Unisci tutto sotto Hotmail</a></body>
</html>