javax.media.j3d
Class DepthComponentIntRetained
java.lang.Object
javax.media.j3d.IndexedObject
javax.media.j3d.SceneGraphObjectRetained
javax.media.j3d.NodeComponentRetained
javax.media.j3d.DepthComponentRetained
javax.media.j3d.DepthComponentIntRetained
- All Implemented Interfaces:
- java.lang.Cloneable
class DepthComponentIntRetained
- extends DepthComponentRetained
A 2D array of depth (Z) values in integer format. Values are in the
range [0,(2**N)-1], where N is the pixel depth of the Z buffer.
Field Summary |
(package private) int[] |
depthData
|
Method Summary |
(package private) void |
getDepthData(int[] depthData)
Copies the depth data from this object to the specified array. |
(package private) void |
initialize(int width,
int height)
Constructs a new integer depth (z-buffer) component object with the
specified width and height. |
(package private) void |
retrieveDepth(int[] buf,
int wRead,
int hRead)
retrieve depth data from input buffer |
(package private) void |
setDepthData(int[] depthData)
Copies the specified depth data to this object. |
Methods inherited from class javax.media.j3d.NodeComponentRetained |
addAMirrorUser, addUser, clearLive, clone, copyMirrorUsers, createMirrorObject, decRefCnt, doSetLive, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, initMirrorObject, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, setLive, updateMirrorObject |
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained |
clearLive, clearLive, compile, doSetLive, doSetLive, getSource, getVirtualUniverse, handleFrequencyChange, isInSetLive, isStatic, markAsLive, merge, mergeTransform, setCompiled, setLive, setLive, setSource, traverse |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
depthData
int[] depthData
DepthComponentIntRetained
DepthComponentIntRetained()
initialize
void initialize(int width,
int height)
- Constructs a new integer depth (z-buffer) component object with the
specified width and height.
- Parameters:
width
- the width of the array of depth valuesheight
- the height of the array of depth values
setDepthData
void setDepthData(int[] depthData)
- Copies the specified depth data to this object.
- Parameters:
depthData
- array of ints containing the depth data
getDepthData
void getDepthData(int[] depthData)
- Copies the depth data from this object to the specified array.
- Parameters:
depthData
- array of ints that will receive a copy of
the depth data
retrieveDepth
final void retrieveDepth(int[] buf,
int wRead,
int hRead)
- retrieve depth data from input buffer
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.