public class RigidTransformInputProbe extends InputProbe
Probe.ExportProps, Probe.ImportExportFileInfo
ModelComponent.NavpanelVisibility
myProps, useOldSaveMethod, writeStartStopTimeInSeconds
enforceUniqueCompositeNames, 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.
|
isInput
createState, export, 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, isEventTime, isPrintable, isScalable, isSettable, load, nextEventTime, print, save, scan, setAttachedFileName, setData, setExportFileName, setImportFileName, setInterval, setName, setScalable, setScale, setStartStopTimes, setStartTime, setState, setStopTime, setTrack, setUpdateInterval
dispose, finalize, getModel, isActive, setActive, setModel, setModelFromComponent, write
checkFlag, 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, updateReferences
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setNumber, setParent, setSelected, setWritable, updateReferences
postscan
isWritable
public 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 ModelAgent
initialize
in class ModelAgentBase
public 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 InputProbe
t
- time to interpolate vertex positions to.