java.lang.Object
de.grogra.vecmath.geom.Octree
de.grogra.imp3d.ray2.OctreeP2
This octree parallelize the volume matching to children cell by
using the GroIMP task/ solver approach. Not worth the overhead
from the scene size tested (~700000).
Warning: might not actually work. It count less volumes as
opposed to the normal octree.
-
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
-
OctreeP2
public OctreeP2()
-
-
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
-