java.lang.Object
de.grogra.ray.intersection.OctreeCell
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOctreeCell
(int depth) OctreeCell
(int depth, Vector3f minValues, Vector3f maxValues) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getChild
(int index) int
getDepth()
boolean
boolean
hasIntersection
(Ray ray) void
setExtension
(Vector3f minValues, Vector3f maxValues) void
setNeighbours
(OctreeCell front, OctreeCell back, OctreeCell top, OctreeCell bottom, OctreeCell left, OctreeCell right)
-
Field Details
-
testInt
public int testInt
-
-
Constructor Details
-
OctreeCell
public OctreeCell(int depth) -
OctreeCell
-
-
Method Details
-
getDepth
public int getDepth() -
getLinkedObjects
-
hasChildren
public boolean hasChildren() -
getMinValues
-
getMaxValues
-
getNeighbourFront
-
getNeighbourBack
-
getNeighbourTop
-
getNeighbourBottom
-
getNeighbourLeft
-
getNeighbourRight
-
setNeighbours
public void setNeighbours(OctreeCell front, OctreeCell back, OctreeCell top, OctreeCell bottom, OctreeCell left, OctreeCell right) -
getChild
-
setExtension
-
hasIntersection
-
divideNode
public void divideNode()
-