You could do the FieldMeasures module before the clip. Alternatively
ClipByFunction returns a SparseRowMatrix that maps between the original
locations and the clipped ones. If the basis is linear then the entries
will correspond to the non-zero matrix columns.
Michael
On Tue, 2005-05-03 at 12:20 +1000, lgraham@postoffice.utas.edu.au wrote:Hi,
I'm trying to retrieve the element indexes in a selected region of a
mesh, so that I can assign different parameter values to them.
I have used the clipByFuction or clipField modules to select a region in
the mesh, then the fieldMeasures module to get the element indexes. But
when I write out the selected element indexes, the indexes start from 0.
Does anyone know how to get the original element indexes from a clipped field?
Leon
====================================================================== =====
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see http://software.sci.utah.edu/scirun-biopse_citation.bib ==
====================================================================== =====
======================================================================= ====
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see http://software.sci.utah.edu/scirun-biopse_citation.bib ==
======================================================================= ====
Archive powered by MHonArc 2.6.16.