[vtkusers] diplaying a 2d matrix

Hendrik Belitz hbelitz at darkon.info
Fri Feb 23 07:07:42 EST 2007


I'd suggest to use vtkImageData for that purpose.

>Hello,
>
>I'm a bit lost in all the possibilites vtk has. I want to display a 
>1024x1024 matrix with ineger values as a graphic. I need to read the 
>matrix from a binary file (more or less with basic python features).
>
>My question now is how do I feed this matrix data into a vtk object. 
>Which vtk data representation should I use? vtkDataSet, vtkIntArray?
>
>Thanks for any help
>
>Wolfgang
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the 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