From a2eceec8f4f1ec7f71e27c13440f073cdbeeb88c Mon Sep 17 00:00:00 2001 From: aszabo314 Date: Fri, 1 Dec 2023 11:29:07 +0100 Subject: [PATCH] 5.3.0-prerelease008 --- RELEASE_NOTES.md | 3 +++ src/Aardvark.Geometry.PointSet/Octrees/InMemoryPointSet.cs | 5 ----- src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs | 2 -- src/Aardvark.Geometry.PointSet/Utils/EnumerableExtensions.cs | 1 - 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8089a951..57d07a65 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +### 5.3.0-prerelease008 +- structured point clouds rendering (prerelease, for testing only) + ### 5.3.0-prerelease007 - structured point clouds query (prerelease, for testing only) diff --git a/src/Aardvark.Geometry.PointSet/Octrees/InMemoryPointSet.cs b/src/Aardvark.Geometry.PointSet/Octrees/InMemoryPointSet.cs index 2d64bf0f..3842a555 100644 --- a/src/Aardvark.Geometry.PointSet/Octrees/InMemoryPointSet.cs +++ b/src/Aardvark.Geometry.PointSet/Octrees/InMemoryPointSet.cs @@ -264,9 +264,6 @@ void copy(Def def) $"Invariant 42656f92-f5ac-43ca-a1b7-c7ec95fe9cb3." ); - - if (!PartIndexUtils.HasValidPartIndexData(resultData)) Debugger.Break(); // TODO "PARTINDICES" remove - // create and store result var result = new PointSetNode(resultData, storage, writeToStore: true); if (storage.GetPointCloudNode(result.Id) == null) throw new InvalidOperationException("Invariant 9e863bc5-e9f4-4d39-bd53-3d81e12af6b1."); @@ -313,8 +310,6 @@ void copy(Def def) } } - if (!resultData.ContainsKey(Octree.PartIndexRange)) Debugger.Break(); // TODO "PARTINDICES" remove - // create and store result var result = new PointSetNode(resultData, storage, writeToStore: true); if (storage.GetPointCloudNode(result.Id) == null) throw new InvalidOperationException("Invariant 7b09eccb-b6a0-4b99-be7a-eeff53b6a98b."); diff --git a/src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs b/src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs index 207a7b8d..d5344453 100644 --- a/src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs +++ b/src/Aardvark.Geometry.PointSet/Octrees/PointSetNode.cs @@ -102,8 +102,6 @@ public PointSetNode( Storage = storage; Data = data; - if (!IsTemporaryImportNode && !PartIndexUtils.HasValidPartIndexData(data)) Debugger.Break(); // TODO "PARTINDICES" remove - //Report.Line($"{this.Id} {this.Cell}"); //if (Id == Guid.Empty) Debugger.Break(); //if (IsLeaf && !HasClassifications) Debugger.Break(); diff --git a/src/Aardvark.Geometry.PointSet/Utils/EnumerableExtensions.cs b/src/Aardvark.Geometry.PointSet/Utils/EnumerableExtensions.cs index ead2e914..23f8aa94 100644 --- a/src/Aardvark.Geometry.PointSet/Utils/EnumerableExtensions.cs +++ b/src/Aardvark.Geometry.PointSet/Utils/EnumerableExtensions.cs @@ -137,7 +137,6 @@ public static T MapReduceParallel(this IEnumerable xs, try { var r = reduce(a, b, ct); - if (r == null) Debugger.Break(); CheckCancellationOrException(); lock (queue) queue.Enqueue(r); }