Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.java3d.audioengines |
Provides abstract classes for creating Java 3D audio devices.
|
org.scijava.java3d.audioengines.javasound |
Provides a JavaSound-based implementation of a Java 3D audio device.
|
org.scijava.java3d.internal | |
org.scijava.java3d.utils.behaviors.vp |
Provides ViewPlatform navigation utility classes.
|
org.scijava.java3d.utils.pickfast |
Provides picking utility classes for the new core picking methods.
|
org.scijava.java3d.utils.picking |
OBSOLETE: provides picking utility classes for the old
picking methods.
|
org.scijava.vecmath |
Provides 3D vector mathematics classes.
|
Modifier and Type | Method and Description |
---|---|
void |
HiResCoord.difference(HiResCoord h1,
Vector3d v)
Subtracts the specified HiResCoord from this HiResCoord
placing the difference vector into the specified
double-precision vector.
|
double |
Transform3D.get(Matrix3d m1,
Vector3d t1)
Places the normalized rotational component of this transform
into the matrix parameter; place the translational component
into the vector parameter.
|
double |
Transform3D.get(Matrix3f m1,
Vector3d t1)
Places the normalized rotational component of this transform
into the matrix parameter; place the translational component
into the vector parameter.
|
void |
PickRay.get(Point3d origin,
Vector3d direction)
Retrieves the parameters from this PickRay.
|
double |
Transform3D.get(Quat4d q1,
Vector3d t1)
Places the quaternion equivalent of the normalized rotational
component of this transform into the quaternion parameter;
places the translational component into the Vector parameter.
|
double |
Transform3D.get(Quat4f q1,
Vector3d t1)
Places the quaternion equivalent of the normalized rotational
component of this transform into the quaternion parameter;
places the translational component into the Vector parameter.
|
void |
Transform3D.get(Vector3d trans)
Retrieves the translational components of this transform.
|
void |
PickCylinder.getDirection(Vector3d direction)
Gets the direction of this cylinder.
|
void |
PickCone.getDirection(Vector3d direction)
Gets the direction of this PickCone.
|
void |
Transform3D.getScale(Vector3d scale)
Gets the possibly non-uniform scale components of the current
transform and places them into the scale vector.
|
abstract boolean |
Bounds.intersect(Point3d origin,
Vector3d direction)
Test for intersection with a ray.
|
boolean |
BoundingSphere.intersect(Point3d origin,
Vector3d direction)
Test for intersection with a ray.
|
boolean |
BoundingPolytope.intersect(Point3d origin,
Vector3d direction)
Test for intersection with a ray.
|
boolean |
BoundingBox.intersect(Point3d origin,
Vector3d direction)
Test for intersection with a ray.
|
void |
Transform3D.lookAt(Point3d eye,
Point3d center,
Vector3d up)
Helping function that specifies the position and orientation of a
view matrix.
|
void |
Transform3D.set(double scale,
Vector3d v1)
Sets the value of this transform to a scale and translation
matrix; the scale is not applied to the translation and all
of the matrix values are modified.
|
void |
Transform3D.set(Matrix3d m1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the rotation matrix m1, the translation t1, and the scale s.
|
void |
Transform3D.set(Matrix3f m1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the rotation matrix m1, the translation t1, and the scale s.
|
void |
PickRay.set(Point3d origin,
Vector3d direction)
Sets the parameters of this PickRay to the specified values.
|
void |
PickCylinderRay.set(Point3d origin,
Vector3d direction,
double radius)
Sets the parameters of this PickCylinderRay to the specified values.
|
void |
PickConeRay.set(Point3d origin,
Vector3d direction,
double spreadAngle)
Sets the parameters of this PickCone to the specified values.
|
void |
Transform3D.set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Transform3D.set(Quat4f q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Transform3D.set(Vector3d trans)
Sets the translational value of this matrix to the Vector3d paramter
values, and sets the other components of the matrix as if this
transform were an identity matrix.
|
void |
Transform3D.set(Vector3d v1,
double scale)
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the
matrix values are modified.
|
void |
AudioDevice3D.setDirection(int index,
Vector3d direction)
Sets this sound's direction from the local coordinate vector provided.
|
void |
Transform3D.setEuler(Vector3d euler)
Sets the rotational component (upper 3x3) of this transform to the
rotation matrix converted from the Euler angles provided; the other
non-rotational elements are set as if this were an identity matrix.
|
void |
Transform3D.setScale(Vector3d scale)
Sets the possibly non-uniform scale component of the current
transform; any existing scale is first factored out of the
existing transform before the new scale is applied.
|
void |
Transform3D.setTranslation(Vector3d trans)
Replaces the translational components of this transform to the values
in the Vector3d argument; the other values of this transform are not
modified.
|
void |
Transform3D.transform(Vector3d normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Transform3D.transform(Vector3d normal,
Vector3d normalOut)
Transforms the normal parameter by this transform and places the value
into normalOut.
|
Constructor and Description |
---|
PickConeRay(Point3d origin,
Vector3d direction,
double spreadAngle)
Constructs an infinite cone pick shape from the specified
parameters.
|
PickCylinderRay(Point3d origin,
Vector3d direction,
double radius)
Constructs an infinite cylindrical ray pick shape from the specified
parameters.
|
PickRay(Point3d origin,
Vector3d direction)
Constructs an infinite ray pick shape from the specified
parameters.
|
Transform3D(Matrix3d m1,
Vector3d t1,
double s)
Constructs and initializes a transform from the rotation matrix,
translation, and scale values.
|
Transform3D(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a transform from the rotation matrix,
translation, and scale values.
|
Transform3D(Quat4d q1,
Vector3d t1,
double s)
Constructs and initializes a transform from the quaternion,
translation, and scale values.
|
Transform3D(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a transform from the quaternion,
translation, and scale values.
|
Modifier and Type | Method and Description |
---|---|
void |
AudioEngine3D.setDirection(int index,
Vector3d direction)
Set direction vector of sample.
|
void |
Sample.setDirection(Vector3d direction) |
Modifier and Type | Method and Description |
---|---|
void |
JavaSoundMixer.setDirection(int index,
Vector3d direction) |
Modifier and Type | Method and Description |
---|---|
static double |
Distance.pointToRay(Point3d pt,
Point3d rayorig,
Vector3d raydir)
Minimum pt to ray distance.
|
static double |
Distance.pointToRay(Point3d pt,
Point3d rayorig,
Vector3d raydir,
Point3d rayint,
double[] param)
Minimum pt to ray distance.
|
static double |
Distance.rayToRay(Point3d ray0orig,
Vector3d ray0dir,
Point3d ray1orig,
Vector3d ray1dir)
Minimum ray to ray distance.
|
static double |
Distance.rayToRay(Point3d ray0orig,
Vector3d ray0dir,
Point3d ray1orig,
Vector3d ray1dir,
Point3d ray0int,
Point3d ray1int,
double[] param)
Minimum ray to ray distance.
|
static double |
Distance.rayToSegment(Point3d rayorig,
Vector3d raydir,
Point3d segstart,
Point3d segend)
Minimum ray to segment distance.
|
static double |
Distance.rayToSegment(Point3d rayorig,
Vector3d raydir,
Point3d segstart,
Point3d segend,
Point3d rayint,
Point3d segint,
double[] param)
Minimum ray to segment distance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WandViewBehavior.ListenerBase.translateTransform(Transform3D transform,
Vector3d translation)
Translates a coordinate system.
|
Modifier and Type | Method and Description |
---|---|
void |
PickTool.setShapeConeRay(Point3d start,
Vector3d dir,
double angle)
Sets the pick shape to an infinite PickCone.
|
void |
PickTool.setShapeCylinderRay(Point3d start,
Vector3d dir,
double radius)
Sets the pick shape to an infinite PickCylinder.
|
void |
PickTool.setShapeRay(Point3d start,
Vector3d dir)
Sets the pick shape to a PickRay.
|
Modifier and Type | Method and Description |
---|---|
void |
PickTool.setShapeConeRay(Point3d start,
Vector3d dir,
double angle)
Sets the pick shape to an infinite PickCone.
|
void |
PickTool.setShapeCylinderRay(Point3d start,
Vector3d dir,
double radius)
Sets the pick shape to an infinite PickCylinder.
|
void |
PickTool.setShapeRay(Point3d start,
Vector3d dir)
Sets the pick shape to a PickRay.
|
Modifier and Type | Method and Description |
---|---|
double |
Vector3d.angle(Vector3d v1)
Returns the angle in radians between this vector and the vector
parameter; the return value is constrained to the range [0,PI].
|
void |
Vector3d.cross(Vector3d v1,
Vector3d v2)
Sets this vector to the vector cross product of vectors v1 and v2.
|
double |
Vector3d.dot(Vector3d v1)
Returns the dot product of this vector and vector v1.
|
double |
Matrix4d.get(Matrix3d m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate
the rotation as a 3x3 matrix, the translation, and the scale.
|
double |
Matrix4d.get(Matrix3f m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate
the rotation as a 3x3 matrix, the translation, and the scale.
|
void |
Matrix4d.get(Vector3d trans)
Retrieves the translational components of this matrix.
|
void |
Matrix3d.getColumn(int column,
Vector3d v)
Copies the matrix values in the specified column into the vector
parameter.
|
void |
Matrix3d.getRow(int row,
Vector3d v)
Copies the matrix values in the specified row into the vector parameter.
|
void |
Vector3d.normalize(Vector3d v1)
Sets the value of this vector to the normalization of vector v1.
|
void |
Matrix4d.set(double scale,
Vector3d v1)
Sets the value of this transform to a scale and translation matrix;
the scale is not applied to the translation and all of the matrix
values are modified.
|
void |
Matrix4f.set(Matrix3d m1,
Vector3d t1,
double scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4d.set(Matrix3d m1,
Vector3d t1,
double scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4f.set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Quat4f q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Vector3d v1)
Sets the value of this matrix to a translate matrix by the
passed translation value.
|
void |
Matrix4d.set(Vector3d v1,
double scale)
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the matrix
values are modified.
|
void |
AxisAngle4d.set(Vector3d axis,
double angle)
Sets the value of this AxisAngle4d to the specified
axis and angle.
|
void |
Matrix3d.setColumn(int column,
Vector3d v)
Sets the specified column of this matrix3d to the vector provided.
|
void |
Matrix3d.setRow(int row,
Vector3d v)
Sets the specified row of this matrix3d to the Vector provided.
|
void |
Matrix4d.setTranslation(Vector3d trans)
Modifies the translational components of this matrix to the values
of the Vector3d argument; the other values of this matrix are not
modified.
|
void |
Matrix4d.transform(Vector3d normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4d.transform(Vector3d normal,
Vector3d normalOut)
Transforms the normal parameter by this Matrix4d and places the value
into normalOut.
|
Constructor and Description |
---|
AxisAngle4d(Vector3d axis,
double angle)
Constructs and initializes an AxisAngle4d from the specified
axis and angle.
|
Matrix4d(Matrix3d m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4f from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4d(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4d(Quat4d q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components.
|
Matrix4d(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components.
|
Vector3d(Vector3d v1)
Constructs and initializes a Vector3d from the specified Vector3d.
|
Vector3f(Vector3d v1)
Constructs and initializes a Vector3f from the specified Vector3d.
|
Copyright © 2016–2022 SciJava. All rights reserved.