Modifier and Type | Field and Description |
---|---|
Matrix4 |
ClippingPlaneCollection.modelMatrix
The 4x4 transformation matrix specifying an additional transform relative to the clipping planes original coordinate
system.
|
Matrix4 |
PointPrimitiveCollection.modelMatrix
The 4x4 transformation matrix that transforms each polyline in this collection from model to world coordinates.
|
Matrix4 |
PolylineCollection.modelMatrix
The 4x4 transformation matrix that transforms each polyline in this collection from model to world coordinates.
|
Matrix4 |
BillboardCollection.modelMatrix
The 4x4 transformation matrix that transforms each billboard in this collection from model to world coordinates.
|
Matrix4 |
LabelCollection.modelMatrix
The 4x4 transformation matrix that transforms each label in this collection from model to world coordinates.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
ClippingPlaneCollectionOptions.modelMatrix
The 4x4 transformation matrix specifying an additional transform relative to the clipping planes original coordinate system.
|
Matrix4 |
BillboardCollectionOptions.modelMatrix
The 4x4 transformation matrix that transforms each billboard from model to world coordinates.
|
Matrix4 |
LabelCollectionOptions.modelMatrix
The 4x4 transformation matrix that transforms each label from model to world coordinates.
|
Matrix4 |
PolylineCollectionOptions.modelMatrix
The 4x4 transformation matrix that transforms each polyline from model to world coordinates.
|
Matrix4 |
PointPrimitiveCollectionOptions.modelMatrix
The 4x4 transformation matrix that transforms each point from model to world coordinates.
|
Constructor and Description |
---|
BillboardCollectionOptions(Matrix4 modelMatrix,
Boolean debugShowBoundingVolume,
Scene scene)
Options for
BillboardCollection |
Modifier and Type | Method and Description |
---|---|
static Matrix4 |
Matrix4.abs(Matrix4 matrix,
Matrix4 result)
Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
|
static Matrix4 |
Matrix4.add(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the sum of two matrices.
|
Matrix4 |
Matrix4.clone()
Duplicates the provided Matrix4 instance.
|
Matrix4 |
Matrix4.clone(Matrix4 result)
Duplicates the provided Matrix4 instance.
|
static Matrix4 |
Matrix4.clone(Matrix4 matrix,
Matrix4 result)
Duplicates a Matrix4 instance.
|
static Matrix4 |
Matrix4.computeInfinitePerspectiveOffCenter(double left,
double right,
double bottom,
double top,
double near)
Computes a Matrix4 instance representing an infinite off center perspective transformation.
|
static Matrix4 |
Matrix4.computeInfinitePerspectiveOffCenter(double left,
double right,
double bottom,
double top,
double near,
Matrix4 result)
Computes a Matrix4 instance representing an infinite off center perspective transformation.
|
static Matrix4 |
Matrix4.computeOrthographicOffCenter(double left,
double right,
double bottom,
double top,
double near,
double far)
Computes a Matrix4 instance representing an orthographic transformation matrix.
|
static Matrix4 |
Matrix4.computeOrthographicOffCenter(double left,
double right,
double bottom,
double top,
double near,
double far,
Matrix4 result)
Computes a Matrix4 instance representing an orthographic transformation matrix.
|
static Matrix4 |
Matrix4.computePerspectiveFieldOfView(double fovY,
double aspectRatio,
double near,
double far,
double result)
Computes a Matrix4 instance representing a perspective transformation matrix.
|
static Matrix4 |
Matrix4.computePerspectiveOffCenter(double left,
double right,
double bottom,
double top,
double near,
double far,
Matrix4 result)
Computes a Matrix4 instance representing an off center perspective transformation.
|
static Matrix4 |
Matrix4.computeView(Cartesian3 position,
Cartesian3 direction,
Cartesian3 up,
Cartesian3 right,
Matrix4 result)
Computes a Matrix4 instance that transforms from world space to view space.
|
static Matrix4 |
Matrix4.computeViewportTransformation(Viewport viewport,
double nearDepthRange,
double farDepthRange,
Matrix4 result)
Computes a Matrix4 instance that transforms from normalized device coordinates to window coordinates.
|
static Matrix4 |
Transforms.eastNorthUpToFixedFrame(Cartesian3 origin)
Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided
origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.eastNorthUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid)
Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided
origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.eastNorthUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided
origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Matrix4.fromArray(double[] array)
Creates a Matrix4 from 4 consecutive elements in an array.
|
static Matrix4 |
Matrix4.fromArray(double[] array,
int startingIndex)
Creates a Matrix4 from 4 consecutive elements in an array.
|
static Matrix4 |
Matrix4.fromArray(double[] array,
int startingIndex,
Matrix4 result)
Creates a Matrix4 from 4 consecutive elements in an array.
|
static Matrix4 |
Matrix4.fromCamera(Camera camera)
Computes a Matrix4 instance from a Camera.
|
static Matrix4 |
Matrix4.fromCamera(Camera camera,
Matrix4 result)
Computes a Matrix4 instance from a Camera.
|
static Matrix4 |
Matrix4.fromColumnMajorArray(double[] values)
Creates a Matrix4 instance from a column-major order array.
|
static Matrix4 |
Matrix4.fromColumnMajorArray(double[] values,
Matrix4 result)
Creates a Matrix4 instance from a column-major order array.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation,
Cartesian3 translation)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation,
Cartesian3 translation,
Matrix4 result)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRowMajorArray(double[] values)
Creates a Matrix4 instance from a row-major order array.
|
static Matrix4 |
Matrix4.fromRowMajorArray(double[] values,
Matrix4 result)
Creates a Matrix4 instance from a row-major order array.
|
static Matrix4 |
Matrix4.fromScale(Cartesian3 scale)
Computes a Matrix4 instance representing a non-uniform scale.
|
static Matrix4 |
Matrix4.fromScale(Cartesian3 scale,
Matrix4 result)
Computes a Matrix4 instance representing a non-uniform scale.
|
static Matrix4 |
Matrix4.fromTranslation(Cartesian3 translation)
Creates a Matrix4 instance from a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromTranslation(Cartesian3 translation,
Matrix4 result)
Creates a Matrix4 instance from a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromTranslationQuaternionRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale)
Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
|
static Matrix4 |
Matrix4.fromTranslationQuaternionRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale,
Matrix4 result)
Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
|
static Matrix4 |
Matrix4.fromTranslationRotationScale(TranslationRotationScale translationRotationScale)
Creates a Matrix4 instance from a TranslationRotationScale instance.
|
static Matrix4 |
Matrix4.fromTranslationRotationScale(TranslationRotationScale translationRotationScale,
Matrix4 result)
Creates a Matrix4 instance from a TranslationRotationScale instance.
|
static Matrix4 |
Matrix4.fromUniformScale(double scale)
Computes a Matrix4 instance representing a uniform scale.
|
static Matrix4 |
Matrix4.fromUniformScale(double scale,
Matrix4 result)
Computes a Matrix4 instance representing a uniform scale.
|
Matrix4 |
Transforms.LocalFrameToFixedFrame.function(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.headingPitchRollToFixedFrame(Cartesian3 origin,
HeadingPitchRoll headingPitchRol)
Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles
centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.headingPitchRollToFixedFrame(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid)
Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles
centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.headingPitchRollToFixedFrame(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame fixedFrameTransform)
Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles
centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.headingPitchRollToFixedFrame(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame fixedFrameTransform,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles
centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Matrix4.IDENTITY()
An immutable Matrix4 instance initialized to the identity matrix.
|
Matrix4 |
PerspectiveFrustum.infiniteProjectionMatrix()
The perspective projection matrix computed from the view frustum with an infinite far plane.
|
Matrix4 |
PerspectiveOffCenterFrustum.infiniteProjectionMatrix()
Gets the perspective projection matrix computed from the view frustum with an infinite far plane.
|
static Matrix4 |
Matrix4.inverse(Matrix4 matrix,
Matrix4 result)
Computes the inverse of the provided matrix.
|
static Matrix4 |
Matrix4.inverseTransformation(Matrix4 matrix,
Matrix4 result)
Computes the inverse of the provided matrix assuming it is an affine transformation matrix, where the upper left 3x3
elements are a rotation matrix, and the upper three elements in the fourth column are the translation.
|
static Matrix4 |
Matrix4.multiply(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the product of two matrices.
|
static Matrix4 |
Matrix4.multiplyByMatrix3(Matrix4 matrix,
Matrix3 rotation,
Matrix4 result)
Multiplies a transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by a 3x3 rotation matrix.
|
static Matrix4 |
Matrix4.multiplyByScalar(Matrix4 matrix,
double scalar,
Matrix4 result)
Computes the product of a matrix and a scalar.
|
static Matrix4 |
Matrix4.multiplyByScale(Matrix4 matrix,
Cartesian3 scale,
Matrix4 result)
Computes the product of a matrix times a (non-uniform) scale, as if the scale were a scale matrix.
|
static Matrix4 |
Matrix4.multiplyByTranslation(Matrix4 matrix,
Cartesian3 translation,
Matrix4 result)
Multiplies a transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by an implicit translation matrix
defined by a Cartesian3.
|
static Matrix4 |
Matrix4.multiplyByUniformScale(Matrix4 matrix,
double scale,
Matrix4 result)
Multiplies an affine transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by an implicit uniform scale matrix.
|
static Matrix4 |
Matrix4.multiplyTransformation(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the product of two matrices assuming the matrices are affine transformation matrices,
where the upper left 3x3 elements are a rotation matrix, and the upper three elements in the fourth column are the translation.
|
static Matrix4 |
Matrix4.negate(Matrix4 matrix,
Matrix4 result)
Creates a negated copy of the provided matrix.
|
static Matrix4 |
Transforms.northEastDownToFixedFrame(Cartesian3 origin)
Computes a 4x4 transformation matrix from a reference frame with an north-east-down axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northEastDownToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid)
Computes a 4x4 transformation matrix from a reference frame with an north-east-down axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northEastDownToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-east-down axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northUpEastToFixedFrame(Cartesian3 origin)
Computes a 4x4 transformation matrix from a reference frame with an north-up-east axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northUpEastToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid)
Computes a 4x4 transformation matrix from a reference frame with an north-up-east axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northUpEastToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-up-east axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northWestUpToFixedFrame(Cartesian3 origin)
Computes a 4x4 transformation matrix from a reference frame with an north-west-up axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northWestUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid)
Computes a 4x4 transformation matrix from a reference frame with an north-west-up axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northWestUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-west-up axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
Matrix4 |
Frustum.projectionMatrix()
Gets the perspective projection matrix computed from the view frustum.
|
static Matrix4 |
Matrix4.setColumn(Matrix4 matrix,
int index,
Cartesian4 cartesian,
Matrix4 result)
Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
|
static Matrix4 |
Matrix4.setRow(Matrix4 matrix,
int index,
Cartesian4 cartesian,
Matrix4 result)
Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
|
static Matrix4 |
Matrix4.setScale(Matrix4 matrix,
Cartesian3 scale,
Matrix4 result)
Computes a new matrix that replaces the scale with the provided scale.
|
static Matrix4 |
Matrix4.setTranslation(Matrix4 matrix,
Cartesian4 translation,
Cartesian4 result)
Computes a new matrix that replaces the translation in the rightmost column of the provided matrix with the provided
translation.
|
static Matrix4 |
Matrix4.subtract(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the difference of two matrices.
|
static Matrix4 |
Matrix4.transpose(Matrix4 matrix,
Matrix4 result)
Computes the transpose of the provided matrix.
|
static Matrix4 |
Matrix4.unpack(double[] array)
Retrieves an instance from a packed array.
|
static Matrix4 |
Matrix4.unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static Matrix4 |
Matrix4.unpack(double[] array,
int startingIndex,
Matrix4 result)
Retrieves an instance from a packed array.
|
static Matrix4 |
Matrix4.ZERO()
An immutable Matrix4 instance initialized to the zero matrix.
|
Modifier and Type | Method and Description |
---|---|
static Matrix4 |
Matrix4.abs(Matrix4 matrix,
Matrix4 result)
Computes a matrix, which contains the absolute (unsigned) values of the provided matrix's elements.
|
static Matrix4 |
Matrix4.add(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the sum of two matrices.
|
Matrix4 |
Matrix4.clone(Matrix4 result)
Duplicates the provided Matrix4 instance.
|
static Matrix4 |
Matrix4.clone(Matrix4 matrix,
Matrix4 result)
Duplicates a Matrix4 instance.
|
static Matrix4 |
Matrix4.computeInfinitePerspectiveOffCenter(double left,
double right,
double bottom,
double top,
double near,
Matrix4 result)
Computes a Matrix4 instance representing an infinite off center perspective transformation.
|
static Matrix4 |
Matrix4.computeOrthographicOffCenter(double left,
double right,
double bottom,
double top,
double near,
double far,
Matrix4 result)
Computes a Matrix4 instance representing an orthographic transformation matrix.
|
static Matrix4 |
Matrix4.computePerspectiveOffCenter(double left,
double right,
double bottom,
double top,
double near,
double far,
Matrix4 result)
Computes a Matrix4 instance representing an off center perspective transformation.
|
static Matrix4 |
Matrix4.computeView(Cartesian3 position,
Cartesian3 direction,
Cartesian3 up,
Cartesian3 right,
Matrix4 result)
Computes a Matrix4 instance that transforms from world space to view space.
|
static Matrix4 |
Matrix4.computeViewportTransformation(Viewport viewport,
double nearDepthRange,
double farDepthRange,
Matrix4 result)
Computes a Matrix4 instance that transforms from normalized device coordinates to window coordinates.
|
static Matrix4 |
Transforms.eastNorthUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an east-north-up axes centered at the provided
origin to the provided ellipsoid's fixed reference frame.
|
boolean |
Matrix4.equals(Matrix4 right)
Compares this matrix to the provided matrix componentwise and returns true if they are equal, false otherwise.
|
static boolean |
Matrix4.equals(Matrix4 left,
Matrix4 right)
Compares the provided matrices componentwise and returns true if they are equal, false otherwise.
|
boolean |
Matrix4.equalsEpsilon(Matrix4 right,
double epsilon)
Compares this matrix to the provided matrix componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static boolean |
Matrix4.equalsEpsilon(Matrix4 left,
Matrix4 right,
double epsilon)
Compares the provided matrices componentwise and returns true if they are within the provided epsilon, false otherwise.
|
static HeadingPitchRoll |
Transforms.fixedFrameToHeadingPitchRoll(Matrix4 transform)
Computes heading-pitch-roll angles from a transform in a particular reference frame.
|
static HeadingPitchRoll |
Transforms.fixedFrameToHeadingPitchRoll(Matrix4 transform,
Ellipsoid ellipsoid)
Computes heading-pitch-roll angles from a transform in a particular reference frame.
|
static HeadingPitchRoll |
Transforms.fixedFrameToHeadingPitchRoll(Matrix4 transform,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame fixedFrameTransform)
Computes heading-pitch-roll angles from a transform in a particular reference frame.
|
static HeadingPitchRoll |
Transforms.fixedFrameToHeadingPitchRoll(Matrix4 transform,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame fixedFrameTransform,
HeadingPitchRoll result)
Computes heading-pitch-roll angles from a transform in a particular reference frame.
|
static Matrix4 |
Matrix4.fromArray(double[] array,
int startingIndex,
Matrix4 result)
Creates a Matrix4 from 4 consecutive elements in an array.
|
static Matrix4 |
Matrix4.fromCamera(Camera camera,
Matrix4 result)
Computes a Matrix4 instance from a Camera.
|
static Matrix4 |
Matrix4.fromColumnMajorArray(double[] values,
Matrix4 result)
Creates a Matrix4 instance from a column-major order array.
|
static Matrix4 |
Matrix4.fromRotationTranslation(Matrix3 rotation,
Cartesian3 translation,
Matrix4 result)
Computes a Matrix4 instance from a Matrix3 representing the rotation and a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromRowMajorArray(double[] values,
Matrix4 result)
Creates a Matrix4 instance from a row-major order array.
|
static Matrix4 |
Matrix4.fromScale(Cartesian3 scale,
Matrix4 result)
Computes a Matrix4 instance representing a non-uniform scale.
|
static Matrix4 |
Matrix4.fromTranslation(Cartesian3 translation,
Matrix4 result)
Creates a Matrix4 instance from a Cartesian3 representing the translation.
|
static Matrix4 |
Matrix4.fromTranslationQuaternionRotationScale(Cartesian3 translation,
Quaternion rotation,
Cartesian3 scale,
Matrix4 result)
Computes a Matrix4 instance from a translation, rotation, and scale (TRS) representation with the rotation represented as a quaternion.
|
static Matrix4 |
Matrix4.fromTranslationRotationScale(TranslationRotationScale translationRotationScale,
Matrix4 result)
Creates a Matrix4 instance from a TranslationRotationScale instance.
|
static Matrix4 |
Matrix4.fromUniformScale(double scale,
Matrix4 result)
Computes a Matrix4 instance representing a uniform scale.
|
Matrix4 |
Transforms.LocalFrameToFixedFrame.function(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Cartesian4 |
Matrix4.getColumn(Matrix4 matrix,
int index,
Cartesian4 result)
Retrieves a copy of the matrix column at the provided index as a Cartesian3 instance.
|
static double |
Matrix4.getMaximumScale(Matrix4 matrix)
Computes the maximum scale assuming the matrix is an affine transformation.
|
static Matrix3 |
Matrix4.getRotation(Matrix4 matrix,
Matrix3 result)
Gets the upper left 3x3 rotation matrix of the provided matrix, assuming the matrix is a affine transformation matrix.
|
static Cartesian4 |
Matrix4.getRow(Matrix4 matrix,
int index,
Cartesian4 result)
Retrieves a copy of the matrix row at the provided index as a Cartesian3 instance.
|
static Cartesian3 |
Matrix4.getScale(Matrix4 matrix,
Cartesian3 result)
Extracts the non-uniform scale assuming the matrix is an affine transformation.
|
static Cartesian3 |
Matrix4.getTranslation(Matrix4 matrix,
Cartesian3 result)
Gets the translation portion of the provided matrix, assuming the matrix is a affine transformation matrix.
|
static Matrix4 |
Transforms.headingPitchRollToFixedFrame(Cartesian3 origin,
HeadingPitchRoll headingPitchRoll,
Ellipsoid ellipsoid,
Transforms.LocalFrameToFixedFrame fixedFrameTransform,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with axes computed from the heading-pitch-roll angles
centered at the provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Matrix4.inverse(Matrix4 matrix,
Matrix4 result)
Computes the inverse of the provided matrix.
|
static Matrix4 |
Matrix4.inverseTransformation(Matrix4 matrix,
Matrix4 result)
Computes the inverse of the provided matrix assuming it is an affine transformation matrix, where the upper left 3x3
elements are a rotation matrix, and the upper three elements in the fourth column are the translation.
|
static Matrix4 |
Matrix4.multiply(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the product of two matrices.
|
static Matrix4 |
Matrix4.multiplyByMatrix3(Matrix4 matrix,
Matrix3 rotation,
Matrix4 result)
Multiplies a transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by a 3x3 rotation matrix.
|
static Cartesian3 |
Matrix4.multiplyByPoint(Matrix4 matrix,
Cartesian3 cartesian,
Cartesian3 result)
Computes the product of a matrix and a Cartesian3.
|
static Cartesian3 |
Matrix4.multiplyByPointAsVector(Matrix4 matrix,
Cartesian3 cartesian,
Cartesian3 result)
Computes the product of a matrix and a Cartesian3.
|
static Matrix4 |
Matrix4.multiplyByScalar(Matrix4 matrix,
double scalar,
Matrix4 result)
Computes the product of a matrix and a scalar.
|
static Matrix4 |
Matrix4.multiplyByScale(Matrix4 matrix,
Cartesian3 scale,
Matrix4 result)
Computes the product of a matrix times a (non-uniform) scale, as if the scale were a scale matrix.
|
static Matrix4 |
Matrix4.multiplyByTranslation(Matrix4 matrix,
Cartesian3 translation,
Matrix4 result)
Multiplies a transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by an implicit translation matrix
defined by a Cartesian3.
|
static Matrix4 |
Matrix4.multiplyByUniformScale(Matrix4 matrix,
double scale,
Matrix4 result)
Multiplies an affine transformation matrix (with a bottom row of [0.0, 0.0, 0.0, 1.0]) by an implicit uniform scale matrix.
|
static Cartesian4 |
Matrix4.multiplyByVector(Matrix4 matrix,
Cartesian4 cartesian,
Cartesian4 result)
Computes the product of a matrix and a column vector.
|
static Matrix4 |
Matrix4.multiplyTransformation(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the product of two matrices assuming the matrices are affine transformation matrices,
where the upper left 3x3 elements are a rotation matrix, and the upper three elements in the fourth column are the translation.
|
static Matrix4 |
Matrix4.negate(Matrix4 matrix,
Matrix4 result)
Creates a negated copy of the provided matrix.
|
static Matrix4 |
Transforms.northEastDownToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-east-down axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northUpEastToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-up-east axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static Matrix4 |
Transforms.northWestUpToFixedFrame(Cartesian3 origin,
Ellipsoid ellipsoid,
Matrix4 result)
Computes a 4x4 transformation matrix from a reference frame with an north-west-up axes centered at the
provided origin to the provided ellipsoid's fixed reference frame.
|
static double[] |
Matrix4.pack(Matrix4 value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
Matrix4.pack(Matrix4 value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static Cartesian2 |
Transforms.pointToWindowCoordinates(Matrix4 modelViewProjectionMatrix,
Matrix4 viewportTransformation,
Cartesian3 point)
Transform a point from model coordinates to window coordinates.
|
static Cartesian2 |
Transforms.pointToWindowCoordinates(Matrix4 modelViewProjectionMatrix,
Matrix4 viewportTransformation,
Cartesian3 point,
Cartesian2 result)
Transform a point from model coordinates to window coordinates.
|
static Matrix4 |
Matrix4.setColumn(Matrix4 matrix,
int index,
Cartesian4 cartesian,
Matrix4 result)
Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
|
static Matrix4 |
Matrix4.setRow(Matrix4 matrix,
int index,
Cartesian4 cartesian,
Matrix4 result)
Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
|
static Matrix4 |
Matrix4.setScale(Matrix4 matrix,
Cartesian3 scale,
Matrix4 result)
Computes a new matrix that replaces the scale with the provided scale.
|
static Matrix4 |
Matrix4.setTranslation(Matrix4 matrix,
Cartesian4 translation,
Cartesian4 result)
Computes a new matrix that replaces the translation in the rightmost column of the provided matrix with the provided
translation.
|
static Matrix4 |
Matrix4.subtract(Matrix4 left,
Matrix4 right,
Matrix4 result)
Computes the difference of two matrices.
|
static double[] |
Matrix4.toArray(Matrix4 matrix)
Creates an Array from the provided Matrix4 instance.
|
static double[] |
Matrix4.toArray(Matrix4 matrix,
double[] result)
Creates an Array from the provided Matrix4 instance.
|
static BoundingSphere |
BoundingSphere.transform(BoundingSphere sphere,
Matrix4 transform)
Applies a 4x4 affine transformation matrix to a bounding sphere.
|
static BoundingSphere |
BoundingSphere.transform(BoundingSphere sphere,
Matrix4 transform,
BoundingSphere result)
Applies a 4x4 affine transformation matrix to a bounding sphere.
|
static Plane |
Plane.transform(Plane plane,
Matrix4 transform)
Transforms the plane by the given transformation matrix.
|
static Plane |
Plane.transform(Plane plane,
Matrix4 transform,
Plane result)
Transforms the plane by the given transformation matrix.
|
static BoundingSphere |
BoundingSphere.transformWithoutScale(BoundingSphere sphere,
Matrix4 transform)
Applies a 4x4 affine transformation matrix to a bounding sphere where there is no scale
The transformation matrix is not verified to have a uniform scale of 1.
|
static BoundingSphere |
BoundingSphere.transformWithoutScale(BoundingSphere sphere,
Matrix4 transform,
BoundingSphere result)
Applies a 4x4 affine transformation matrix to a bounding sphere where there is no scale
The transformation matrix is not verified to have a uniform scale of 1.
|
static Matrix4 |
Matrix4.transpose(Matrix4 matrix,
Matrix4 result)
Computes the transpose of the provided matrix.
|
static Matrix4 |
Matrix4.unpack(double[] array,
int startingIndex,
Matrix4 result)
Retrieves an instance from a packed array.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
GeometryInstance.modelMatrix
The 4x4 transformation matrix that transforms the geometry from model to world coordinates.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
GeometryInstanceOptions.modelMatrix
The model matrix that transforms to transform the geometry from model to world coordinates.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
Entity.computeModelMatrix(JulianDate time)
Computes the model matrix for the entity's transform at specified time.
|
Matrix4 |
Entity.computeModelMatrix(JulianDate time,
Matrix4 result)
Computes the model matrix for the entity's transform at specified time.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
Entity.computeModelMatrix(JulianDate time,
Matrix4 result)
Computes the model matrix for the entity's transform at specified time.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
ModelNode.matrix
The node's 4x4 matrix transform from its local coordinates to its parent's.
|
Matrix4 |
TimeDynamicPointCloud.modelMatrix
A 4x4 transformation matrix that transforms the point cloud.
|
Matrix4 |
DebugModelMatrixPrimitive.modelMatrix
The 4x4 matrix that defines the reference frame, i.e., origin plus axes, to visualize.
|
Matrix4 |
Cesium3DTileset.modelMatrix
A 4x4 transformation matrix that transforms the tileset's root tile.
|
Matrix4 |
ClassificationPrimitive.modelMatrix
The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates.
|
Matrix4 |
Primitive.modelMatrix
The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates.
|
Matrix4 |
Model.modelMatrix
The 4x4 transformation matrix that transforms the model from model to world coordinates.
|
Matrix4 |
Cesium3DTile.transform
The local transform of this tile.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
Cesium3DTile.computedTransform()
The final computed transform of this tile
|
Matrix4 |
Camera.inverseTransform()
Gets the inverse camera transform.
|
Matrix4 |
Camera.inverseViewMatrix()
Gets the inverse view matrix.
|
Matrix4 |
Camera.transform()
Gets the camera's reference frame.
|
Matrix4 |
Camera.viewMatrix()
Gets the view matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
Camera.lookAtTransform(Matrix4 transform)
Sets the camera position and orientation using a target and transformation matrix.
|
void |
Camera.lookAtTransform(Matrix4 transform,
Cartesian3 offset)
Sets the camera position and orientation using a target and transformation matrix.
|
void |
Camera.lookAtTransform(Matrix4 transform,
HeadingPitchRange offset)
Sets the camera position and orientation using a target and transformation matrix.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
CameraFlyToOptions.endTransform
Transform matrix representing the reference frame the camera will be in when the flight is completed.
|
Matrix4 |
ViewOptions.endTransform
Transform matrix representing the reference frame of the camera.
|
Matrix4 |
DebugModelMatrixPrimitiveOptions.modelMatrix
The 4x4 matrix that defines the reference frame, i.e., origin plus axes, to visualize.
|
Matrix4 |
TimeDynamicPointCloudOptions.modelMatrix
A 4x4 transformation matrix that transforms the point cloud.
|
Matrix4 |
FromGltfOptions.modelMatrix
The 4x4 transformation matrix that transforms the model from model to world coordinates.
|
Matrix4 |
Cesium3DTilesetOptions.modelMatrix
A 4x4 transformation matrix that transforms the tileset's root tile.
|
Matrix4 |
ModelOptions.modelMatrix
The 4x4 transformation matrix that transforms the model from model to world coordinates.
|
Matrix4 |
PrimitiveOptions.modelMatrix
The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates.
|
Matrix4 |
ClassificationPrimitiveOptions.modelMatrix
The 4x4 transformation matrix that transforms the primitive (all geometry instances) from model to world coordinates.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
ParticleSystem.emitterModelMatrix
The 4x4 transformation matrix that transforms the particle system emitter within the particle systems local coordinate system.
|
Matrix4 |
ParticleSystem.modelMatrix
The 4x4 transformation matrix that transforms the particle system from model to world coordinates.
|
Modifier and Type | Field and Description |
---|---|
Matrix4 |
ParticleSystemOptions.emitterModelMatrix
The 4x4 transformation matrix that transforms the particle system emitter within the particle systems local coordinate system.
|
Matrix4 |
ParticleSystemOptions.modelMatrix
The 4x4 transformation matrix that transforms the particle system from model to world coordinates.
|
Copyright © 2019. All rights reserved.