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