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

_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to