artisynth.core.inverse
Class InverseManager
java.lang.Object
artisynth.core.inverse.InverseManager
- All Implemented Interfaces:
- HasProperties
public class InverseManager
- extends java.lang.Object
- implements HasProperties
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inverseControlPanel
public ControlPanel inverseControlPanel
k
public static double k
defaultMaxa
public static final double defaultMaxa
- See Also:
- Constant Field Values
muscleColoring
public static boolean muscleColoring
maxa
public static double maxa
defaultProbeDuration
public static final double defaultProbeDuration
- See Also:
- Constant Field Values
defaultProbeUpdateInterval
public static final double defaultProbeUpdateInterval
- See Also:
- Constant Field Values
myProps
public static PropertyList myProps
InverseManager
public InverseManager()
getAllPropertyInfo
public PropertyList getAllPropertyInfo()
- Description copied from interface:
HasProperties
- Returns a list giving static information about all properties exported by
this object.
- Specified by:
getAllPropertyInfo
in interface HasProperties
- Returns:
- static information for all exported properties
getProperty
public Property getProperty(java.lang.String name)
- Description copied from interface:
HasProperties
- Returns a property associated with a specified path name. All properties
exported by this object must have a name which is a valid Java identifier.
Specifying one of these names causes the corresponding Property to be
returned. Handles to sub-properties can also be obtained by delimiting the
sub-property name(s) by '
.
' 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.
- Specified by:
getProperty
in interface HasProperties
- Parameters:
name
- name of the desired property or sub-property
- Returns:
- handle to the property
getController
public TrackingController getController()
createController
public void createController(MechSystemBase m,
java.lang.String name,
MotionTargetComponent[] modelTargets,
ExcitationComponent[] exciters)
createController
public void createController(MechSystemBase m,
java.lang.String name,
MotionTargetComponent[] modelTargets,
ExcitationComponent[] exciters,
double pointRadius,
double w2norm)
createController
public void createController(MechSystemBase m)
setController
public void setController(TrackingController controller)
clearContoller
public void clearContoller()
setMuscleColoringEnabled
public static void setMuscleColoringEnabled(boolean enable)
showInversePanel
public void showInversePanel()
hideInversePanel
public void hideInversePanel()
configureProbes
public void configureProbes()
syncTargetProbes
public void syncTargetProbes()
syncExcitationProbes
public void syncExcitationProbes()
getProbeDuration
public double getProbeDuration()
setProbeDuration
public void setProbeDuration(double probeDuration)
getProbeUpdateInterval
public double getProbeUpdateInterval()
setProbeUpdateInterval
public void setProbeUpdateInterval(double probeUpdateInterval)
getSyncTargets
public boolean getSyncTargets()
setSyncTargets
public void setSyncTargets(boolean syncTargets)
getSyncExcitations
public boolean getSyncExcitations()
setSyncExcitations
public void setSyncExcitations(boolean syncTargets)
inverseControllerExists
public static boolean inverseControllerExists()
findInverseController
public static TrackingController findInverseController()
isInversePanelVisible
public static boolean isInversePanelVisible()
findMechModel
public static MechModel findMechModel()
mechModelExists
public static boolean mechModelExists()
updateLineColorSaturation
public static void updateLineColorSaturation(Renderable r,
java.awt.Color m,
double excitation)