|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.ClothOptimizer
class ClothOptimizer
A class for optimizing a ClothData
in terms of storage locality
of the edges and their vertices.
Method Summary | |
---|---|
static ClothData |
optimize(ClothData clothData)
Creates an optimized ClothData from the given ClothData. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClothData optimize(ClothData clothData)
ClothData
from the given ClothData.
The new ClothData will have the same structure as the given one,
but the primitives will be reordered so that the indices of the
vertices of edges are "close" together, and the edges are ordered
by the "center" of the indices of their vertices, in ascending
order.
clothData
- The cloth data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |