[vtkusers] Use vtkImageSlice GPU.

David Gobbi david.gobbi at gmail.com
Thu Aug 27 10:51:22 EDT 2015


Hi Jose,

The slab mode of vtkImageResliceMapper uses the CPU. If you need really
fast slabs, you should use VTK's GPU volume rendering.

To make vtkImageResliceMapper's slab mode go a little faster, you can play
with the SetSlabSampleFactor() method and SetImageSampleFactor() method.

 - David



On Thu, Aug 27, 2015 at 7:53 AM, Jose Barreto <jose.de.paula at live.com>
wrote:

>
> Use vtkImageSlice with vtkImageResliceMapper-> SetSlabThickness (images of
> the maximum file MHD), is around + - 100 images added.
>
> use to have this vision:
> the problem is that when utilizdo any camera movement
> (vtkInteractorStyleTrackballCamera) for this object, it is processed on the
> CPU rather than the GPU.
>
> I saw an old post that the interpolator Imageslice does not work with the
> GPU, but that in 2011 an old version of VTK.
> (http://www.vtk.org/Wiki/VTK/Image_Interpolators)
>
> nowadays it is already possible to pass this processing to the GPU?
> Has some way to ease the locking of this object when it is rendered?
>
> I am using a computer with the following settings:
> video card nvidia 730
> intel i7 (3770) 3rd generation
> Memory 16gb
>
> and still move this object becomes unfeasible with active SetSlabThickness
> for me.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150827/b800eb9c/attachment.html>


More information about the vtkusers mailing list