public abstract class DepthComponent extends NodeComponent
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_DATA_READ
Specifies that this DepthComponent object allows reading its
depth data component information.
|
static int |
ALLOW_SIZE_READ
Specifies that this DepthComponent object allows reading its
size component information (width and height).
|
private static int[] |
readCapabilities |
forceDuplicatenodeHashtable, retained| Constructor and Description |
|---|
DepthComponent()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Retrieves the height of this depth component object.
|
int |
getWidth()
Retrieves the width of this depth component object.
|
checkDuplicateNodeComponent, cloneNodeComponent, cloneNodeComponent, createRetained, duplicateAttributes, duplicateChild, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree, validateImageIllegalSharingcapabilityBitsEmpty, checkForLiveOrCompiled, clearCapability, clearCapabilityIsFrequent, clearLive, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getNamePrefix, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCapabilityIsFrequent, setCompiled, setDefaultReadCapabilities, setLive, setName, setUserData, toString, updateNodeReferencespublic static final int ALLOW_SIZE_READ
public static final int ALLOW_DATA_READ
private static final int[] readCapabilities
public int getWidth()
CapabilityNotSetException - if appropriate capability is
not set and this object is part of live or compiled scene graphpublic int getHeight()
CapabilityNotSetException - if appropriate capability is
not set and this object is part of live or compiled scene graphCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.