public interface TrackingTarget extends ModelComponent
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Method and Description |
|---|---|
ModelComponent |
getSourceComp()
Returns the source component associated with this target.
|
Vector |
getSubWeights()
Queries the subweights of this target.
|
int |
getTargetSize()
Queries the number of DOFs in the target.
|
double |
getWeight()
Queries the weight of this target.
|
void |
setSubWeights(VectorNd subw)
Sets the subweights for this target.
|
void |
setWeight(double w)
Sets the weight for this target.
|
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeint getTargetSize()
double getWeight()
setWeight(double)void setWeight(double w)
w - new target weightgetWeight()Vector getSubWeights()
setSubWeights(maspack.matrix.VectorNd)void setSubWeights(VectorNd subw)
getTargetSize(), and each has a default value of 1. Subweights are
multiplied by the target weight (returned by getWeight()) to yield
a net weight used to prioritize each degree of freedom in the tracking
computation, with higher weights resulting in more accurate tracking and
a weight of 0 resulting in no tracking at all.subw - new target subweightsgetSubWeights()ModelComponent getSourceComp()