[vtkusers] Java EXCEPTION_ACCESS_VIOLATION

Divye zombi2_84 at yahoo.com
Tue Oct 27 11:56:16 EDT 2009


Looks like vtkVolumeRayCastMapper is not compatible with the data type that I am using.  I am getting the following error in the vtkOutputWindow :


ERROR: In ..\..\VolumeRendering\vtkVolumeRayCastMapper.cxx, line 327
vtkVolumeRayCastMapper (045A6A98): Cannot volume render data of type short, only unsigned char or unsigned short.

ERROR: In ..\..\VolumeRendering\vtkVolumeRayCastMapper.cxx, line 327
vtkVolumeRayCastMapper (045A6A98): Cannot volume render data of type short, only unsigned char or unsigned short.

ERROR: In ..\..\VolumeRendering\vtkVolumeRayCastMapper.cxx, line 327
vtkVolumeRayCastMapper (045A6A98): Cannot volume render data of type short, only unsigned char or unsigned short.





--- On Tue, 10/27/09, baliki2 at freemail.gr <baliki2 at freemail.gr> wrote:

From: baliki2 at freemail.gr <baliki2 at freemail.gr>
Subject: Re: [vtkusers] Java EXCEPTION_ACCESS_VIOLATION
To: vtkusers at vtk.org
Date: Tuesday, October 27, 2009, 12:57 AM


I think you use
vtkFixedPointVolumeRayCastMapper volumeMapper = new vtkFixedPointVolumeRayCastMapper();

and i suggest to use:
vtkVolumeRayCastMapper volumeMapper = new vtkVolumeRayCastMapper();


> I am not aware of the usage of any other mapper. I would really appreciate if you can point me to the right direction. Any sample implementation would be very helpful.
> 
> 
> 
> 
> --- On Mon, 10/26/09, baliki2 at freemail.gr <baliki2 at freemail.gr> wrote:
> 
> From: baliki2 at freemail.gr <baliki2 at freemail.gr>
> Subject: Re: [vtkusers] Java EXCEPTION_ACCESS_VIOLATION
> To: vtkusers at vtk.org
> Date: Monday, October 26, 2009, 2:24 AM
> 
> 
> I think it's the "vtkFixedPointVolumeRayCastMapper". It
> Try another mapper and let us know.


_______________________________________________
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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091027/4869ef4b/attachment.htm>


More information about the vtkusers mailing list