What do you mean by "selected by the user"? Through the ParaView selection mechanism or some variable in the data? Also, what do you mean by "read out"? What is the end goal?
On Thu, Apr 15, 2010 at 10:24 AM, Christian Werner <[email protected]> wrote: > 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 > _______________________________________________ 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
