All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.DepthImageInt
java.lang.Object
|
+----java.media.j3d.DepthImage
|
+----java.media.j3d.DepthImageInt
- public class DepthImageInt
- extends DepthImage
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.
-
DepthImageInt(int, int)
- Constructs a new integer depth (z-buffer) image object with the
specified width and height.
-
getDepthData(int[])
- Copies the depth data from this object to the specified array.
-
setDepthData(int[])
- Copies the specified depth data to this object.
DepthImageInt
public DepthImageInt(int width,
int height)
- Constructs a new integer depth (z-buffer) image object with the
specified width and height.
- Parameters:
- width - the width of the array of depth values
- height - the height of the array of depth values
setDepthData
public void setDepthData(int depthData[])
- Copies the specified depth data to this object.
- Parameters:
- depthData - array of ints containing the depth data
getDepthData
public 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
All Packages Class Hierarchy This Package Previous Next Index