[vtkusers] Re: how to render volumetric Data
Valerie R Coffman
valerie.coffman at nist.gov
Thu Apr 19 15:28:47 EDT 2007
Hi,
Which type of renderer and actor are you using?
For volumetric data you need to use a vtkVolume instead of vtkActor and you need
to use one of the following mappers: vtkVolumeRayCastMapper,
vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper2D,
vtkVolumeTextureMapper3D. Only the FixedPointVolumeRayCastMapper and
VolumeTextureMapper3D can handle images with more than one component, which your
tiffs will most likely be if they are color. If they are grayscale, you might
have only one component and use one of the other mappers. I've had the most
success with the FixedPointVolumeRayCastMapper.
BTW, a similar question was asked yesterday:
http://public.kitware.com/pipermail/vtkusers/2007-April/090662.html
http://public.kitware.com/pipermail/vtkusers/2007-April/090673.html
Valerie
> Date: Thu, 19 Apr 2007 12:09:41 +0000
> From: "Engr. Saira Saleem Pathan" <sarakhan_engr at hotmail.com>
> Subject: [vtkusers] how to render volumetric Data
> To: vtkusers at vtk.org
> Message-ID: <BAY121-F2F5E71179D3CF57F91D1383570 at phx.gbl>
> Content-Type: text/plain; format=flowed
>
> hi all
> can anyone guide me abt rendering complete Volumetric data set . As, i can
> successfully
> reading Dicom series but when i read using connector , it only display first
>
> slice.
> can anybody help me as i m using C++.
>
> thanks
More information about the vtkusers
mailing list