public class RigidTransformInputProbe extends InputProbe
Probe.ExportProps, Probe.ImportExportFileInfoModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilitymyProps, useOldSaveMethod, writeStartStopTimeInSecondsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames| Constructor and Description |
|---|
RigidTransformInputProbe()
Default constructor.
|
RigidTransformInputProbe(RigidBody rigid)
Creates a RigidTransformInputProbe for a specified RigidBody
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransform(double t,
RigidTransform3d tx) |
void |
apply(double t)
Apply this probe at time t to model myModel.
|
void |
initialize(double t) |
void |
setInterpolation(Interpolation.Order interpOrder)
Set the interpolation order of the interpolator.
|
void |
setInterpolation(Interpolation interp)
Set your own interpolation method
|
void |
setRigid(RigidBody rigid)
Set the rigid body associated with this probe.
|
isInputcreateState, exportData, getAllPropertyInfo, getAttachedFile, getAttachedFileName, getChildren, getClippedVirtualTime, getDefaultScale, getDefaultStartTime, getDefaultStopTime, getDefaultUpdateInterval, getDuration, getExportFile, getExportFileInfo, getExportFileName, getExportProps, getFileFromPath, getImportFile, getImportFileInfo, getImportFileName, getInitialState, getPathFromFile, getProperty, getScale, getStartTime, getState, getStopTime, getTimelineTime, getTrack, getUpdateInterval, getVirtualTime, hasAttachedFile, hasChildren, hasState, importData, isAttachedFileRelative, isCloneable, isEditable, isEventTime, isPrintable, isScalable, isSettable, load, nextEventTime, print, save, scan, setAttachedFileName, setData, setExportFileName, setImportFileName, setInterval, setName, setScalable, setScale, setStartStopTimes, setStartTime, setState, setStopTime, setTrack, setUpdateIntervaldispose, finalize, getModel, isActive, setActive, setModel, setModelFromComponent, writecheckFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferencesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setNumber, setParent, setSelected, setWritable, updateReferencespostscanisWritablepublic RigidTransformInputProbe()
public RigidTransformInputProbe(RigidBody rigid)
rigid - rigid body for this probepublic void setRigid(RigidBody rigid)
rigid - rigid body for this probepublic void initialize(double t)
initialize in interface ModelAgentinitialize in class ModelAgentBasepublic void setInterpolation(Interpolation.Order interpOrder)
interpOrder - Enum value. Can be Linear, Cubic, Step, etc.
See maspack.interpolation.Interpolationpublic void setInterpolation(Interpolation interp)
interp - An initialized instance of Interpolationpublic void addTransform(double t,
RigidTransform3d tx)
public void apply(double t)
apply in class InputProbet - time to interpolate vertex positions to.