| |
|
| java.lang.Object javax.media.j3d.SceneGraphObject javax.media.j3d.NodeComponent javax.media.j3d.DepthComponent javax.media.j3d.DepthComponentNative
DepthComponentNative | public class DepthComponentNative extends DepthComponent (Code) | | A 2D array of depth (Z) values stored in the most efficient format for a
particular device. Values are not accessible by the user and may only be
used to read the Z values and subsequently write them back.
|
Method Summary | |
public NodeComponent | cloneNodeComponent() Creates a new DepthComponentNative object. | void | createRetained() Creates a retained mode DepthComponentIntRetained object that this
DepthComponentInt component object will point to. | void | duplicateAttributes(NodeComponent originalNodeComponent, boolean forceDuplicate) Copies all node information from originalNodeComponent into
the current node. | void | getDepthData(int[] depthData) Copies the depth data from this object to the specified array. |
DepthComponentNative | DepthComponentNative()(Code) | | Package scope defualt constructor for use by cloneNodeComponent
|
DepthComponentNative | public DepthComponentNative(int width, int height)(Code) | | Constructs a new native depth (z-buffer) component object with the
specified width and height.
Parameters: width - the width of the array of depth values Parameters: height - the height of the array of depth values |
createRetained | void createRetained()(Code) | | Creates a retained mode DepthComponentIntRetained object that this
DepthComponentInt component object will point to.
|
duplicateAttributes | void duplicateAttributes(NodeComponent originalNodeComponent, boolean forceDuplicate)(Code) | | Copies all node information from originalNodeComponent into
the current node. This method is called from the
duplicateNode method. This routine does
the actual duplication of all "local data" (any data defined in
this object).
Parameters: originalNodeComponent - the original node to duplicate. Parameters: forceDuplicate - when set to true , causes theduplicateOnCloneTree flag to be ignored. Whenfalse , the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied. See Also: Node.cloneTree See Also: NodeComponent.setDuplicateOnCloneTree |
getDepthData | void getDepthData(int[] depthData)(Code) | | Copies the depth data from this object to the specified array.
Parameters: depthData - array of ints that will receive a copy ofthe depth data |
Fields inherited from javax.media.j3d.DepthComponent | final public static int ALLOW_DATA_READ(Code)(Java Doc) final public static int ALLOW_SIZE_READ(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.NodeComponent | boolean forceDuplicate(Code)(Java Doc)
|
|
|
|