org.jocl.cloth
Class SimulationFactoryJava

java.lang.Object
  extended by org.jocl.cloth.SimulationFactoryJava
All Implemented Interfaces:
SimulationFactory

 class SimulationFactoryJava
extends java.lang.Object
implements SimulationFactory

A factory for plain java cloth simulations


Constructor Summary
SimulationFactoryJava()
          Default constructor
 
Method Summary
 Simulation createSimulation(SimData simData, de.javagl.simplerenderer.SimpleRenderer renderer, de.javagl.simplerenderer.SimpleObject object)
          Create a new Simulation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationFactoryJava

SimulationFactoryJava()
Default constructor

Method Detail

createSimulation

public Simulation createSimulation(SimData simData,
                                   de.javagl.simplerenderer.SimpleRenderer renderer,
                                   de.javagl.simplerenderer.SimpleObject object)
Description copied from interface: SimulationFactory
Create a new Simulation

Specified by:
createSimulation in interface SimulationFactory
Parameters:
simData - The SimData
renderer - The renderer. May be null.
object - The rendered object corresponding to the simulation data. May be null if the renderer is null.
Returns:
The new Simulation