|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmri.v3ds.Face3ds
public class Face3ds
Face definition for a single triangle.
The face definition contains three parameters (P0, P1, P2) which
identify the three corners of a triangle. P0, P1 and P2
are simply indexes into the vertex and texture mapping arrays (accessible
from the Mesh3ds class). A face also contains the
Flag parameter which is a bitfield holding edge visibility
and texture wrapping flags.
| Field Summary | |
|---|---|
static int |
AB_VISIBLE
Bitmask for Flags parameter. |
static int |
BC_VISIBLE
Bitmask for Flags parameter. |
static int |
CA_VISIBLE
Bitmask for Flags parameter. |
int |
Flags
Edge visibility and texture wrapping flags. |
int |
P0
P0 index into vertex and texture mapping arrays. |
int |
P1
P1 index into vertex and texture mapping arrays. |
int |
P2
P2 index into vertex and texture mapping arrays. |
static int |
U_WRAP
Bitmask for Flags parameter. |
static int |
V_WRAP
Bitmask for Flags parameter. |
| Constructor Summary | |
|---|---|
Face3ds(int p0,
int p1,
int p2,
int flags)
Constructor, initialising the (P0,P1,P2,Flags) parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a String object representing this Face3ds's value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int AB_VISIBLE
public static final int BC_VISIBLE
public static final int CA_VISIBLE
public static final int U_WRAP
public static final int V_WRAP
public int P0
public int P1
public int P2
public int Flags
| Constructor Detail |
|---|
public Face3ds(int p0,
int p1,
int p2,
int flags)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||