class ShapeHolder extends ParserObject
| Modifier and Type | Field and Description |
|---|---|
(package private) float[] |
coordsArray |
(package private) int |
currentNumIndices |
(package private) int[] |
facetIndices |
(package private) int[] |
facetIndicesArray |
(package private) java.util.Vector |
facetIndicesList |
(package private) int[] |
facetSizes |
(package private) java.util.Vector |
facetSizesList |
(package private) float[] |
normalCoords |
(package private) int[] |
normalIndices |
(package private) int |
numSurf |
(package private) int |
numVerts |
debugPrinter, EXCEPTION, LINE_TRACE, MISC, NONE, TIME, TRACE, VALUES, WARNING| Constructor and Description |
|---|
ShapeHolder() |
ShapeHolder(int debugVals) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
calcNormals()
This method calculates facet normals for the geometry.
|
(package private) void |
createArrays(boolean reverseWinding)
Constructs geometry arrays given a winding rule (it turns out that
lw3d winding is opposite of j3d winding, so this is always set to
true in J3dLwoParser)
|
(package private) void |
nullify()
Force gc on all array objects
|
(package private) void |
printGeometryData(LwoSurface surface)
Print out (to stdout) the geometry data (coords, indices,
and facet sizes).
|
debugOutput, debugOutputLnjava.util.Vector facetSizesList
java.util.Vector facetIndicesList
int[] facetIndicesArray
int currentNumIndices
int numSurf
int numVerts
int[] facetIndices
int[] facetSizes
int[] normalIndices
float[] normalCoords
float[] coordsArray
void printGeometryData(LwoSurface surface)
void createArrays(boolean reverseWinding)
void nullify()
void calcNormals()
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.