public class InverseManager extends java.lang.Object implements HasProperties
Modifier and Type | Field and Description |
---|---|
static double |
defaultMaxa |
static double |
defaultProbeDuration |
static double |
defaultProbeUpdateInterval |
ControlPanel |
inverseControlPanel |
static double |
k |
static double |
maxa |
static boolean |
muscleColoring |
static PropertyList |
myProps |
Constructor and Description |
---|
InverseManager() |
Modifier and Type | Method and Description |
---|---|
void |
clearContoller() |
void |
configureProbes() |
void |
createController(MechSystemBase m) |
void |
createController(MechSystemBase m,
java.lang.String name,
MotionTargetComponent[] modelTargets,
ExcitationComponent[] exciters) |
void |
createController(MechSystemBase m,
java.lang.String name,
MotionTargetComponent[] modelTargets,
ExcitationComponent[] exciters,
double pointRadius,
double w2norm) |
static TrackingController |
findInverseController() |
static MechModel |
findMechModel() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
TrackingController |
getController() |
double |
getProbeDuration() |
double |
getProbeUpdateInterval() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
boolean |
getSyncExcitations() |
boolean |
getSyncTargets() |
void |
hideInversePanel() |
static boolean |
inverseControllerExists() |
static boolean |
isInversePanelVisible() |
static boolean |
mechModelExists() |
void |
setController(TrackingController controller) |
static void |
setMuscleColoringEnabled(boolean enable) |
void |
setProbeDuration(double probeDuration) |
void |
setProbeUpdateInterval(double probeUpdateInterval) |
void |
setSyncExcitations(boolean syncTargets) |
void |
setSyncTargets(boolean syncTargets) |
void |
showInversePanel() |
void |
syncExcitationProbes() |
void |
syncTargetProbes() |
static void |
updateLineColorSaturation(Renderable r,
java.awt.Color m,
double excitation) |
public ControlPanel inverseControlPanel
public static double k
public static final double defaultMaxa
public static boolean muscleColoring
public static double maxa
public static final double defaultProbeDuration
public static final double defaultProbeUpdateInterval
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
public Property getProperty(java.lang.String name)
HasProperties
.
' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty
in interface HasProperties
name
- name of the desired property or sub-propertypublic TrackingController getController()
public void createController(MechSystemBase m, java.lang.String name, MotionTargetComponent[] modelTargets, ExcitationComponent[] exciters)
public void createController(MechSystemBase m, java.lang.String name, MotionTargetComponent[] modelTargets, ExcitationComponent[] exciters, double pointRadius, double w2norm)
public void createController(MechSystemBase m)
public void setController(TrackingController controller)
public void clearContoller()
public static void setMuscleColoringEnabled(boolean enable)
public void showInversePanel()
public void hideInversePanel()
public void configureProbes()
public void syncTargetProbes()
public void syncExcitationProbes()
public double getProbeDuration()
public void setProbeDuration(double probeDuration)
public double getProbeUpdateInterval()
public void setProbeUpdateInterval(double probeUpdateInterval)
public boolean getSyncTargets()
public void setSyncTargets(boolean syncTargets)
public boolean getSyncExcitations()
public void setSyncExcitations(boolean syncTargets)
public static boolean inverseControllerExists()
public static TrackingController findInverseController()
public static boolean isInversePanelVisible()
public static MechModel findMechModel()
public static boolean mechModelExists()
public static void updateLineColorSaturation(Renderable r, java.awt.Color m, double excitation)