org.jmol.viewer
class TransformManager.MotionThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private AxisAngle4f |
aaStep |
private Vector3f |
aaStepCenter |
private Vector3f |
aaStepNavCenter |
private AxisAngle4f |
aaTotal |
private boolean |
asThread |
private Point3f |
center |
private int |
fps |
private long |
frameTimeMillis |
private int |
iStep |
private Matrix3f |
matrixEnd |
private Matrix3f |
matrixStart |
private Matrix3f |
matrixStartInv |
private Matrix3f |
matrixStep |
private Point3f |
navCenter |
private float |
navDepth |
private float |
navDepthDelta |
private float |
navDepthStart |
private float |
pixelScaleDelta |
private Point3f |
ptMoveToCenter |
private float |
rotationRadiusDelta |
private float |
startPixelScale |
private float |
startRotationRadius |
private float |
targetPixelScale |
private float |
targetRotationRadius |
private long |
targetTime |
private int |
totalSteps |
private float |
xNav |
private float |
xNavTransDelta |
private float |
xNavTransStart |
private float |
xTrans |
private float |
xTransDelta |
private float |
xTransStart |
private float |
yNav |
private float |
yNavTransDelta |
private float |
yNavTransStart |
private float |
yTrans |
private float |
yTransDelta |
private float |
yTransStart |
private float |
zoom |
private float |
zoomDelta |
private float |
zoomStart |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TransformManager.MotionThread() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
endMotion() |
void |
run() |
(package private) int |
set(float floatSecondsTotal,
Point3f center,
Matrix3f end,
float zoom,
float xTrans,
float yTrans,
float newRotationRadius,
Point3f navCenter,
float xNav,
float yNav,
float navDepth) |
(package private) boolean |
startMotion() |
void |
startMotion(boolean asThread) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final Vector3f aaStepCenter
private final Vector3f aaStepNavCenter
private final AxisAngle4f aaStep
private final AxisAngle4f aaTotal
private final Matrix3f matrixStart
private final Matrix3f matrixStartInv
private final Matrix3f matrixStep
private final Matrix3f matrixEnd
private Point3f center
private float zoom
private float xTrans
private float yTrans
private Point3f navCenter
private float xNav
private float yNav
private float navDepth
private Point3f ptMoveToCenter
private float startRotationRadius
private float targetPixelScale
private int totalSteps
private float startPixelScale
private float targetRotationRadius
private int fps
private float rotationRadiusDelta
private float pixelScaleDelta
private float zoomStart
private float zoomDelta
private float xTransStart
private float xTransDelta
private float yTransStart
private float yTransDelta
private float xNavTransStart
private float xNavTransDelta
private float yNavTransDelta
private float yNavTransStart
private float navDepthStart
private float navDepthDelta
private long targetTime
private long frameTimeMillis
private int iStep
private boolean asThread
public void startMotion(boolean asThread)
int set(float floatSecondsTotal, Point3f center, Matrix3f end, float zoom, float xTrans, float yTrans, float newRotationRadius, Point3f navCenter, float xNav, float yNav, float navDepth)
boolean startMotion()
void endMotion()