java.lang.Object
de.grogra.vecmath.geom.Octree
de.grogra.imp3d.ray2.OctreeP3
This octree parallelize the volume matching to children cell by
using the java Stream parallel approach. Not worth the overhead
from the scene size tested (~700000)
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.vecmath.geom.Octree
Octree.Cell, Octree.State -
Field Summary
Fields inherited from class de.grogra.vecmath.geom.Octree
MAX_DEPTH, MAX_GRID_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVolumesToCell(Octree.Cell curNode, Octree.Cell parent, int size, BoundingBox bounds, Vector3d c, double radius, Octree.State state) protected voidMethods inherited from class de.grogra.vecmath.geom.Octree
computeIntersections, createState, divideRootNode, dup, dupFields, dupState, getCellCount, getDepth, getInfiniteVolumes, getMax, getMin, getRoot, initialize, recursivelyDivideNode, recursivelyDivideNode, suggestDepth
-
Constructor Details
-
OctreeP3
public OctreeP3()
-
-
Method Details
-
addVolumesToCell
protected void addVolumesToCell(Octree.Cell curNode, Octree.Cell parent, int size, BoundingBox bounds, Vector3d c, double radius, Octree.State state) - Overrides:
addVolumesToCellin classOctree
-
finishCells
protected void finishCells()- Overrides:
finishCellsin classOctree
-