public class AnalyticGeometryTests extends ParametricTestBase
Modifier and Type | Class and Description |
---|---|
static class |
AnalyticGeometryTests.WrappableGeometryPair |
ParametricTestBase.EndpointPenetrationMonitor, ParametricTestBase.ParametricMotionControllerBase
WrapTestBase.ABPointsMonitor, WrapTestBase.HasUpdateFileMonitor, WrapTestBase.PropertyMonitor, WrapTestBase.RequiresReset
ModelComponent.NavpanelVisibility
CompositeComponent.NavpanelDisplay
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
DEFAULT_DAMPING, DEFAULT_DISTANCE_GRID_DENSITY, DEFAULT_DISTANCE_GRID_VISIBILITY, DEFAULT_EXPLICIT_GRID_RES, DEFAULT_INSERTION_BASE_POSITION, DEFAULT_INSERTION_INTERPOLATION, DEFAULT_NUM_SEGMENTS, DEFAULT_ORIGIN_BASE_POSITION, DEFAULT_ORIGIN_INTERPOLATION, DEFAULT_REST_LENGTH, DEFAULT_STIFFNESS
DEFAULT_MODEL_TITLE, testSaveAndRestoreState
DEFAULT_MAX_STEP_SIZE
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
STATE_IS_VOLATILE
Constructor and Description |
---|
AnalyticGeometryTests() |
Modifier and Type | Method and Description |
---|---|
void |
build(java.lang.String[] args) |
double |
getABError() |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
Wrench |
getExactForce() |
double |
getExactStrandLength() |
double |
getExactStrandLengthDot() |
double |
getForceError() |
AnalyticGeometryManager<AnalyticGeometryTests.WrappableGeometryPair> |
getGeometryManager() |
double |
getLengthDotError() |
double |
getLengthError() |
double |
getStrandLength() |
double |
getStrandLengthDot() |
Wrench |
getWrapForce() |
double |
getWrapForceError() |
void |
initialize(double t)
Causes this model to initialize itself at time t.
|
void |
reWrap() |
void |
setExplicitGridRes(Vector3i res) |
getCurrentWrappable, getWrappable, setDistanceGridDensity, setDistanceGridVisible
actionPerformed, advance, attach, getDistanceGridDensity, getExplicitGridRes, getInsertionBasePosition, getInsertionInterpolation, getInsertionPosition, getMenuItems, getNumSegments, getOriginBasePosition, getOriginInterpolation, getOriginPosition, getProfileTime, getSpring, isDistanceGridVisible, setDistanceGridVisible, setInsertionBasePosition, setInsertionInterpolation, setNumSegments, setOriginBasePosition, setOriginInterpolation, setProfileTime, update
addBreakPoint, addComponentChangeListener, addController, addController, addControlPanel, addControlPanel, addInputProbe, addInputProbe, addModel, addMonitor, addMonitor, addOutputProbe, addOutputProbe, addRenderable, addRenderable, addTracingProbe, addWayPoint, addWayPoint, applyControllers, applyInputProbes, applyMonitors, applyOutputProbes, checkWrite, clear, clearRenderables, clearTraces, clearTracing, componentChanged, createState, detach, disableAllTracing, disableTracing, dispose, enableTracing, findSourceDir, getAbout, getAdaptiveStepping, getControllers, getControlPanels, getControlPanelTabs, getDefaultViewOrientation, getInitialState, getInputProbes, getMainFrame, getMainViewer, getMinStepSize, getModelTitle, getMonitors, getNextAdvanceTime, getNumTraceables, getOutputProbes, getRoot, getSourceRelativePath, getStartTime, getState, getState, getStopRequest, getTaskManager, getTestSaveRestoreState, getTraceSet, getTracingProbe, getTracingProbes, getViewerCenter, getViewerEye, getViewerUp, getWayPoint, getWayPointChecking, getWayPoints, getWorkingFolder, hasRoot, hasState, hasTracingProbes, invalidateInitialState, isBaseProperty, isCheckEnabled, isFocusable, isTracing, loadControlPanel, mergeAllControlPanels, mergeControlPanel, models, notifyParentOfChange, notifyStructureChanged, postscan, postscanInitialize, prerender, removeAllControllers, removeAllControlPanels, removeAllInputProbes, removeAllModels, removeAllMonitors, removeAllOutputProbes, removeAllWayPoints, removeComponentChangeListener, removeController, removeControlPanel, removeInputProbe, removeModel, removeMonitor, removeOutputProbe, removeRenderable, removeRenderable, removeWayPoint, render, renderables, rerender, resetInitialState, scan, scanProbes, setAdaptiveStepping, setCheckEnabled, setDefaultValues, setDefaultViewOrientation, setDefaultViewOrientation, setFocusable, setMainViewer, setMaxStepSize, setMinStepSize, setModelTitle, setStartTime, setState, setStopRequest, setTaskManager, setTestSaveRestoreState, setTracingProbesVisible, setViewerCenter, setViewerEye, setViewerUp, setWayPointChecking, setWorkingFolder, stopAdvance, updateBounds, write
createRenderProps, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps
copy, getDefaultMaxStepSize, getMaxStepSize, hasParameterizedType, hierarchyContainsReferences, preadvance, setDefaultMaxStepSize
add, add, addAll, addComponents, addFixed, addNumbered, clone, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, remove, remove, removeAll, removeAll, removeComponents, resetNumbersToIndices, retainAll, set, setEditable, setNavpanelDisplay, setNumbered, setOneBasedNumbering, setShortName, size, toArray, toArray, updateNameMap
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, isFixed, isMarked, isSelected, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
getChildren, hasChildren
isWritable, write
getName
public static PropertyList myProps
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class WrapTestBase
public double getStrandLength()
public double getStrandLengthDot()
public double getExactStrandLength()
public double getExactStrandLengthDot()
public Wrench getExactForce()
public Wrench getWrapForce()
public double getWrapForceError()
public double getLengthError()
public double getLengthDotError()
public double getForceError()
public double getABError()
public void build(java.lang.String[] args) throws java.io.IOException
build
in class ParametricTestBase
java.io.IOException
public AnalyticGeometryManager<AnalyticGeometryTests.WrappableGeometryPair> getGeometryManager()
public void reWrap()
reWrap
in class WrapTestBase
public void initialize(double t)
RootModel
HasState.setState(artisynth.core.modelbase.ComponentState)
, in which case t
may have an arbitrary value.initialize
in interface Model
initialize
in class RootModel
t
- initialization time (seconds)public void setExplicitGridRes(Vector3i res)
setExplicitGridRes
in class WrapTestBase