|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jocl.cloth.NormalData
class NormalData
A plain structure holding the data that is associated with a
ParticleData
and stores the additional information that is
necessary to compute normals in parallel.
Field Summary | |
---|---|
(package private) int |
maxVertexFaces
The maximum number of faces that any vertex belongs to |
(package private) int[] |
vertexFaceCounters
Stores for each vertex number of faces that each vertex belongs to. |
(package private) int[] |
vertexFaceIndices
The indices of the faces that each vertex belongs to. |
Constructor Summary | |
---|---|
NormalData()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int[] vertexFaceCounters
vertexFaceIndices[vertexIndex*maxVertexFaces+0] = faceIndex0 vertexFaceIndices[vertexIndex*maxVertexFaces+1] = faceIndex1 ... vertexFaceIndices[vertexIndex*maxVertexFaces+N] = faceIndexN where N = maxVertexFaces-1
int maxVertexFaces
int[] vertexFaceIndices
vertexFaceIndices[vertexIndex*maxVertexFaces+0] = faceIndex0 vertexFaceIndices[vertexIndex*maxVertexFaces+1] = faceIndex1 ... vertexFaceIndices[vertexIndex*maxVertexFaces+N] = faceIndexN where vertexIndex = 0...numVertices-1 N = maxVertexFaces-1
Constructor Detail |
---|
NormalData()
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 |