org.xith3d.render.preprocessing
Class ShadowAtom

java.lang.Object
  extended by org.xith3d.render.states.StateSortable
      extended by org.xith3d.render.preprocessing.RenderAtom<Node>
          extended by org.xith3d.render.preprocessing.ShadowAtom
Direct Known Subclasses:
ShapeAtom

public class ShadowAtom
extends RenderAtom<Node>

This is the RenderAtom responsible for occluder nodes.


Field Summary
static int STATE_TYPE
           
 
Fields inherited from class org.xith3d.render.preprocessing.RenderAtom
translucent
 
Constructor Summary
protected ShadowAtom(int stateType, Node node)
           
  ShadowAtom(Node node)
           
 
Method Summary
<Tup extends org.openmali.vecmath2.Tuple3f>
Tup
getPosition(Tup p)
          Get the center of the bounds for this node and return it in the specified point.
 void updateLightsAndFogs()
           
 
Methods inherited from class org.xith3d.render.preprocessing.RenderAtom
clearStateUnits, getClassification, getClipper, getCustomComparable, getDistanceToView, getNode, getNumStateUnits, getOrderedState, getScissorRect, getSortableStates, getSquaredDistanceToView, getStateId, getStateUnit, getStateUnits, getZValue, isTranslucent, setClassification, setCompareIndicators, updateStateMap, updateStateUnit
 
Methods inherited from class org.xith3d.render.states.StateSortable
getCachedStateId, getStateType, updateCachedStateId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_TYPE

public static final int STATE_TYPE
See Also:
Constant Field Values
Constructor Detail

ShadowAtom

protected ShadowAtom(int stateType,
                     Node node)

ShadowAtom

public ShadowAtom(Node node)
Method Detail

getPosition

public <Tup extends org.openmali.vecmath2.Tuple3f> Tup getPosition(Tup p)
Get the center of the bounds for this node and return it in the specified point. The bounds used are the virtual world bounds, not the local bounds.

Specified by:
getPosition in class RenderAtom<Node>
Parameters:
p -

updateLightsAndFogs

public final void updateLightsAndFogs()