RangeCulling
Description
- Derived from
-
MeshTraversal abstract
IMeshBoundMinRadius
IMeshBoundMinSize
The RangeCulling class traverses the filtered mesh (see IMeshFilters.FilterIn), performs a value range test for each mesh sector with the configured range value (see RangeValue) and culls away all sectors that are outside of it (see MeshTree.SectorCull).
Each visited mesh sector is tested against the given value range: first, the RangeValue is used to fetch the minimum and maximum values for the mesh sector which are then interpreted as an interval which is checked for intersection with Range. Then, the result of this check is inverted, if indicated by Invert. Finally, if the check result is false
, the mesh sector is culled away (see MeshTree.SectorCull).
The following vertex data semantics are used by this class:
-
required : RangeValue
-
optional : Semantic.Position
-
optional : Semantic.Radius
-
optional : Semantic.Area
-
optional : Semantic.ElevationMinMax
Public / Attributes
FilterIn
The mesh tree input filter to use for querying sector culling and marks.
The default value is null
(i.e. all mesh sectors are visited).
RangeValue
The semantic that is used to fetch the nested value range for culling.
This value will be taken into account the next time IMeshBound.MeshBind is called.
Defaults to Semantic.ElevationMinMax.