|Overview | All Modules | Tutorial | User's Guide | Programming Guide|
Module category: Filter
LineReduce replaces a straight line built up of several segments by one line segment and thus reduces the amount of data. Two neighboring line-segments are recognized as parallel if their mutual angle (modulo pi ) is smaller than a given limit.
LineReduce is available in COVISE version 4.5 and higher. The module is tested on SGI and Linux systems.
|maxAngle||Scalar||Threshold below which two line-segments are recognized as parallel.|
|maxDifference||Scalar||maximum difference between two points.|
|requiredlinesIn||Lines||Line-segments to be reduced|
|optionaldataIn|| Vec3 |
|Either vector or scalar data on the lines.|
|dependdataOut|| Vec3 |
The following pipeline shows a simple example for the use of LineReduce. The feature-lines produced by DomainSurface consists of 1472 line-segments. LineReduce collapses the feature-lines to 19 Line-segments (as documented in the information about the data objects - last figure).
The next example shows you the result if color data is provided. With the parameter maxDifference it is possible to regulate which points should be shown. If the difference of data values at neigbour points is greater than maxDifference, LineReduce doesn't remove these points.
|Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner|
|Copyright © 1993-2016 HLRS, 2004-2014 RRZK, 2005-2014 Visenso||
COVISE Version 2016.3