public class DepthComponentInt extends DepthComponent
ALLOW_DATA_READ, ALLOW_SIZE_READ| Constructor | Description |
|---|---|
DepthComponentInt(int width,
int height) |
Constructs a new integer depth (z-buffer) component object with the
specified width and height.
|
| Modifier and Type | Method | Description |
|---|---|---|
NodeComponent |
cloneNodeComponent() |
Deprecated.
replaced with cloneNodeComponent(boolean forceDuplicate)
|
void |
getDepthData(int[] depthData) |
Copies the depth data from this object to the specified array.
|
void |
setDepthData(int[] depthData) |
Copies the specified depth data to this object.
|
getHeight, getWidthcloneNodeComponent, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencespublic DepthComponentInt(int width,
int height)
width - the width of the array of depth valuesheight - the height of the array of depth valuespublic void setDepthData(int[] depthData)
depthData - array of ints containing the depth dataRestrictedAccessException - if the method is called
when this object is part of live or compiled scene graph.public void getDepthData(int[] depthData)
depthData - array of ints that will receive a copy of
the depth dataCapabilityNotSetException - if appropriate capability is
not set and this object is part of live or compiled scene graphpublic NodeComponent cloneNodeComponent()
cloneNodeComponent in class NodeComponentCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.