|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.ClothApplicationSetup
class ClothApplicationSetup
Utility methods for the setup and profiling of the cloth application
Method Summary | |
---|---|
(package private) static SimData |
createSimData(java.lang.String objFileName,
ClothData clothData)
Creates the SimData for the given ClothData
that was read from the file with the given name. |
(package private) static java.lang.String |
getDefaultClothFileName()
Returns the default cloth input file name |
(package private) static ClothData |
loadClothData(java.lang.String fileName)
Loads the ClothData from the OBJ file with the given name |
(package private) static SimData |
loadSimData(java.lang.String fileName)
Loads the SimData from the specified file. |
(package private) static void |
saveSimData(SimData simData,
java.lang.String fileName)
Writes the given SimData into the file with the
specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
static java.lang.String getDefaultClothFileName()
static ClothData loadClothData(java.lang.String fileName)
fileName
- The file name
null
if the data could
not be readstatic SimData createSimData(java.lang.String objFileName, ClothData clothData)
SimData
for the given ClothData
that was read from the file with the given name.
objFileName
- The name of the file that the cloth data was
read fromclothData
- The cloth data
static SimData loadSimData(java.lang.String fileName)
SimData
from the specified file.
fileName
- The file name
null
if
the file could not be read.static void saveSimData(SimData simData, java.lang.String fileName)
SimData
into the file with the
specified name.
simData
- The simulation datafileName
- The file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |