org.xith3d.scenegraph
Class DepthComponentFloat

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.NodeComponent
          extended by org.xith3d.scenegraph.DepthComponent
              extended by org.xith3d.scenegraph.DepthComponentFloat
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject

public class DepthComponentFloat
extends DepthComponent


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.DepthComponent
height, width
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
DepthComponentFloat(int width, int height)
           
 
Method Summary
 DepthComponentFloat cloneNodeComponent(boolean forceDuplicate)
          
protected  void duplicateNodeComponent(NodeComponent original, boolean forceDuplicate)
          
 void getDepthData(float[] floatArray)
           
 void setDepthData(float[] floatArray)
           
 
Methods inherited from class org.xith3d.scenegraph.DepthComponent
freeOpenGLResources, getHeight, getWidth
 
Methods inherited from class org.xith3d.scenegraph.NodeComponent
freeOpenGLResources, getDuplicateOnCloneTree, getModListener, isChanged, isChanged2, setChanged, setDuplicateOnCloneTree, setModListener
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DepthComponentFloat

public DepthComponentFloat(int width,
                           int height)
Method Detail

setDepthData

public void setDepthData(float[] floatArray)
Parameters:
floatArray -

getDepthData

public final void getDepthData(float[] floatArray)
Parameters:
floatArray -

duplicateNodeComponent

protected void duplicateNodeComponent(NodeComponent original,
                                      boolean forceDuplicate)

Overrides:
duplicateNodeComponent in class DepthComponent

cloneNodeComponent

public DepthComponentFloat cloneNodeComponent(boolean forceDuplicate)

Specified by:
cloneNodeComponent in class NodeComponent