[vtkusers] cause of crash unknown

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Wed Mar 5 13:49:29 EST 2003


Arun
	Could you please send the header of the structured file you are using. 
I would like to know the dimensions of the image, the scalar type of it. 
And finally your total amount of RAM memory.

	Also remember that vtkVolumeRayCastMapper only wants unsigned char or 
unsigned short.

thanks,
mathieu

Arun Nagarajan wrote:
> Hi all,
> 
> I have the following script that is supposed to render a 3d structured
> points image.
> 
> package require vtk
> package require vtkinteraction
> 
> vtkStructuredPointsReader reader
> reader SetFileName ThalamusS1002.defAtlas.vtk
> 
> vtkVolumeRayCastMapper mapper
> mapper SetInput [reader GetOutput]
> 
> vtkVolume volume
> volume SetMapper mapper
> 
> vtkRenderer ren1
> vtkRenderWindow renWin
> renWin AddRenderer ren1
> vtkRenderWindowInteractor iren
> iren SetRenderWindow renWin
> 
> ren1 AddVolume volume
> ren1 SetBackground 1 1 1
> renWin SetSize 200 200
> 
> iren Initialize
> iren AddObserver UserEvent {wm deiconify .vtkInteract}
> 
> wm withdraw .
> 
> 
> However this script crashes without fail regardless of the file that is
> passed in. I know the file is well structured as I wrote some small tests to
> verify. Any insight would be appreciated.
> 
> Arun
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list