Package | Description |
---|---|
com.sun.javafx.geometry | |
com.sun.javafx.scene | |
com.sun.javafx.scene.input | |
com.sun.javafx.scene.transform | |
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.geometry |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.shape |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.transform |
Provides the set of convenient classes to perform rotating, scaling,
shearing, and translation transformations for
Affine objects. |
Modifier and Type | Method and Description |
---|---|
static Bounds |
BoundsUtils.createBoundingBox(Point3D p1,
Point3D p2,
Point3D p3,
Point3D p4,
Point3D p5,
Point3D p6,
Point3D p7,
Point3D p8) |
Modifier and Type | Method and Description |
---|---|
static Point3D |
CameraHelper.pickProjectPlane(Camera camera,
double x,
double y) |
Point3D |
CameraHelper.CameraAccessor.pickProjectPlane(Camera camera,
double x,
double y) |
static Point3D |
SceneUtils.subSceneToScene(SubScene subScene,
Point3D point)
Translates point from inner subScene coordinates to scene coordinates.
|
Modifier and Type | Method and Description |
---|---|
static Point2D |
CameraHelper.project(Camera camera,
Point3D p) |
Point2D |
CameraHelper.CameraAccessor.project(Camera camera,
Point3D p) |
static Point3D |
SceneUtils.subSceneToScene(SubScene subScene,
Point3D point)
Translates point from inner subScene coordinates to scene coordinates.
|
Modifier and Type | Field and Description |
---|---|
private Point3D |
PickResultChooser.normal |
private Point3D |
PickResultChooser.point |
Modifier and Type | Method and Description |
---|---|
static Point3D |
PickResultChooser.computePoint(PickRay ray,
double distance)
Helper method for computing intersected point.
|
Point3D |
PickResultChooser.getIntersectedNormal()
Return the intersected normal in local coordinate of the picked Node
|
Point3D |
PickResultChooser.getIntersectedPoint()
Return the intersected point in local coordinate of the picked Node
|
static Point3D |
InputEventUtils.recomputeCoordinates(PickResult result,
java.lang.Object newSource)
Recomputes event coordinates for a different node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PickResultChooser.offer(Node node,
double distance,
int face,
Point3D point,
Point2D texCoord)
Offers an intersection.
|
boolean |
PickResultChooser.offer(Node node,
double distance,
Point3D point)
Offers an intersection with a non-Shape3D object.
|
private boolean |
PickResultChooser.processOffer(Node node,
Node depthTestNode,
double distance,
Point3D point,
int face,
Point3D normal,
Point2D texCoord)
Process an offered intersection.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
TransformUtils.ImmutableTransform.deltaTransform(double x,
double y,
double z) |
Point3D |
TransformUtils.ImmutableTransform.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
TransformUtils.ImmutableTransform.inverseTransform(double x,
double y,
double z) |
Point3D |
TransformUtils.ImmutableTransform.transform(double x,
double y,
double z) |
Modifier and Type | Field and Description |
---|---|
private Point3D |
RotateTransitionBuilder.axis
Deprecated.
|
private static Point3D |
RotateTransition.DEFAULT_AXIS |
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Point3D> |
RotateTransition.axis
Specifies the axis of rotation for this
RotateTransition . |
Modifier and Type | Method and Description |
---|---|
Point3D |
RotateTransition.getAxis() |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Point3D> |
RotateTransition.axisProperty() |
Modifier and Type | Method and Description |
---|---|
RotateTransitionBuilder |
RotateTransitionBuilder.axis(Point3D x)
Deprecated.
Set the value of the
axis property for the instance constructed by this builder. |
void |
RotateTransition.setAxis(Point3D value) |
Modifier and Type | Field and Description |
---|---|
static Point3D |
Point3D.ZERO
Point or vector with all three coordinates set to 0.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
Point3D.add(double x,
double y,
double z)
Returns a point with the specified coordinates added to the coordinates
of this point.
|
Point3D |
Point3D.add(Point3D point)
Returns a point with the coordinates of the specified point added to the
coordinates of this point.
|
Point3D |
Point3DBuilder.build()
Deprecated.
Make an instance of
Point3D based on the properties set on this builder. |
Point3D |
Point2D.crossProduct(double x,
double y)
Computes cross product of the vector represented by this instance
and the specified vector.
|
Point3D |
Point3D.crossProduct(double x,
double y,
double z)
Computes cross product of the vector represented by this instance
and the specified vector.
|
Point3D |
Point2D.crossProduct(Point2D vector)
Computes cross product of the vector represented by this instance
and the specified vector.
|
Point3D |
Point3D.crossProduct(Point3D vector)
Computes cross product of the vector represented by this instance
and the specified vector.
|
Point3D |
Point3D.midpoint(double x,
double y,
double z)
Returns a point which lies in the middle between this point and the
specified coordinates.
|
Point3D |
Point3D.midpoint(Point3D point)
Returns a point which lies in the middle between this point and the
specified point.
|
Point3D |
Point3D.multiply(double factor)
Returns a point with the coordinates of this point multiplied
by the specified factor
|
Point3D |
Point3D.normalize()
Normalizes the relative magnitude vector represented by this instance.
|
Point3D |
Point3D.subtract(double x,
double y,
double z)
Returns a point with the specified coordinates subtracted from
the coordinates of this point.
|
Point3D |
Point3D.subtract(Point3D point)
Returns a point with the coordinates of the specified point subtracted
from the coordinates of this point.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
Point3D.add(Point3D point)
Returns a point with the coordinates of the specified point added to the
coordinates of this point.
|
double |
Point3D.angle(Point3D point)
Computes the angle (in degrees) between the vector represented
by this point and the vector represented by the specified point.
|
double |
Point3D.angle(Point3D p1,
Point3D p2)
Computes the angle (in degrees) between the three points with this point
as a vertex.
|
boolean |
BoundingBox.contains(Point3D p)
Tests if the specified point is inside the boundary of
Bounds . |
abstract boolean |
Bounds.contains(Point3D p)
Tests if the specified point is inside the boundary of
Bounds . |
Point3D |
Point3D.crossProduct(Point3D vector)
Computes cross product of the vector represented by this instance
and the specified vector.
|
double |
Point3D.distance(Point3D point)
Computes the distance between this point and the specified
point . |
double |
Point3D.dotProduct(Point3D vector)
Computes dot (scalar) product of the vector represented by this instance
and the specified vector.
|
Point3D |
Point3D.midpoint(Point3D point)
Returns a point which lies in the middle between this point and the
specified point.
|
Point3D |
Point3D.subtract(Point3D point)
Returns a point with the coordinates of the specified point subtracted
from the coordinates of this point.
|
Modifier and Type | Field and Description |
---|---|
private static Point3D |
Node.DEFAULT_ROTATION_AXIS |
private Point3D |
NodeBuilder.rotationAxis
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Point3D> |
Node.NodeTransformation.rotationAxis |
Modifier and Type | Method and Description |
---|---|
Point3D |
Node.getRotationAxis() |
Point3D |
Node.NodeTransformation.getRotationAxis() |
Point3D |
Node.localToParent(double x,
double y,
double z)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point3D |
Node.localToParent(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point3D |
Node.localToScene(double x,
double y,
double z)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point3D |
Node.localToScene(double x,
double y,
double z,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point3D |
Node.localToScene(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point3D |
Node.localToScene(Point3D localPoint,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point3D |
Node.parentToLocal(double parentX,
double parentY,
double parentZ)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
Point3D |
Node.parentToLocal(Point3D parentPoint)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
(package private) Point3D |
Camera.pickProjectPlane(double x,
double y)
Computes intersection point of the pick ray cast by the given coordinates
and the projection plane.
|
Point3D |
Node.sceneToLocal(double sceneX,
double sceneY,
double sceneZ)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point3D |
Node.sceneToLocal(Point3D scenePoint)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
private Point3D |
Node.sceneToLocal0(double x,
double y,
double z)
Internal method to transform a point from scene to local coordinates.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Point3D> |
Node.rotationAxisProperty()
Defines the axis of rotation of this
Node . |
ObjectProperty<Point3D> |
Node.NodeTransformation.rotationAxisProperty() |
Modifier and Type | Method and Description |
---|---|
Point3D |
Node.localToParent(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point3D |
Node.localToScene(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point3D |
Node.localToScene(Point3D localPoint,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScreen(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point3D |
Node.parentToLocal(Point3D parentPoint)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
private Point2D |
Camera.project(Point3D p)
Transforms the given 3D point to the flat projected coordinates.
|
B |
NodeBuilder.rotationAxis(Point3D x)
Deprecated.
Set the value of the
rotationAxis property for the instance constructed by this builder. |
Point3D |
Node.sceneToLocal(Point3D scenePoint)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
void |
Node.setRotationAxis(Point3D value) |
Modifier and Type | Field and Description |
---|---|
private Point3D |
PickResult.normal |
private Point3D |
PickResult.point |
Modifier and Type | Method and Description |
---|---|
Point3D |
PickResult.getIntersectedNormal()
Return the intersected normal of the picked 3d shape.
|
Point3D |
PickResult.getIntersectedPoint()
Returns the intersected point in local coordinate of the picked Node.
|
Constructor and Description |
---|
PickResult(Node node,
Point3D point,
double distance)
Creates a new instance of PickResult for a non-3d-shape target.
|
PickResult(Node node,
Point3D point,
double distance,
int face,
Point2D texCoord)
Creates a new instance of PickResult.
|
PickResult(Node node,
Point3D point,
double distance,
int face,
Point3D normal,
Point2D texCoord)
Creates a new instance of PickResult.
|
Modifier and Type | Method and Description |
---|---|
private Point3D |
TriangleMesh.computeCentroid(double v0x,
double v0y,
double v0z,
double v1x,
double v1y,
double v1z,
double v2x,
double v2y,
double v2z)
Computes the centroid of the given triangle
|
Modifier and Type | Field and Description |
---|---|
private Point3D |
RotateBuilder.axis
Deprecated.
|
static Point3D |
Rotate.X_AXIS
Specifies the X-axis as the axis of rotation.
|
static Point3D |
Rotate.Y_AXIS
Specifies the Y-axis as the axis of rotation.
|
static Point3D |
Rotate.Z_AXIS
Specifies the Z-axis as the axis of rotation.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Point3D> |
Rotate.axis
Defines the axis of rotation at the pivot point.
|
Modifier and Type | Method and Description |
---|---|
Point3D |
Scale.deltaTransform(double x,
double y,
double z) |
Point3D |
Translate.deltaTransform(double x,
double y,
double z) |
Point3D |
Shear.deltaTransform(double x,
double y,
double z) |
Point3D |
Rotate.deltaTransform(double x,
double y,
double z) |
Point3D |
Transform.deltaTransform(double x,
double y,
double z)
Transforms the relative magnitude vector by this transform.
|
Point3D |
Affine.deltaTransform(double x,
double y,
double z) |
Point3D |
Translate.deltaTransform(Point3D point) |
Point3D |
Transform.deltaTransform(Point3D point)
Transforms the relative magnitude vector represented by the specified
Point3D instance by this transform. |
Point3D |
Rotate.getAxis() |
Point3D |
Scale.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
Translate.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
Shear.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
Rotate.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
Transform.inverseDeltaTransform(double x,
double y,
double z)
Transforms the relative magnitude vector by the inverse of this transform.
|
Point3D |
Affine.inverseDeltaTransform(double x,
double y,
double z) |
Point3D |
Translate.inverseDeltaTransform(Point3D point) |
Point3D |
Transform.inverseDeltaTransform(Point3D point)
Transforms the relative magnitude vector represented by the specified
Point3D instance by the inverse of this transform. |
Point3D |
Scale.inverseTransform(double x,
double y,
double z) |
Point3D |
Translate.inverseTransform(double x,
double y,
double z) |
Point3D |
Shear.inverseTransform(double x,
double y,
double z) |
Point3D |
Rotate.inverseTransform(double x,
double y,
double z) |
Point3D |
Transform.inverseTransform(double x,
double y,
double z)
Transforms the specified point by the inverse of this transform.
|
Point3D |
Affine.inverseTransform(double x,
double y,
double z) |
Point3D |
Transform.inverseTransform(Point3D point)
Transforms the specified point by the inverse of this transform.
|
Point3D |
Scale.transform(double x,
double y,
double z) |
Point3D |
Translate.transform(double x,
double y,
double z) |
Point3D |
Shear.transform(double x,
double y,
double z) |
Point3D |
Rotate.transform(double x,
double y,
double z) |
Point3D |
Transform.transform(double x,
double y,
double z)
Transforms the specified point by this transform.
|
Point3D |
Affine.transform(double x,
double y,
double z) |
Point3D |
Transform.transform(Point3D point)
Transforms the specified point by this transform.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Point3D> |
Rotate.axisProperty() |
Modifier and Type | Method and Description |
---|---|
void |
Affine.appendRotation(double angle,
double pivotX,
double pivotY,
double pivotZ,
Point3D axis)
Appends the rotation to this instance.
|
void |
Affine.appendRotation(double angle,
Point3D pivot,
Point3D axis)
Appends the rotation to this instance.
|
void |
Affine.appendScale(double sx,
double sy,
double sz,
Point3D pivot)
Appends the scale with pivot to this instance.
|
B |
RotateBuilder.axis(Point3D x)
Deprecated.
Set the value of the
axis property for the instance constructed by this builder. |
Point3D |
Translate.deltaTransform(Point3D point) |
Point3D |
Transform.deltaTransform(Point3D point)
Transforms the relative magnitude vector represented by the specified
Point3D instance by this transform. |
Point3D |
Translate.inverseDeltaTransform(Point3D point) |
Point3D |
Transform.inverseDeltaTransform(Point3D point)
Transforms the relative magnitude vector represented by the specified
Point3D instance by the inverse of this transform. |
Point3D |
Transform.inverseTransform(Point3D point)
Transforms the specified point by the inverse of this transform.
|
void |
Affine.prependRotation(double angle,
double pivotX,
double pivotY,
double pivotZ,
Point3D axis)
Prepends the rotation to this instance.
|
void |
Affine.prependRotation(double angle,
Point3D pivot,
Point3D axis)
Prepends the rotation to this instance.
|
void |
Affine.prependScale(double sx,
double sy,
double sz,
Point3D pivot)
Prepends the scale with pivot to this instance.
|
void |
Rotate.setAxis(Point3D value) |
Point3D |
Transform.transform(Point3D point)
Transforms the specified point by this transform.
|
void |
Rotate.MatrixCache.update(double angle,
Point3D axis,
double px,
double py,
double pz) |
Constructor and Description |
---|
Rotate(double angle,
double pivotX,
double pivotY,
double pivotZ,
Point3D axis)
Creates a three-dimensional Rotate transform with pivot.
|
Rotate(double angle,
Point3D axis)
Creates a three-dimensional Rotate transform.
|