org.openmali.spatial.octree
Interface OcCuller<T>

All Known Implementing Classes:
OcRadiusCuller, OcRadiusFrustumCuller

public interface OcCuller<T>

Interface, which supplies different techniques for traversing and OcTree and culling objects.

Author:
David Yazel, Marvin Froehlich (aka Qudus) [code cleaning]

Method Summary
 Visibility checkCell(OcCell<T> cell)
          Checks the cell and returns whether it should culled or not.
 Visibility checkNode(OcNode<T> node)
          Checks the node and returns whether it should be culled or not.
 

Method Detail

checkCell

Visibility checkCell(OcCell<T> cell)
Checks the cell and returns whether it should culled or not. In general this is a box test performed against the cell.

Parameters:
cell -
Returns:
the Visibility value

checkNode

Visibility checkNode(OcNode<T> node)
Checks the node and returns whether it should be culled or not. In general this is a sphere test applied to the node.

Parameters:
node -
Returns:
the Visibility value