Class CutAndScissorMTV2
java.lang.Object
com.gaia3d.process.tileprocess.multithread.CutAndScissorMTV2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(List<TileInfo> tileInfos, Node rootNode, int projectMaxDepthIdx, GaiaBoundingBox rootNodeBBoxLC) First phase:
-
Field Details
-
globalOptions
-
-
Constructor Details
-
CutAndScissorMTV2
public CutAndScissorMTV2() -
CutAndScissorMTV2
public CutAndScissorMTV2(int threadCount)
-
-
Method Details
-
apply
public CutAndScissorMTV2.CutAndScissorResult apply(List<TileInfo> tileInfos, Node rootNode, int projectMaxDepthIdx, GaiaBoundingBox rootNodeBBoxLC) First phase:- cut and save each source tile; - stream its raw boundary data to a compact temporary binary file; - do not retain PlaneCutPoint or FrontierCandidate objects globally.
Second phase:
- build the final CellGrid3D instances from the generated TileInfo lists; - read each temporary boundary file in parallel; - build mergeable per-cell accumulators; - merge those accumulators sequentially; - create the final LodBoundaryAnchors.
-