|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface GeneralizedStripFlags
A class which implements GeneralizedStripFlags provides the means to access the vertex replace code flags associated with each vertex of a generalized strip. This allows a flexible representation of generalized strips for various classes and makes it possible to provide a common subset of static methods which operate only on their topology.
GeneralizedStrip
,
GeneralizedVertexList
Field Summary | |
---|---|
static int |
FRONTFACE_CCW
This constant is used to indicate that triangles with counter-clockwise vertex winding are front facing. |
static int |
FRONTFACE_CW
This constant is used to indicate that triangles with clockwise vertex winding are front facing. |
static int |
REPLACE_MIDDLE
This flag indicates that the next triangle in the strip is defined by replacing the middle vertex of the previous triangle in the strip. |
static int |
REPLACE_OLDEST
This flag indicates that the next triangle in the strip is defined by replacing the oldest vertex of the previous triangle in the strip. |
static int |
RESTART_CCW
This flag indicates that a vertex starts a new strip with counter-clockwise winding. |
static int |
RESTART_CW
This flag indicates that a vertex starts a new strip with clockwise winding. |
Method Summary | |
---|---|
int |
getFlag(int index)
Return the flag associated with the vertex at the specified index. |
int |
getFlagCount()
Return the number of flags. |
Field Detail |
---|
static final int RESTART_CW
static final int RESTART_CCW
static final int REPLACE_MIDDLE
static final int REPLACE_OLDEST
static final int FRONTFACE_CW
static final int FRONTFACE_CCW
Method Detail |
---|
int getFlagCount()
int getFlag(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |