Uses of Class
gov.nasa.worldwind.geom.Matrix
-
Packages that use Matrix Package Description gov.nasa.worldwind gov.nasa.worldwind.awt gov.nasa.worldwind.geom gov.nasa.worldwind.globes Provides classes for representing the shape and terrain of a planet.gov.nasa.worldwind.ogc.collada Provides classes for parsing COLLADA files and streams.gov.nasa.worldwind.ogc.collada.impl Provides classes for rendering COLLADA documents.gov.nasa.worldwind.render gov.nasa.worldwind.render.airspaces gov.nasa.worldwind.util gov.nasa.worldwind.view The view package contains implementations, and support for implementations of theViewinterface.gov.nasa.worldwind.view.firstperson gov.nasa.worldwind.view.orbit gov.nasa.worldwindx.applications.sar.segmentplane gov.nasa.worldwindx.examples.util -
-
Uses of Matrix in gov.nasa.worldwind
Methods in gov.nasa.worldwind that return Matrix Modifier and Type Method Description MatrixView. getModelviewMatrix()Returns the modelview matrix.MatrixView. getProjectionMatrix()Gets the projection matrix.MatrixView. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)Defines and applies a new model-view matrix in which the world origin is located atreferenceCenter.MatrixView. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)Sets the reference center matrix without pushing the stack. -
Uses of Matrix in gov.nasa.worldwind.awt
Fields in gov.nasa.worldwind.awt declared as Matrix Modifier and Type Field Description protected MatrixAbstractViewInputHandler. mouseDownModelviewprotected MatrixAbstractViewInputHandler. mouseDownProjection -
Uses of Matrix in gov.nasa.worldwind.geom
Fields in gov.nasa.worldwind.geom declared as Matrix Modifier and Type Field Description static MatrixMatrix. IDENTITYMethods in gov.nasa.worldwind.geom that return Matrix Modifier and Type Method Description MatrixMatrix. add(Matrix matrix)MatrixMatrix. divideComponents(double value)MatrixMatrix. divideComponents(Matrix matrix)static MatrixMatrix. fromArray(double[] compArray, int offset, boolean rowMajor)static MatrixMatrix. fromAxes(Vec4[] axes)Returns a Cartesian transformMatrixthat maps a local orientation to model coordinates.static MatrixMatrix. fromAxisAngle(Angle angle, double axisX, double axisY, double axisZ)static MatrixMatrix. fromAxisAngle(Angle angle, Vec4 axis)static MatrixMatrix. fromCovarianceOfVertices(BufferWrapper coordinates, int stride)Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified buffer of points.static MatrixMatrix. fromCovarianceOfVertices(java.lang.Iterable<? extends Vec4> points)Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified points Iterable.static MatrixMatrix. fromGeographicToImage(AVList worldFileParams)static MatrixMatrix. fromGeographicToImage(java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints)static MatrixMatrix. fromGeographicToViewport(Sector sector, int x, int y, int width, int height)Computes a Matrix that will map the geographic region defined by sector onto a Cartesian region of the specifiedwidthandheightand centered at the point(x, y).static MatrixMatrix. fromImageToGeographic(int imageWidth, int imageHeight, Sector sector)Computes aMatrixthat will map a aligned 2D grid coordinates to geographic coordinates in degrees.static MatrixMatrix. fromImageToGeographic(AVList worldFileParams)static MatrixMatrix. fromImageToGeographic(java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints)Computes aMatrixthat will map constrained 2D grid coordinates to geographic coordinates in degrees.static MatrixMatrix. fromLocalOrientation(Vec4 origin, Vec4[] axes)Returns a Cartesian transformMatrixthat maps a local origin and orientation to model coordinates.static MatrixMatrix. fromModelLookAt(Vec4 eye, Vec4 center, Vec4 up)Returns a local origin transform matrix in model coordinates defined by the specified eye point, reference point indicating the center of the local scene, and up vector.static MatrixMatrix. fromOrthographic(double width, double height, double near, double far)static MatrixMatrix. fromOrthographic2D(double width, double height)static MatrixMatrix. fromPerspective(double width, double height, double near, double far)static MatrixMatrix. fromPerspective(Angle horizontalFieldOfView, double viewportWidth, double viewportHeight, double near, double far)static MatrixMatrix. fromQuaternion(Quaternion quaternion)static MatrixMatrix. fromRotationX(Angle angle)static MatrixMatrix. fromRotationXYZ(Angle xRotation, Angle yRotation, Angle zRotation)static MatrixMatrix. fromRotationY(Angle angle)static MatrixMatrix. fromRotationZ(Angle angle)static MatrixMatrix. fromScale(double scale)static MatrixMatrix. fromScale(double scaleX, double scaleY, double scaleZ)static MatrixMatrix. fromScale(Vec4 scale)static MatrixMatrix. fromSkew(Angle theta, Angle phi)static MatrixMatrix. fromTranslation(double x, double y, double z)static MatrixMatrix. fromTranslation(Vec4 translation)static MatrixMatrix. fromViewLookAt(Vec4 eye, Vec4 center, Vec4 up)Returns a viewing matrix in model coordinates defined by the specified View eye point, reference point indicating the center of the scene, and up vector.static MatrixMatrix. fromViewportToGeographic(Sector sector, int x, int y, int width, int height)Computes a Matrix that will map a Cartesian region of the specifiedwidthandheightand centered at the point(x, y)to the geographic region defined by sector onto .MatrixMatrix. getInverse()Returns the inverse of this matrix, ornullif this matrix is singular and has no inverse.MatrixMatrix. getTranspose()MatrixMatrix. multiply(Matrix matrix)MatrixMatrix. multiplyComponents(double value)MatrixMatrix. negate()MatrixMatrix. subtract(Matrix matrix)Methods in gov.nasa.worldwind.geom with parameters of type Matrix Modifier and Type Method Description MatrixMatrix. add(Matrix matrix)static voidMatrix. computeEigensystemFromSymmetricMatrix3(Matrix matrix, double[] outEigenvalues, Vec4[] outEigenvectors)Computes the eigensystem of the specified symmetric Matrix's upper 3x3 matrix.MatrixMatrix. divideComponents(Matrix matrix)static QuaternionQuaternion. fromMatrix(Matrix matrix)static FrustumFrustum. fromProjectionMatrix(Matrix projectionMatrix)Creates a frustum by extracting the six frustum planes from a projection matrix.MatrixMatrix. multiply(Matrix matrix)MatrixMatrix. subtract(Matrix matrix)FrustumFrustum. transformBy(Matrix matrix)Returns a copy of this frustum transformed by a specifiedMatrix.PickPointFrustumPickPointFrustum. transformBy(Matrix matrix)Returns a copy of this PickPointFrustum which is transformed by the specified Matrix.Vec4Matrix. transformBy3(Matrix matrix, double x, double y, double z)Vec4Vec4. transformBy3(Matrix matrix)Vec4Vec4. transformBy4(Matrix matrix) -
Uses of Matrix in gov.nasa.worldwind.globes
Methods in gov.nasa.worldwind.globes that return Matrix Modifier and Type Method Description MatrixEllipsoidalGlobe. computeEllipsoidalOrientationAtPosition(Angle latitude, Angle longitude, double metersElevation)MatrixGlobe. computeEllipsoidalOrientationAtPosition(Angle latitude, Angle longitude, double metersElevation)Returns the cartesian transform matrix that maps local model coordinates to an ellipsoidal coordinate system at (latitude, longitude, metersElevation).MatrixEllipsoidalGlobe. computeModelCoordinateOriginTransform(Angle latitude, Angle longitude, double metersElevation)MatrixEllipsoidalGlobe. computeModelCoordinateOriginTransform(Position position)MatrixGlobe. computeModelCoordinateOriginTransform(Angle latitude, Angle longitude, double metersElevation)MatrixGlobe. computeModelCoordinateOriginTransform(Position position)MatrixEllipsoidalGlobe. computeSurfaceOrientationAtPosition(Angle latitude, Angle longitude, double metersElevation)Returns the cartesian transform matrix that maps model coordinates to a local coordinate system at (latitude, longitude, metersElevation).MatrixEllipsoidalGlobe. computeSurfaceOrientationAtPosition(Position position)Returns the cartesian transform matrix that maps model coordinates to a local coordinate system at (latitude, longitude, metersElevation).MatrixFlatGlobe. computeSurfaceOrientationAtPosition(Angle latitude, Angle longitude, double metersElevation)MatrixGlobe. computeSurfaceOrientationAtPosition(Angle latitude, Angle longitude, double metersElevation)Returns the cartesian transform matrix that maps model coordinates to a local coordinate system at (latitude, longitude, metersElevation).MatrixGlobe. computeSurfaceOrientationAtPosition(Position position)Returns the cartesian transform matrix that maps model coordinates to a local coordinate system at (latitude, longitude, metersElevation). -
Uses of Matrix in gov.nasa.worldwind.ogc.collada
Fields in gov.nasa.worldwind.ogc.collada declared as Matrix Modifier and Type Field Description protected MatrixColladaNode. matrixTransform matrix for this node.protected MatrixColladaRoot. matrixTransform matrix computed from the document's scale and orientation.Methods in gov.nasa.worldwind.ogc.collada that return Matrix Modifier and Type Method Description protected MatrixColladaNode. getMatrix()Indicates the transform matrix specified in this node.protected MatrixColladaRoot. getMatrix()Indicates the transform matrix applied to this document. -
Uses of Matrix in gov.nasa.worldwind.ogc.collada.impl
Fields in gov.nasa.worldwind.ogc.collada.impl declared as Matrix Modifier and Type Field Description protected MatrixColladaMeshShape.ExtentCacheKey. matrixprotected MatrixColladaMeshShape.OrderedMeshShape. renderMatrixTransform applied to this instance of the mesh.protected MatrixColladaMeshShape.ShapeData. renderMatrixTransform matrix to apply when rendering the shape.protected MatrixColladaMeshShape.ShapeData. surfaceOrientationMatrixMatrix to orient the shape on the surface of the globe.Fields in gov.nasa.worldwind.ogc.collada.impl with type parameters of type Matrix Modifier and Type Field Description protected java.util.Stack<Matrix>ColladaTraversalContext. matrixStackTransform matrix stack.Methods in gov.nasa.worldwind.ogc.collada.impl that return Matrix Modifier and Type Method Description protected MatrixColladaMeshShape. computeRenderMatrix(DrawContext dc)Computes the transform to use during rendering to orient the model.MatrixColladaTraversalContext. peekMatrix()Returns the matrix at the top of the matrix stack, but does not modify the stack.MatrixColladaTraversalContext. popMatrix()Removes the matrix at the top of the matrix stack.Methods in gov.nasa.worldwind.ogc.collada.impl with parameters of type Matrix Modifier and Type Method Description protected voidColladaMeshShape. doDrawOrderedRenderable(DrawContext dc, PickSupport pickCandidates, Matrix matrix)Draw the shape as an OrderedRenderable, using the specified transform matrix.voidColladaTraversalContext. multiplyMatrix(Matrix m)Multiply the matrix at the top of the stack with another matrix.voidColladaMeshShape. pick(DrawContext dc, java.awt.Point pickPoint, Matrix matrix)Pick the mesh in a given orientation.voidColladaTraversalContext. pushMatrix(Matrix m)Push a matrix onto the stack.voidColladaMeshShape. render(DrawContext dc, Matrix matrix)Render the mesh in a given orientation.Constructors in gov.nasa.worldwind.ogc.collada.impl with parameters of type Matrix Constructor Description ExtentCacheKey(Globe globe, Matrix matrix)OrderedMeshShape(ColladaMeshShape mesh, Matrix renderMatrix, double eyeDistance)Create a new ordered renderable. -
Uses of Matrix in gov.nasa.worldwind.render
Fields in gov.nasa.worldwind.render declared as Matrix Modifier and Type Field Description protected MatrixPolygon.ShapeData. rotationMatrixThe rotation matrix for this shape data.Methods in gov.nasa.worldwind.render that return Matrix Modifier and Type Method Description protected MatrixFramebufferTexture. computeGeographicToCartesianTransform(Sector sector)MatrixRigidShape. computeRenderMatrix(Globe globe, double verticalExaggeration)Computes the transform to use during rendering to convert the unit sphere geometry representation of this shape to its correct shape location, orientation and scaleMatrixRigidShape. computeRenderMatrix(DrawContext dc)Computes the transform to use during rendering to convert the unit sphere geometry representation of this shape to its correct shape location, orientation and scaleMatrixRigidShape. computeRenderMatrixInverse(Globe globe, double verticalExaggeration)Computes the inverse of the transform to use during rendering to convert the unit geometry representation of this shape to its correct shape location, orientation and scale, essentially bringing the shape back into local coordinate space.protected MatrixPolygon. computeRotationMatrix(Globe globe)MatrixPolygon.ShapeData. getRotationMatrix()Returns this shape data's rotation matrix, if there is one.Methods in gov.nasa.worldwind.render with parameters of type Matrix Modifier and Type Method Description protected voidPolygon. computeBoundaryVertices(Terrain terrain, Polygon.BoundaryInfo boundary, Vec4 refPoint, Matrix rotationMatrix)Compute the vertices associated with a specified boundary.protected Vec4Polygon. computeReferencePoint(Terrain terrain, Matrix rotationMatrix)protected java.nio.FloatBufferRigidShape. computeTransformedVertices(java.nio.FloatBuffer vertices, int numVertices, Matrix matrix)Transform all vertices with the provided matrixprotected voidFramebufferTexture. drawQuad(DrawContext dc, Matrix geoToCartesian, int slices, int stacks)java.util.List<Intersection>RigidShape. intersectFace(Line line, int index, Matrix renderMatrix)Returns intersections of line with the ith face of this shape, Assumes we already know the line intersects the shape somewhere (but perhaps not on this face)voidPolygon.ShapeData. setRotationMatrix(Matrix matrix)Specifies this shape data's rotation matrix.protected Vec4FramebufferTexture. transformToQuadCoordinates(Matrix geoToCartesian, LatLon latLon) -
Uses of Matrix in gov.nasa.worldwind.render.airspaces
Methods in gov.nasa.worldwind.render.airspaces that return Matrix Modifier and Type Method Description protected MatrixCappedCylinder. computeEllipsoidalTransform(Globe globe, double verticalExaggeration)protected MatrixOrbit. computeEllipsoidalTransform(Globe globe, double verticalExaggeration)Methods in gov.nasa.worldwind.render.airspaces with parameters of type Matrix Modifier and Type Method Description protected intPolygon. computeEllipsoidalPolygon(Globe globe, java.util.List<? extends LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags, Vec4[] points, java.lang.Boolean[] edgeFlagArray, Matrix[] transform) -
Uses of Matrix in gov.nasa.worldwind.util
Fields in gov.nasa.worldwind.util declared as Matrix Modifier and Type Field Description protected MatrixSurfaceTileDrawContext. modelviewMethods in gov.nasa.worldwind.util that return Matrix Modifier and Type Method Description MatrixSurfaceTileDrawContext. getModelviewMatrix()Returns a Matrix mapping geographic coordinates to pixels in the off-screen tile.MatrixSurfaceTileDrawContext. getModelviewMatrix(LatLon referenceLocation)Returns a Matrix mapping geographic coordinates to pixels in the off-screen tile.Methods in gov.nasa.worldwind.util with parameters of type Matrix Modifier and Type Method Description static java.util.List<LatLon>ImageUtil. computeImageCorners(int imageWidth, int imageHeight, Matrix imageToGeographic)Returns the geographic corners of an image with the specified dimensions, and a transform that maps image coordinates to geographic coordinates.static voidImageUtil. warpImageWithTransform(java.awt.image.BufferedImage image, java.awt.image.BufferedImage canvas, Matrix canvasToImageTransform)Rasterizes the image into the canvas, given a transform that maps canvas coordinates to image coordinates. -
Uses of Matrix in gov.nasa.worldwind.view
Fields in gov.nasa.worldwind.view declared as Matrix Modifier and Type Field Description protected MatrixBasicView. modelviewprotected MatrixBasicView. modelviewInvprotected MatrixBasicView. projectionMethods in gov.nasa.worldwind.view that return Matrix Modifier and Type Method Description static MatrixViewUtil. computeModelViewMatrix(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)static MatrixViewUtil. computePositionTransform(Globe globe, Position center)static MatrixViewUtil. computeTransformMatrix(Globe globe, Position position, Angle heading, Angle pitch, Angle roll)MatrixBasicView. getModelviewMatrix()MatrixBasicView. getProjectionMatrix()MatrixBasicView. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)MatrixBasicView. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)Methods in gov.nasa.worldwind.view with parameters of type Matrix Modifier and Type Method Description static AngleViewUtil. computeHeading(Matrix headingPitchZoomTransform)static ViewUtil.ViewStateViewUtil. computeModelCoordinates(Globe globe, Matrix modelTransform, Vec4 centerPoint, Vec4 eyePoint)static AngleViewUtil. computePitch(Matrix transform)static PositionViewUtil. computePosition(Globe globe, Matrix transform)static LineViewUtil. computeRayFromScreenPoint(View view, double x, double y, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)static AngleViewUtil. computeRoll(Matrix transform)static voidBasicView. loadGLViewState(DrawContext dc, Matrix modelview, Matrix projection)Sets the the opengl modelview and projection matrices to the given matrices.Vec4BasicView. project(Vec4 point, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms the specified object coordinates into window coordinates using the given modelview and projection matrices, and viewport.static Vec4ViewUtil. project(Vec4 modelPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in model coordinates to a point in screen coordinates.Vec4BasicView. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Maps the given window coordinates into model coordinates using the given matrices and viewport.static Vec4ViewUtil. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)Transforms a point in screen coordinates to a point in model coordinates. -
Uses of Matrix in gov.nasa.worldwind.view.firstperson
Methods in gov.nasa.worldwind.view.firstperson that return Matrix Modifier and Type Method Description MatrixBasicFlyView. getModelViewMatrix(Position eyePosition, Position centerPosition) -
Uses of Matrix in gov.nasa.worldwind.view.orbit
Methods in gov.nasa.worldwind.view.orbit that return Matrix Modifier and Type Method Description protected static MatrixOrbitViewInputSupport. computeCenterTransform(Globe globe, Position center)protected static MatrixOrbitViewInputSupport. computeHeadingPitchRollZoomTransform(Angle heading, Angle pitch, Angle roll, double zoom)static MatrixOrbitViewInputSupport. computeTransformMatrix(Globe globe, Position center, Angle heading, Angle pitch, Angle roll, double zoom)Methods in gov.nasa.worldwind.view.orbit with parameters of type Matrix Modifier and Type Method Description static OrbitViewInputSupport.OrbitViewStateOrbitViewInputSupport. computeOrbitViewState(Globe globe, Matrix modelTransform, Vec4 centerPoint)protected static doubleOrbitViewInputSupport. computeZoom(Matrix headingPitchZoomTransform) -
Uses of Matrix in gov.nasa.worldwindx.applications.sar.segmentplane
Methods in gov.nasa.worldwindx.applications.sar.segmentplane with parameters of type Matrix Modifier and Type Method Description protected voidSegmentPlaneRenderer. drawBorder(DrawContext dc, SegmentPlaneRenderer.RenderInfo renderInfo, Matrix modelview, double radius, double height) -
Uses of Matrix in gov.nasa.worldwindx.examples.util
Fields in gov.nasa.worldwindx.examples.util declared as Matrix Modifier and Type Field Description protected MatrixViewVolumeRenderer.OrderedViewVolume. modelviewprotected MatrixViewVolumeRenderer.OrderedViewVolume. projectionMethods in gov.nasa.worldwindx.examples.util with parameters of type Matrix Modifier and Type Method Description protected voidViewVolumeRenderer. draw(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)protected voidViewVolumeRenderer. drawAxes(DrawContext dc, Matrix modelview)protected voidViewVolumeRenderer. drawClipVolume(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)protected static voidViewVolumeRenderer. drawVolume(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)voidViewVolumeRenderer. render(DrawContext dc, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)protected java.lang.Iterable<ExtentVisibilitySupport.ScreenExtent>ExtentVisibilitySupport. translateScreenExtents(java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents, Matrix oldModelview, Matrix newModelview, Matrix projection, java.awt.Rectangle viewport)protected static Vec4ViewVolumeRenderer. worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)Constructors in gov.nasa.worldwindx.examples.util with parameters of type Matrix Constructor Description OrderedViewVolume(Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
-