artisynth.core.inverse
Class LeastSquaresTermBase
java.lang.Object
artisynth.core.inverse.LeastSquaresTermBase
- All Implemented Interfaces:
- LeastSquaresTerm, HasProperties
- Direct Known Subclasses:
- DampingTerm, L2RegularizationTerm, MotionTargetTerm, StaticMotionTargetTerm
public abstract class LeastSquaresTermBase
- extends java.lang.Object
- implements LeastSquaresTerm, HasProperties
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultWeight
public static final double defaultWeight
- See Also:
- Constant Field Values
myProps
public static PropertyList myProps
LeastSquaresTermBase
public LeastSquaresTermBase()
LeastSquaresTermBase
public LeastSquaresTermBase(double weight)
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 pathName)
- 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:
pathName
- name of the desired property or sub-property
- Returns:
- handle to the property
setWeight
public void setWeight(double w)
- Specified by:
setWeight
in interface LeastSquaresTerm
getWeight
public double getWeight()