[vtkusers] vtkDataArray to C Array problem

Frable zemitis.janis at inbox.lv
Fri Nov 18 08:30:51 EST 2011


Hey Mike,

Read up on some byte swapping now, tough reading of the DataSet from the
file is handled by vtk classes. vtkStructuredPointsReader for structured
points for example. Don't they take care of that automatically by chance?
The thing is, I am able to visualize something. According to the articles I
read now it seems to me, if byte swapping was at fault here, I should have
gotten a segmentation fault instead of a result, no?

Here are two pictures of Scalar visualization. One is in paraview, one is my
visualization.
Another thing, it seems like a part of the picture is cut off in some
perspectives, thats another reason for me to believe that there is actually
some kind of shift after my copying.

paraview
http://vtk.1045678.n5.nabble.com/file/n5004282/para.jpg 
mine
http://vtk.1045678.n5.nabble.com/file/n5004282/mavi.jpg 

--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004282.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list