org.jmol.viewer
class TransformManager11 extends TransformManager
Field Summary | |
---|---|
boolean | isNavigationCentered |
int | multiplier |
float | navigationSlabOffset |
int | navMode |
int | nHits |
static int | NAV_MODE_NEWXY |
static int | NAV_MODE_NEWXYZ |
static int | NAV_MODE_NEWZ |
static int | NAV_MODE_NONE |
static int | NAV_MODE_RESET |
static int | NAV_MODE_ZOOMED |
float | previousX |
float | previousY |
float | prevZoomSetting |
float | zoomFactor |
Constructor Summary | |
---|---|
TransformManager11() | |
TransformManager11(Viewer viewer) | |
TransformManager11(Viewer viewer, int width, int height) |
Method Summary | |
---|---|
protected void | adjustTemporaryScreenPoint() |
void | alignZX(Point3f pt0, Point3f pt1, Point3f ptVectorWing)
brings pt0-pt1 vector to [0 0 -1], then rotates
about [0 0 1] until ptVectorWing is in xz plane |
protected void | calcCameraFactors() |
protected void | calcNavigationPoint()
All the magic happens here.
|
protected void | calcNavigationSlabAndDepth() |
boolean | canNavigate() |
Point3f | getNavigationCenter() |
float | getNavigationDepthPercent() |
Point3f | getNavigationOffset() |
float | getNavigationOffsetPercent(char XorY) |
float | getNavigationSlabOffsetPercent() |
protected String | getNavigationState() |
protected String | getNavigationText(boolean addComments) |
protected float | getPerspectiveFactor(float z) |
boolean | isNavigationCentered() |
void | navigate(int keyCode, int modifiers) |
void | navigate(float seconds, Point3f pt) |
void | navigate(float seconds, Vector3f rotAxis, float degrees) |
void | navigate(float seconds, Point3f[][] pathGuide) |
void | navigate(float seconds, Point3f[] path, float[] theta, int indexStart, int indexEnd) |
void | navigate(float seconds, Point3f[][] pathGuide, Point3f[] path, float[] theta, int indexStart, int indexEnd) |
void | navigateTo(float floatSecondsTotal, Vector3f axis, float degrees, Point3f center, float depthPercent, float xTrans, float yTrans) |
void | navTranslate(float seconds, Point3f pt) |
void | navTranslatePercent(float seconds, float x, float y) |
void | newNavigationCenter()
We do not want the fixed navigation offset to change,
but we need a new model-based equivalent position.
|
protected void | resetNavigationPoint(boolean doResetSlab) |
void | setNavigationDepthPercent(float timeSec, float percent) |
void | setNavigationDepthPercent(float percent) |
void | setNavigationSlabOffsetPercent(float percent) |
Parameters: pt0 pt1 ptVectorWing