anl.aida.viz3d
Class StackDrawable2

java.lang.Object
  extended by anl.aida.viz3d.VSpatial
      extended by anl.aida.viz3d.VNode
          extended by anl.aida.viz3d.StackDrawable2
Direct Known Subclasses:
TSGraphVNode

public abstract class StackDrawable2
extends VNode

A VSpatial that is drawn by a Stack. Prior to drawing the StackRenderer will notify this drawable of its place in the stack.


Field Summary
 
Fields inherited from class anl.aida.viz3d.VNode
children
 
Fields inherited from class anl.aida.viz3d.VSpatial
appearence, boundingSphere, clientMap, dirty, id, localRotation, localScale, localTrans, parent, visible, worldRotation, worldScale, worldTrans
 
Constructor Summary
StackDrawable2()
           
 
Method Summary
abstract  void stackPosition(int index, int stackSize)
          Notifies this StackDrawable of its position in the stack prior to drawing.
 
Methods inherited from class anl.aida.viz3d.VNode
addChild, addChildren, children, doDraw, doGetBoundingSphere, get, getChildCount, intersects, markAsDirty, removeAllChildren, removeChild, updateWorldTransformation
 
Methods inherited from class anl.aida.viz3d.VSpatial
draw, getBoundingSphere, getLocalBoundingSphere, getMaterialAppearence, getParent, getProperty, getTranslation, getWorldToLocalTransform, isVisible, percolateDirtyUp, putProperty, rotate, rotate, scale, setMaterialAppearence, setParent, setVisible, transform, translate, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackDrawable2

public StackDrawable2()
Method Detail

stackPosition

public abstract void stackPosition(int index,
                                   int stackSize)
Notifies this StackDrawable of its position in the stack prior to drawing. If the index is -1, then this StackDrawable is off the stack. Index 0 is the top of the stack.

Parameters:
index - the index of this StackDrawable in the stack
stackSize - the current size of the stack