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.
Name | Type | Description |
maxAngle | Scalar | Threshold below which two line-segments are recognized as parallel. |
maxDifference | Scalar | maximum difference between two points. |
Name | Type | Description |
requiredlinesIn | Lines | Line-segments to be reduced |
optionaldataIn | Vec3 Float | Either vector or scalar data on the lines. |
|
Name | Type | Description |
outputlinesOut | Lines | Reduced line-segments |
dependdataOut | Vec3 Float | - |
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-2022 HLRS, 2004-2014 RRZK, 2005-2014 Visenso |
COVISE Version 2021.12
|