|
Aviatrix3D 2.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
org.j3d.aviatrix3d.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 |
FLAT
The layer is a 2D type, having only 2D rendering used |
protected int |
layerType
The layer type constant |
static int |
SIMPLE
The layer is a simple type, having single 3D viewport defined |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
alive, LISTENER_SET_NOT_LIVE_MESSAGE, updateHandler, WRITE_TIMING_MSG |
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. |
int |
getType()
Get the type that this layer represents |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
checkForCyclicChild, checkForCyclicParent, dataChanged, getUserData, isLive, setLive, setUpdateHandler, setUserData |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SIMPLE
public static final int COMPOSITE
public static final int FLAT
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)
o
- The object to be compared
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.0 Dev |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |