public class PositionOutputProbe extends NumericOutputProbe
position property. For components with orientation
(Frame and FixedMeshBody), the rotation information is read from the
components's orientation property, but is represented within the
probe data in a manner specifed by a RotationRep object, using
either 3 or 4 numbers. Rotation information is interpolated as curves on
SO(3), as originally described by Ken Shoemake in his SIGGRAPH 1985 paper
"Animating Rotation with Quaternion Curves".Probe.ExportProps, Probe.ImportExportFileInfoModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilitymyPropsEXPLICIT_TIME, mySmallDisplayuseOldSaveMethod, writeStartStopTimeInSecondsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesCOPY_REFERENCES, REST_POSITION| Constructor and Description |
|---|
PositionOutputProbe()
No-args constructor needed for scanning.
|
PositionOutputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
RotationRep rotRep,
double startTime,
double stopTime)
Constructs a PositionOutputProbe for a list of Point, Frame, or
FixedMeshBody components specified by
comps. |
PositionOutputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
RotationRep rotRep,
java.lang.String fileName,
double startTime,
double stopTime,
double interval)
Constructs a PositionOutputProbe for a list of Point, Frame, or
FixedMeshBody components specified by
comps. |
PositionOutputProbe(java.lang.String name,
ModelComponent comp,
RotationRep rotRep,
double startTime,
double stopTime)
Constructs a PositionOutputProbe for a single Point, Frame, or
FixedMeshBody, as specified by
comp. |
PositionOutputProbe(java.lang.String name,
ModelComponent comp,
RotationRep rotRep,
java.lang.String fileName,
double startTime,
double stopTime,
double interval)
Constructs a PositionOutputProbe for a single Point, Frame, or
FixedMeshBody, as specified by
comp. |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<ModelComponent> |
getPositionComponents()
Returns a list of the position components associated with this probe, in
the order that they appear in the probe's data.
|
void |
transformData(AffineTransform3dBase X)
Apply a rigid or affine transform to all the point and rotation data in
this list.
|
apply, clone, copy, getAllPropertyInfo, getCopyReferences, getOutput, getShowHeader, getShowTime, isDuplicatable, isEditable, load, postscan, save, scan, scanItem, set, set, setAttachedFileName, setAttachedFileName, setOutputProperties, setShowHeader, setShowTime, write, writeData, writeItemsaddData, applyDefaultDisplayRanges, clearData, decreaseDisplayRanges, dispose, exportCsvData, exportCsvData, exportData, exportTextData, exportTextData, getAttachedProperties, getData, getData, getDefaultDisplayMax, getDefaultDisplayMin, getDefaultDisplayRange, getDisplay, getDrivers, getExportFileInfo, getExportProps, getFormat, getImportFileInfo, getInterpolation, getInterpolationOrder, getLegend, getMatlabName, getMinMaxValues, getNumericList, getOrderedTraceIndex, getPlotTraceInfo, getRotationRep, getRotationSubvecOffsets, getTraceColor, getTraceLabel, getTraceManager, getValues, getVariables, getVisibleMinMaxValues, getVisibleRange, getVisibleRange, getVsize, importCsvData, importData, importText, importTextData, increaseDisplayRanges, isCloneable, isDisplayable, isEmpty, isPrintable, isSmallDisplayVisible, isTraceVisible, isValidVariableName, isWritable, loadFromMatlab, print, read, removeDisplay, removeLegend, resetTraceColors, resetTraceOrder, saveToMatlab, scaleNumericList, setData, setData, setDefaultDisplayRange, setDefaultDisplayRange, setFormat, setInterpolation, setInterpolationOrder, setLegend, setLegendLabels, setScale, setSmallDisplayVisible, setTraceColor, setTraceLabel, setTraceOrder, setTraceVisible, setValues, setValues, smoothWithMovingAverage, smoothWithSavitzkyGolay, swapPlotTraceOrder, updateDisplays, updateDisplays, updateDisplaysForPropertyChanges, updateDisplaysWithoutAutoRanging, writeTextcreateState, getAttachedFile, getAttachedFileName, getChildren, getClippedVirtualTime, getDefaultScale, getDefaultStartTime, getDefaultStopTime, getDefaultUpdateInterval, getDuration, getExportFile, getExportFileName, getFileFromPath, getImportFile, getImportFileName, getInitialState, getPathFromFile, getProperty, getScale, getStartTime, getState, getStopTime, getTimelineTime, getTrack, getUpdateInterval, getVirtualTime, hasAttachedFile, hasChildren, hasState, isAttachedFileRelative, isEventTime, isInput, isScalable, isSettable, nextEventTime, setAttachedFileName, setData, setExportFileName, setImportFileName, setInterval, setName, setScalable, setStartStopTimes, setStartTime, setState, setStopTime, setTrack, setUpdateIntervalfinalize, getModel, initialize, isActive, setActive, setModel, setModelFromComponent, writecheckFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isScanning, isSelected, makeValidName, makeValidName, notifyParentOfChange, 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, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetPropertygetChildren, hasChildrenisWritable, writepublic PositionOutputProbe()
public PositionOutputProbe(java.lang.String name,
ModelComponent comp,
RotationRep rotRep,
double startTime,
double stopTime)
comp. The update interval is set
to [-1, meaning that updates will occur every simulation step.name - if non-null, gives the name of the probecomp - specifies the Point, Frame, or FixedMeshBodyrotRep - rotation representation. Can be null if comp
is a Point.startTime - start time of the probestopTime - stop time of the probepublic PositionOutputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
RotationRep rotRep,
double startTime,
double stopTime)
comps. The update interval
is set to [-1, meaning that updates will occur every simulation
step.name - if non-null, gives the name of the probecomps - specifies the Point, Frame, or FixedMeshBody componentsrotRep - rotation representation. Can be null if all of the components
are points.startTime - start time of the probestopTime - stop time of the probepublic PositionOutputProbe(java.lang.String name,
ModelComponent comp,
RotationRep rotRep,
java.lang.String fileName,
double startTime,
double stopTime,
double interval)
comp.name - if non-null, gives the name of the probecomp - specifies the Point, Frame, or FixedMeshBodyrotRep - rotation representation. Can be null if comp
is a Point.fileName - if non-null, specifies the attached file to which probe
data can be savedstartTime - start time of the probestopTime - stop time of the probeinterval - probe update interval. If set to -1, updates will
occur every simulation step.public PositionOutputProbe(java.lang.String name,
java.util.Collection<? extends ModelComponent> comps,
RotationRep rotRep,
java.lang.String fileName,
double startTime,
double stopTime,
double interval)
comps.name - if non-null, gives the name of the probecomps - specifies the Point, Frame, or FixedMeshBody componentsrotRep - rotation representation. Can be null if all of the components
are points.fileName - if non-null, specifies the attached file to which probe
data can be savedstartTime - start time of the probestopTime - stop time of the probeinterval - probe update interval. If set to -1, updates will
occur every simulation step.public void transformData(AffineTransform3dBase X)
X - transform to applypublic java.util.ArrayList<ModelComponent> getPositionComponents()