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).
|
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.
|
cloneNodeComponent, cloneNodeComponent, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public static final int ALLOW_SIZE_READ
public static final int ALLOW_DATA_READ
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 © 2016–2022 SciJava. All rights reserved.