|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.SceneGraphObject org.j3d.aviatrix3d.Layer
public abstract class Layer
An abstract layer definition that can be applied at the root of the scene graph.
A layer is a composite of objects that are applied in a sequential manner to the given surface. Between each layer the depth buffer is cleared and a new rendering is applied directly over the top of the previous. Colour buffers or other buffers are not cleared.
Field Summary | |
---|---|
static int |
COMPOSITE
The layer is a composite type, having many viewports defined |
static int |
COMPOSITE_2D
The layer is a 2D type, having only 2D rendering used and a many viewports defined. |
protected int |
layerType
The layer type constant |
static int |
SIMPLE
The layer is a simple type, having single 3D viewport defined |
static int |
SIMPLE_2D
The layer is a 2D type, having only 2D rendering used and a single viewport is defined. |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
alive, LISTENER_SET_TIMING_ERR_PROP, updateHandler |
Constructor Summary | |
---|---|
protected |
Layer(int type)
Construct a new layer of the given type. |
Method Summary | |
---|---|
int |
compareTo(Layer layer)
Compares this object with the specified object for order. |
boolean |
equals(Layer layer)
Compares this object with the specified object to check for equivalence. |
boolean |
equals(java.lang.Object o)
Compare this object for equality to the given object. |
LayerCullable |
getCullable(int buffer)
Get the cullable corresponding to the given internal buffer ID. |
int |
getType()
Get the type that this layer represents |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
checkForCyclicChild, checkForCyclicParent, dataChanged, getAppUpdateWriteTimingMessage, getBoundsWriteTimingMessage, getDataWriteTimingMessage, getUserData, isLive, setLive, setUpdateHandler, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.j3d.aviatrix3d.rendering.LayerCullable |
---|
getCullableViewport, numCullableChildren |
Field Detail |
---|
public static final int SIMPLE
public static final int COMPOSITE
public static final int SIMPLE_2D
public static final int COMPOSITE_2D
protected final int layerType
Constructor Detail |
---|
protected Layer(int type)
type
- The type constant for this layerMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to be compared
public LayerCullable getCullable(int buffer)
buffer
- The ID of the buffer to fetch the cullable for
public int getType()
public int compareTo(Layer layer)
layer
- The layer instance to be compared
public boolean equals(Layer layer)
layer
- The layer instance to be compared
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |