[Paraview] Python - Accessing Image Data
Christian Werner
christian.werner at rwth-aachen.de
Thu Apr 15 10:24:37 EDT 2010
Hi!
Is it actually possible to read and/or manipulate actual image data
within the Python Shell? I can somehow access field and array data like
this:
inputVolume=GetActiveSource()
pd=inputVolume.GetPointData
array=pd.GetArray(0)
Then I can do array.sort(), array.reverse() and such. But this has no
noticable effect and isn't what I want anyway. I also tried GetFieldData
and GetCellData, but their GetNumberOfArrays() returned 0.
This is just a general question. What I actually need is to read out
which Points have been selected by the user.
Best regards,
Christian
More information about the ParaView
mailing list