Package | Description |
---|---|
vona.dae.util |
COLLADA 1.5.0 import/export utilities.
|
vona.j3d |
Vona's utils: Java3D stuff.
|
vona.math |
Vona's utils: math stuff.
|
vona.ui |
Vona's utils: UI stuff.
|
Modifier and Type | Field and Description |
---|---|
RX |
DAEUtils.RXAndScale.rx
the rigid transform
|
Modifier and Type | Method and Description |
---|---|
vona.dae.jaxb.dae.MeshType |
DAEUtils.joglGeometryToDAEMesh(JOGLGeometry geometry,
RX rx)
|
vona.dae.jaxb.dae.MeshType |
DAEUtils.joglGeometryToDAEMesh(JOGLGeometry geometry,
RX rx,
DAEObject context)
Convert a
JOGLGeometry into a corresponding COLLADA "mesh". |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx)
Convert a
RX into an equivalent DAEUtils.DAERigidTransform . |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.KinematicsFrameType frame)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.LinkType.AttachmentEnd a)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.LinkType.AttachmentFull a)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.LinkType.AttachmentStart a)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.LinkType link)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
java.util.List<DAEObject> rotatesAndTranslates)
DAEUtils.rxToDAERigidTransform(RX) , then add the generated DAE "rotate"
and "translate" to rotatesAndTranslates. |
DAEUtils.DAERigidTransform |
DAEUtils.rxToDAERigidTransform(RX rx,
vona.dae.jaxb.dae.NodeType node)
convenience cover of
DAEUtils.rxToDAERigidTransform(RX, List) |
Constructor and Description |
---|
DAEUtils.RXAndScale(RX rx,
float scale)
sets instance fields
|
Modifier and Type | Field and Description |
---|---|
RX |
Widget.rx
Transforms coordinates in the native frame of this Widget to a parent
frame, or null (i.e.
|
Modifier and Type | Method and Description |
---|---|
static RX |
J3DRX.consFromT3D(javax.media.j3d.Transform3D t3d)
covers
J3DRX.setFromT3D(RX, Transform3D) , conses a new RX |
static RX |
J3DRX.setFromT3D(RX rx,
javax.media.j3d.Transform3D t3d)
Covers
J3DRX.setFromT3D(RX, Transform3D, double[]) , conses a temp
matrix. |
static RX |
J3DRX.setFromT3D(RX rx,
javax.media.j3d.Transform3D t3d,
double[] m)
Covers
fromMatrix(double[]) , but also gets matrix from
Java3D Transform3D, which must be Transform3D.RIGID. |
Modifier and Type | Method and Description |
---|---|
static RX |
J3DRX.setFromT3D(RX rx,
javax.media.j3d.Transform3D t3d)
Covers
J3DRX.setFromT3D(RX, Transform3D, double[]) , conses a temp
matrix. |
static RX |
J3DRX.setFromT3D(RX rx,
javax.media.j3d.Transform3D t3d,
double[] m)
Covers
fromMatrix(double[]) , but also gets matrix from
Java3D Transform3D, which must be Transform3D.RIGID. |
static javax.media.j3d.Transform3D |
J3DRX.setT3D(javax.media.j3d.Transform3D t3d,
double[] m,
RX rx)
covers
J3DRX.setT3D(Transform3D, double[], RX) , NaN scale |
static javax.media.j3d.Transform3D |
J3DRX.setT3D(javax.media.j3d.Transform3D t3d,
double[] m,
RX rx,
double scale)
Covers
toMatrix(double[]) , also sets a Java3D
Transform3D. |
static javax.media.j3d.Transform3D |
J3DRX.setT3D(javax.media.j3d.Transform3D t3d,
RX rx)
Covers
J3DRX.setT3D(Transform3D, double[], RX) , conses a temp
matrix. |
static javax.media.j3d.Transform3D |
J3DRX.toT3D(RX rx)
covers
J3DRX.setT3D(Transform3D, RX) conses the Transform3D |
Modifier and Type | Field and Description |
---|---|
protected RX |
RXSInterpolator.fromToX
|
(package private) RX |
RX.Test.rxA |
(package private) RX |
RX.Test.rxB |
protected RX |
RXSInterpolator.rxFrom
Local-to-world waypoint
RX , see class header doc for
details. |
protected RX |
RXSInterpolator.rxNext
Local-to-world waypoint
RX , see class header doc for
details. |
(package private) RX |
RX.Test.rxTA |
(package private) RX |
RX.Test.rxTB |
protected RX |
RXSInterpolator.rxTo
Local-to-world waypoint
RX , see class header doc for
details. |
protected RX |
RXSInterpolator.temp2X
temp storage
|
protected RX |
RXSInterpolator.tempX
temp storage
|
protected RX[] |
RXSInterpolator.waypointRX
local-to-world waypoint
RX indexed by waypoint index. |
Modifier and Type | Method and Description |
---|---|
RX |
RX.aim(double... d)
Set the rotation component such that (0, 0, 1) is transformed to be
parallel to d.
|
RX |
RX.append(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends without inversion |
RX |
RX.appendEither(RX other,
boolean invert)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends |
RX |
RX.appendInverse(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends inverse |
static RX |
RX.cons()
make a new identity rigid transform
|
static RX |
RX.consFromMatrix(double[] m)
covers
fromMatrix(double[]) , conses a new RX |
static RX |
RX.consFromXYO(double[] x,
double[] y,
double[] o)
Covers
consFromXYO(double[], double[], double[]) , conses a new
RX . |
static RX |
RX.consRandom()
covers
randomize() , conses a new RX |
static RX |
RX.consRandom(double translationRange,
double rotationRange)
Covers
randomize(double, double) conses a new RX . |
RX |
RX.dup()
convenience to
cons() and set(vona.math.RX) |
static RX |
RX.dup(RX rx)
convenience to
cons() and set(vona.math.RX) |
RX |
RX.fromMatrix(double[] m)
Set all components from row-major 16-element matrix m.
|
RX |
RX.fromScrew(double... screw)
covers
fromScrew(int, double...) with start 0 |
RX |
RX.fromScrew(double[] p,
double[] d,
double[] s)
Covers
fromScrew(int, double[], int, double[], int, double[]) ,
with all starts 0. |
RX |
RX.fromScrew(double t,
double d,
double px,
double py,
double pz,
double dx,
double dy,
double dz)
Set to ccw right-hand rotation of t radians about axis through
(px, py, pz) in direction of vector (dx, dy, dz), combined
with translation d in that direction.
|
RX |
RX.fromScrew(int start,
double... screw)
Covers
fromScrew(int, double[], int, double[], int, double[]) ,
with the three component vectors packed in order. |
RX |
RX.fromScrew(int pStart,
double[] p,
int dStart,
double[] d,
int sStart,
double[] s)
|
RX |
RX.fromXYO(double[] x,
double[] y,
double[] o)
Covers
fromMatrix(double[]) , builds the matrix given vectors
along the local frame x and y axes and the local frame origin. |
RX |
RXSInterpolator.getWaypointRX(int which)
RXSInterpolator.getWaypointRX(int, RX) , always conses |
RX |
RXSInterpolator.getWaypointRX(int which,
RX x)
Get a copy of a waypoint transform.
|
RX |
RX.interpolateTranslation(double u)
Covers
interpolateTranslation(double, RX, RX) with from
identity and to aliasing this RX. |
RX |
RX.interpolateTranslation(double u,
RX to)
Covers
interpolateTranslation(double, RX, RX) with from
aliasing this RX. |
RX |
RX.interpolateTranslation(double u,
RX from,
RX to)
Linearly interpolate the translation component of this RX between the
translation component of from and the translation component of
to.
|
RX |
RXSInterpolator.interpRX(double u)
covers
RXSInterpolator.interpRX(double, RX) , conses a new RX |
RX |
RXSInterpolator.interpRX(double u,
RX x)
Interpolate x according to
RXSInterpolator.interpolationType at
u in [0.0, 1.0] between the from and to waypoints. |
RX |
RX.invert()
invert in-place
|
RX |
RX.prepend(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends without inversion |
RX |
RX.prependEither(RX other,
boolean invert)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends |
RX |
RX.prependInverse(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends inverse |
RX |
RX.randomize()
|
RX |
RX.randomize(double translationRange,
double rotationRange)
Set this RX to a random transform.
|
RX |
RX.rotAxis(double t,
double dx,
double dy,
double dz)
Set to right-hand rotation of t radians about an axis through
the origin in the direction of vector (dx, dy, dz).
|
RX |
RX.rotAxis(double t,
double px,
double py,
double pz,
double dx,
double dy,
double dz)
Set to right-hand rotation of t radians about axis through
(px, py, pz) in direction of vector (dx, dy, dz).
|
RX |
RX.rotAxis(double t,
int pStart,
double[] p,
int dStart,
double[] d)
|
RX |
RX.rotX(double t)
Set to right-hand rotation of t radians about positive x
axis.
|
RX |
RX.rotY(double t)
Set to right-hand rotation of t radians about positive y
axis.
|
RX |
RX.rotZ(double t)
Set to right-hand rotation of t radians about positive z
axis.
|
RX |
RX.scaleTranslation(double scale)
scale the translation vector without modifying the rotation
|
RX |
RX.screwInterp(double u)
Covers
screwInterp(double, int, double[], int, double[], int,
double[]) with no optional outputs. |
RX |
RX.screwInterp(double u,
double[] screw)
covers
screwInterp(double, int, double[]) , starts at 0 |
RX |
RX.screwInterp(double u,
double[] c,
double[] d,
double[] s)
Covers
screwInterp(double, int, double[], int, double[], int,
double[]) with zero start indices for optional outputs. |
RX |
RX.screwInterp(double u,
int start,
double[] screw)
Covers
screwInterp(double, int, double[], int, double[], int,
double[]) , with the three component vectors packed in order. |
RX |
RX.screwInterp(double u,
int cStart,
double[] c,
int dStart,
double[] d,
int sStart,
double[] s)
Replace this RX by a transform that produces a keyframe at along the
right-handed screw motion taking the identity transform to the current
value of this
RX . |
RX |
RX.set(RX rx)
set all components from rx
|
RX |
RX.setEither(RX rx,
boolean invert)
convenience to
set(vona.math.RX) and possibly invert() |
RX |
RX.setEM(double... e)
covers
setEM(int, double...) , starts at 0 |
RX |
RX.setEM(double x,
double y,
double z)
Set the rotation as an EM vector without modifying the translation.
|
RX |
RX.setEM(int start,
double... e)
|
RX |
RX.setIdentity()
set to identity
|
RX |
RX.setIdentityRotation()
set rotation to identity, leave translation unchanged
|
RX |
RX.setIdentityTranslation()
set translation to identity, leave rotation unchanged
|
RX |
RX.setInverse(RX rx)
convenience to
set(vona.math.RX) and invert() |
RX |
RX.setQuaternion(double... q)
covers
setQuaternion(int, double...) , starts at 0 |
RX |
RX.setQuaternion(double x,
double y,
double z,
double w)
Set the rotation as a quaternion without modifying the translation.
|
RX |
RX.setQuaternion(int start,
double... q)
|
RX |
RX.setToEM(double... e)
covers
setToEM(int, double...) , starts at index 0 |
RX |
RX.setToEM(double x,
double y,
double z)
Set to a rotation given as an EM vector.
|
RX |
RX.setToEM(int start,
double... e)
|
RX |
RX.setToQuaternion(double... q)
covers
setToQuaternion(int, double...) , starts at index 0 |
RX |
RX.setToQuaternion(double x,
double y,
double z,
double w)
Set to a quaternion.
|
RX |
RX.setToQuaternion(int start,
double... q)
|
RX |
RX.setToTranslation(double... t)
covers
setToTranslation(int, double...) , starts at index 0 |
RX |
RX.setToTranslation(double x,
double y,
double z)
Set to a translation.
|
RX |
RX.setToTranslation(int start,
double... t)
|
RX |
RX.setTranslation(double... t)
covers
setTranslation(int, double...) , starts at 0 |
RX |
RX.setTranslation(double x,
double y,
double z)
set the translation without modifying the rotation
|
RX |
RX.setTranslation(int start,
double... t)
|
RX |
RX.setTXEM(double... txem)
setTXEM(int, double...) starting at 0 |
RX |
RX.setTXEM(int start,
double... txem)
setTranslation(double, double, double) and setEM(double, double, double) from a packed vector. |
RX |
RX.xPendEither(RX other,
boolean invert,
boolean prepend)
Prepend or append other, optionally inverting other
first.
|
Modifier and Type | Method and Description |
---|---|
RX |
RX.append(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends without inversion |
RX |
RX.appendEither(RX other,
boolean invert)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends |
RX |
RX.appendInverse(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always appends inverse |
double[] |
RXSInterpolator.diffTXEMFromNext(RX dx)
|
double[] |
RXSInterpolator.diffTXEMFromNext(RX dx,
double[] dtxem)
Compute a differential TXEM vector which when applied in
RXSInterpolator.addToNext(double[], double, double...) achieves the equivalent of appending dx to the current
value of RXSInterpolator.rxNext . |
static RX |
RX.dup(RX rx)
convenience to
cons() and set(vona.math.RX) |
boolean |
RX.epsilonEquals(RX other)
covers
epsilonEquals(RX, double) , uses VonaMath.DP2R |
boolean |
RX.epsilonEquals(RX other,
double eps)
check if this RX is effectively equal to other
|
boolean |
RX.epsilonEqualsDBG(RX other)
covers
epsilonEqualsDBG(RX, double) w/ VonaMath.DP2R |
boolean |
RX.epsilonEqualsDBG(RX other,
double eps)
show info about a failing equality
|
double[] |
RX.gatherShortestTXEMTo(RX other,
int[] txemIndices,
int start,
double[] value)
Gather a difference vector which, when added to the indicated TXEM
vector indices of this RX, will make those components equal to the
corresponding components of other, using either its current EM
vector with twist t or the corresponding anti-parallel
non-canonical EM vector with twist t-2pi, whichever is closer to
the current em vector of this RX.
|
double[] |
RX.gatherTXEMTo(RX other,
int[] txemIndices,
int start,
double[] value)
Gather a difference vector which, when added to the indicated TXEM
vector indices of this RX, will make those components equal to the
corresponding components of other.
|
double |
RX.getMaxTXEMComponentDiff(RX other)
Get the largest abs TXEM component difference between this RX and
other.
|
double[] |
RX.getShortestTXEMTo(RX other,
int start,
double[] value)
Covers
gatherShortestTXEMTo(RX, int[], int, double[]) , gets
all six TXEM vector components in order. |
double[] |
RX.getTXEMTo(RX other,
int start,
double[] value)
Covers
gatherTXEMTo(RX, int[], int, double[]) , gets
all six TXEM vector components in order. |
RX |
RXSInterpolator.getWaypointRX(int which,
RX x)
Get a copy of a waypoint transform.
|
double |
RXSInterpolator.getWaypointTransform(int which,
RX x)
Get a copy of a waypoint transform, and return the waypoint scale.
|
void |
RX.interpolateEM(double u,
RX to)
Covers
interpolateEM(double, RX, RX) with from
aliasing this RX. |
void |
RX.interpolateEM(double u,
RX from,
RX to)
Linearly interpolate the rotation component of this RX between the
rotation component of from and the rotation component of to
in EM space.
|
RX |
RX.interpolateTranslation(double u,
RX to)
Covers
interpolateTranslation(double, RX, RX) with from
aliasing this RX. |
RX |
RX.interpolateTranslation(double u,
RX from,
RX to)
Linearly interpolate the translation component of this RX between the
translation component of from and the translation component of
to.
|
void |
RX.interpolateTXEM(double u,
RX to)
Same as
interpolateTXEM(double, RX, RX) with from
aliasing this RX. |
void |
RX.interpolateTXEM(double u,
RX from,
RX to)
|
RX |
RXSInterpolator.interpRX(double u,
RX x)
Interpolate x according to
RXSInterpolator.interpolationType at
u in [0.0, 1.0] between the from and to waypoints. |
RX |
RX.prepend(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends without inversion |
RX |
RX.prependEither(RX other,
boolean invert)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends |
RX |
RX.prependInverse(RX other)
covers
xPendEither(vona.math.RX, boolean, boolean) , always prepends inverse |
boolean |
RX.scatterToTXEM(int[] txemIndices,
RX other)
Like
scatterToTXEM(int[], int, double...) but takes source
values from other. |
RX |
RX.set(RX rx)
set all components from rx
|
RX |
RX.setEither(RX rx,
boolean invert)
convenience to
set(vona.math.RX) and possibly invert() |
RX |
RX.setInverse(RX rx)
convenience to
set(vona.math.RX) and invert() |
void |
RXSInterpolator.setWaypointRX(int which,
RX x)
Set a waypoint transform.
|
void |
RXSInterpolator.setWaypointTransform(int which,
RX x,
double scale)
|
void |
RXSInterpolator.xformLocal(RX dx)
Covers
RXSInterpolator.xformLocal(RX, double, double...) with no change in
scale. |
void |
RXSInterpolator.xformLocal(RX dx,
double ds)
Covers
RXSInterpolator.xformLocal(RX, double, double...) with the local frame
origin as the scale center. |
void |
RXSInterpolator.xformLocal(RX dx,
double ds,
double... c)
Append a rigid transform dx to the next waypoint
local-to-world transform.
|
RX |
RX.xPendEither(RX other,
boolean invert,
boolean prepend)
Prepend or append other, optionally inverting other
first.
|
Modifier and Type | Field and Description |
---|---|
protected RX |
Display3D.cmtRX
current rigid part of the local-to-view composite model transform.
|
(package private) RX |
Display3D.QueuedGeometry.cmtRX
The
Display3D.cmtRX that was in effect when this geometry
was rendered. |
protected RX |
JOGLDisplay.currentModelViewRX
cache of OGL state
|
protected RX |
Display3D.localToWorldRX
Local-to-world
RX . |
protected RX[] |
Display3D.localToWorldStack
Stack for saving
Display3D.localToWorldRX . |
protected RX |
RXSInteractor.manipulationToWorld
Transform that takes manipulation frame coordinates to world frame,
thus defining manipulation frame.
|
protected RX |
Display3D.worldToViewRX
world-to-view
RX |
protected RX |
Display3D.worldToViewRXTemp
temporary world-to-view
RX |
Modifier and Type | Method and Description |
---|---|
RX |
RXSInteractor.getCurrentRX()
RXSInteractor.getCurrentRX(RX) , conses |
RX |
RXSInteractor.getCurrentRX(RX x)
Get the current interpolated value of the rigid transform.
|
protected RX |
Display3D.getLocalTranslationRXToPixel()
Display3D.getLocalTranslationRXToPixel(Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas, conses. |
protected RX |
Display3D.getLocalTranslationRXToPixel(java.awt.Point pixel)
|
protected RX |
Display3D.getLocalTranslationRXToPixel(java.awt.Point pixel,
RX ret)
Display3D.getTranslationRXToPixel(RX, Point) using the current Display3D.localToWorldRX . |
protected RX |
Display3D.getLocalTranslationRXToPixel(RX ret)
Display3D.getLocalTranslationRXToPixel(Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas. |
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT)
Display3D.getTranslationRXToPixel(RX, Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas, conses. |
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
java.awt.Point pixel)
|
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
java.awt.Point pixel,
RX ret)
Compute translation which takes (0, 0, 0) to the nearest point on the
ray through pixel to the origin of a local frame.
|
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
RX ret)
Display3D.getTranslationRXToPixel(RX, Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas. |
Modifier and Type | Method and Description |
---|---|
void |
RXSInteractor.appendManipulationToWorld(RX rx)
RXSInteractor.appendManipulationToWorld(RX, boolean) without inverting |
void |
RXSInteractor.appendManipulationToWorld(RX rx,
boolean invert)
Append to the
RXSInteractor.manipulationToWorld transform. |
protected void |
Display3D.draw(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance)
|
protected void |
JOGLDisplay.draw(RX cmt,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha)
This is the JOGL-specific impl of the central
Display3D.draw(RX,
float, Geometry, Appearance, float) call in the generic renderer. |
protected void |
J3DDisplay.draw(RX cmt,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha)
This impl sets appearance and then draws geometry on
J3DDisplay.gc3D . |
protected abstract void |
Display3D.draw(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha)
Concrete subclasses must implement this to draw geometry.
|
protected Display3D.QueuedGeometry[] |
Display3D.enqueue(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float maxViewZ,
float ambientAlpha,
Display3D.QueuedGeometry[] queue,
int queueSize)
|
protected void |
Display3D.enqueueTransparentGeometry(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float maxViewZ,
float ambientAlpha)
Add an item to the
Display3D.transparentQueue , unless Display3D.freezeTransparentQueue is set. |
RX |
RXSInteractor.getCurrentRX(RX x)
Get the current interpolated value of the rigid transform.
|
double |
RXSInteractor.getCurrentTransform(RX x)
Get the current interpolated value of the transform and scale.
|
protected RX |
Display3D.getLocalTranslationRXToPixel(java.awt.Point pixel,
RX ret)
Display3D.getTranslationRXToPixel(RX, Point) using the current Display3D.localToWorldRX . |
protected RX |
Display3D.getLocalTranslationRXToPixel(RX ret)
Display3D.getLocalTranslationRXToPixel(Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas. |
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT)
Display3D.getTranslationRXToPixel(RX, Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas, conses. |
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
java.awt.Point pixel)
|
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
java.awt.Point pixel,
RX ret)
Compute translation which takes (0, 0, 0) to the nearest point on the
ray through pixel to the origin of a local frame.
|
RX |
Display3D.getTranslationRXToPixel(RX localFrameCMT,
RX ret)
Display3D.getTranslationRXToPixel(RX, Point, RX) , uses current mouse
position or (0, 0) if mouse not on canvas. |
void |
RXSInteractor.interpolateTo(double interpolationTime,
RX x,
double s)
Interpolate immediately from the current transform to (x,
s).
|
void |
RXSInteractor.interpolateTo(RX x)
Covers
RXSInteractor.interpolateTo(double, RX, double) uses current RXSInteractor.interpolationTime and scale. |
void |
RXSInteractor.interpolateTo(RX x,
double s)
Covers
RXSInteractor.interpolateTo(double, RX, double) uses current RXSInteractor.interpolationTime . |
void |
RXSInteractor.jumpTo(RX x)
RXSInteractor.jumpTo(RX, double) with current scale. |
void |
RXSInteractor.jumpTo(RX x,
double s)
Covers
RXSInteractor.interpolateTo(double, RX, double) with zero
interpolation time. |
void |
Display3D.navigateToView(RX localToWorld)
Display3D.navigateToView(RX, boolean, boolean, boolean, boolean) , always
interpolates, does not set rotation center or defaults. |
void |
Display3D.navigateToView(RX localToWorld,
boolean setRotationCenter)
Display3D.navigateToView(RX, boolean, boolean, boolean, boolean) , always
interpolates, does not set defaults. |
void |
Display3D.navigateToView(RX localToWorld,
boolean setRotationCenter,
boolean setDefaultView,
boolean setDefaultRotationCenter)
Display3D.navigateToView(RX, boolean, boolean, boolean, boolean) , always
interpolates. |
void |
Display3D.navigateToView(RX localToWorld,
boolean setRotationCenter,
boolean setDefaultView,
boolean setDefaultRotationCenter,
boolean jump)
Navigate to a viewpoint that aligns the coordinate frame identified by
cmt with the view frame.
|
protected boolean |
Display3D.prependInverseLocalToWorld(RX rx)
Display3D.prependInverseLocalToWorld(RX, boolean) not
alwaysUpdate. |
protected boolean |
Display3D.prependInverseLocalToWorld(RX rx,
boolean alwaysUpdate)
Prepend rx^{-1} to
Display3D.localToWorldRX , then Display3D.updateCMT() iff changed. |
protected boolean |
Display3D.prependLocalToWorld(RX rx)
Display3D.prependLocalToWorld(RX, boolean) not alwaysUpdate |
protected boolean |
Display3D.prependLocalToWorld(RX rx,
boolean alwaysUpdate)
Prepend rx to
Display3D.localToWorldRX , then Display3D.updateCMT() iff changed or alwayUpdate. |
void |
RXSInteractor.prependManipulationToWorld(RX rx)
RXSInteractor.prependManipulationToWorld(RX, boolean) without inverting |
void |
RXSInteractor.prependManipulationToWorld(RX rx,
boolean invert)
Prepend to the
RXSInteractor.manipulationToWorld transform. |
protected void |
Display3D.render(Widget w,
RX extraLocalToWorld)
Render a
Widget . |
protected void |
JOGLDisplay.renderDepthOnly(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance)
optimized with
JOGLDisplay.drawDisableColorWrite |
protected void |
Display3D.renderDepthOnly(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance)
Render only the depth component of a geometry.
|
protected void |
Display3D.renderHighlighted(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance)
Hook called from generic
Display3D.render() to render a highlighted
geometry. |
protected void |
Display3D.renderTransparent(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha)
Covers
Display3D.renderTransparent(RX, float, Geometry, Appearance,
float) , always disables depth write. |
protected void |
JOGLDisplay.renderTransparent(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha,
boolean disableDepthWrite)
Optimized with
JOGLDisplay.drawDisableDepthWrite , unless both highlighted
and has extra alpha. |
protected void |
Display3D.renderTransparent(RX cmtRX,
float cmtScale,
javax.media.j3d.Geometry geometry,
javax.media.j3d.Appearance appearance,
float extraAlpha,
boolean disableDepthWrite)
Render a transparent geometry.
|
protected void |
Display3D.setCMT(RX cmtRX,
float cmtScale)
|
void |
Display3D.setDefaultView(RX rx,
double scale)
Set the default world-to-view transform as returned by the
default impl of
Display3D.getDefaultViewTXEM() . |
protected boolean |
JOGLDisplay.setGLModelView(RX rx,
float scale)
Potentially mutate the OGL
GL_MODELVIEW matrix. |
protected boolean |
Display3D.setLocalToWorld(RX rx)
Display3D.setLocalToWorld(RX, boolean) not alwaysUpdate |
protected boolean |
Display3D.setLocalToWorld(RX rx,
boolean alwaysUpdate)
Set identity
Display3D.localToWorldRX by copy, then Display3D.updateCMT() iff changed or alwaysUpdate. |
void |
RXSInteractor.setManipulationToWorld(RX rx)
RXSInteractor.setManipulationToWorld(RX, boolean) without inverting |
void |
RXSInteractor.setManipulationToWorld(RX rx,
boolean invert)
Set the
RXSInteractor.manipulationToWorld transform by copy. |