[vtkusers] Filter to set the slice distance in a 3D rendered volume

Jérôme jerome.velut at gmail.com
Tue Jun 1 04:16:03 EDT 2010


Hi Daniela,

I think you can use the vtkImageAppend filter together with the
vtkImageChangeInformation.

HTH
Jerome


2010/6/1 Daniela Sacchetto <danysunflower at hotmail.it>:
> Ok, sorry,  I'll try to explain in an other way...
> 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)...
> 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?
>
> I hope that now you could understand better my problem...
> Regards
> Daniela
>
>> Date: Mon, 31 May 2010 17:22:38 -0400
>> Subject: Re: [vtkusers] Filter to set the slice distance in a 3D rendered
>> volume
>> From: daviddoria+vtk at gmail.com
>> To: danysunflower at hotmail.it
>> CC: vtkusers at vtk.org
>>
>> On Mon, May 31, 2010 at 5:08 PM, Daniela Sacchetto
>> <danysunflower at hotmail.it> wrote:
>> > Hi everyone
>> > I'm new in vtk and I'm trying to do a work for my thesis.
>> >
>> > I have to improve a code that gives a 3D volume from 2D slices (.jpg or
>> > other formats).
>> > My code has to be improved because the 3D visualized with VTK (I'm using
>> > vtkVolumeRayCastCompositeFunction) is too "slim": I would like to
>> > modifie
>> > the Z dimension.
>> > Have anyone found this problem yet? Could anyone suggest me a VTK method
>> > or
>> > class that do something similar?
>> >
>> > Regards
>> > Daniela
>>
>> I don't know what you mean by "slim". Can you give us a sample data
>> set or a screenshot of what you have and an explanation of what is
>> wrong?
>>
>> You may want to look into the Marching Cubes algorithm:
>>
>> http://www.vtk.org/Wiki/VTK/Examples/Medical/GenerateModelsFromLabels
>>
>> Good luck,
>>
>> David
>
> ________________________________
> Tanti account di posta? Unisci tutto sotto Hotmail
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list