class DepthComponentFloatRetained extends DepthComponentRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) float[] |
depthData |
DEPTH_COMPONENT_TYPE_FLOAT, DEPTH_COMPONENT_TYPE_INT, DEPTH_COMPONENT_TYPE_NATIVE, height, type, widthchangedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, usersDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
DepthComponentFloatRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
getDepthData(float[] depthData)
Copies the depth data from this object to the specified array.
|
(package private) void |
initialize(int width,
int height)
Constructs a new floating-point depth (z-buffer) component object with
the specified width and height.
|
(package private) void |
retrieveDepth(float[] buf,
int wRead,
int hRead) |
(package private) void |
setDepthData(float[] depthData)
Copies the specified depth data to this object.
|
getHeight, getWidthaddAMirrorUser, addUser, clearLive, clone, copyMirrorUsers, createMirrorObject, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, initMirrorObject, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, setLive, updateMirrorObjectclearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, handleFrequencyChange, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traversegetIdxUsed, incIdxUsedvoid initialize(int width,
int height)
width - the width of the array of depth valuesheight - the height of the array of depth valuesvoid setDepthData(float[] depthData)
depthData - array of floats containing the depth datavoid getDepthData(float[] depthData)
depthData - array of floats that will receive a copy of
the depth datafinal void retrieveDepth(float[] buf,
int wRead,
int hRead)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.