
Given fields containing n-dimensional irregular lines, this module traces out connected sequences of line segments and computes accumulated length along each. An optional input component, "start flags" (which should be scalar ubytes) may be used to flag vertices at which sequences should begin. Otherwise, sequences begin preferentially at vertices that have only a single line segment incident on them; finally, a starting point is chosen arbitrarily when sequences form loops. Branching is handled. Partitioning is not.
An example script is given that creates a 2-D field containing random values. Isosurface is used to compute iso-lines, which are then passed into ArcLength and AutoColored. Each time you blip the integer interactor, a new random field will be created.
Build the executive: make dxexec
Run the example: dx -mdf ArcLength.mdf -exec ./dxexec ArcLength
Directory name: contrib/modules/arclength
Other files in this directory:
Return to Assorted Useful Modules