java.lang.Object
de.grogra.ray.intersection.DefaultCellGenerator
- All Implemented Interfaces:
CellGenerator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassclassNested classes/interfaces inherited from interface de.grogra.ray.intersection.CellGenerator
CellGenerator.NextCellOutput -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetBoxEnteringIntersection(DefaultCellGenerator.BoxIntersectionInput input, DefaultCellGenerator.BoxIntersectionLocals local, DefaultCellGenerator.BoxIntersectionOutput output) voidgetBoxLeavingIntersection(DefaultCellGenerator.BoxIntersectionInput input, DefaultCellGenerator.BoxIntersectionLocals local, DefaultCellGenerator.BoxIntersectionOutput output) voidinitialize(OctreeCell sceneNode, int maxDepth) voidnextCell(CellGenerator.NextCellOutput output) void
-
Field Details
-
m_same
public int m_same -
m_different
public int m_different
-
-
Constructor Details
-
DefaultCellGenerator
public DefaultCellGenerator()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceCellGenerator
-
setRay
- Specified by:
setRayin interfaceCellGenerator
-
nextCell
- Specified by:
nextCellin interfaceCellGenerator
-
getBoxEnteringIntersection
public static void getBoxEnteringIntersection(DefaultCellGenerator.BoxIntersectionInput input, DefaultCellGenerator.BoxIntersectionLocals local, DefaultCellGenerator.BoxIntersectionOutput output) -
getBoxLeavingIntersection
public void getBoxLeavingIntersection(DefaultCellGenerator.BoxIntersectionInput input, DefaultCellGenerator.BoxIntersectionLocals local, DefaultCellGenerator.BoxIntersectionOutput output)
-