|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.ClothApplicationGUI
class ClothApplicationGUI
The main user interface class for the cloth simulation application
Nested Class Summary | |
---|---|
(package private) static interface |
ClothApplicationGUI.SimulationType
Interface describing a selectable simulation type and the associated simulation factory |
Constructor Summary | |
---|---|
ClothApplicationGUI(ClothApplication clothApplication)
Creates the main user interface for the simulator. |
Method Summary | |
---|---|
protected java.lang.String |
getDataPath()
Return the path to the default input data directory |
protected java.util.List<ClothApplicationGUI.SimulationType> |
getSimulationTypes()
Returns the list of supported simulation types |
(package private) ClothData |
loadClothDataInBackground(java.lang.String fileName)
Executes ClothApplicationSetup.loadClothData(String) in a
background task, showing a modal dialog while the task is running. |
(package private) ClothData |
optimizeClothDataInBackground(ClothData clothData)
Executes ClothOptimizer.optimize(ClothData) in a
background task, showing a modal dialog while the task
is running. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ClothApplicationGUI(ClothApplication clothApplication)
clothApplication
- The cloth application main classMethod Detail |
---|
protected java.lang.String getDataPath()
protected java.util.List<ClothApplicationGUI.SimulationType> getSimulationTypes()
ClothData optimizeClothDataInBackground(ClothData clothData)
ClothOptimizer.optimize(ClothData)
in a
background task, showing a modal dialog while the task
is running.
clothData
- The ClothData
to optimize
ClothData loadClothDataInBackground(java.lang.String fileName)
ClothApplicationSetup.loadClothData(String)
in a
background task, showing a modal dialog while the task is running.
fileName
- The file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |