public class SimulationPrefs extends Preferences
Constructor and Description |
---|
SimulationPrefs(SimulationSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
applyToCurrent() |
boolean |
getAbortOnInvertedElements() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
CollisionManager.ColliderType |
getColliderType() |
Range |
getColliderTypeRange() |
boolean |
getHybridSolvesEnabled() |
SparseSolverId |
getMatrixSolver() |
double |
getMaxStepSize() |
int |
getNumSolverThreads() |
MechSystemSolver.PosStabilization |
getStabilization() |
void |
setAbortOnInvertedElements(boolean abortOnInvertedElements) |
void |
setColliderType(CollisionManager.ColliderType colliderType) |
void |
setFromCurrent() |
void |
setHybridSolvesEnabled(boolean hybridSolvesEnabled) |
void |
setMatrixSolver(SparseSolverId MatrixSolver) |
void |
setMaxStepSize(double maxStepSize) |
void |
setNumSolverThreads(int num) |
void |
setStabilization(MechSystemSolver.PosStabilization stabilization) |
actionPerformed, getEditingPanel, getProperty, isWritable, numScanWarnings, scan, setDefaults, write, writeItems
public SimulationPrefs(SimulationSettings settings)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class Preferences
public double getMaxStepSize()
public void setMaxStepSize(double maxStepSize)
public MechSystemSolver.PosStabilization getStabilization()
public void setStabilization(MechSystemSolver.PosStabilization stabilization)
public CollisionManager.ColliderType getColliderType()
public Range getColliderTypeRange()
public void setColliderType(CollisionManager.ColliderType colliderType)
public boolean getAbortOnInvertedElements()
public void setAbortOnInvertedElements(boolean abortOnInvertedElements)
public SparseSolverId getMatrixSolver()
public void setMatrixSolver(SparseSolverId MatrixSolver)
public boolean getHybridSolvesEnabled()
public void setHybridSolvesEnabled(boolean hybridSolvesEnabled)
public int getNumSolverThreads()
public void setNumSolverThreads(int num)
public void setFromCurrent()
setFromCurrent
in class Preferences
public void applyToCurrent()
applyToCurrent
in class Preferences