Uses of Class
gov.nasa.worldwind.geom.Vec4
-
-
Uses of Vec4 in gov.nasa.worldwind
Methods in gov.nasa.worldwind that return Vec4 Modifier and Type Method Description Vec4
View. getCenterPoint()
Gets the center point of the view.Vec4
View. getCurrentEyePoint()
Returns the most up-to-date location of the eye in cartesian coordinates.Vec4
View. getEyePoint()
Returns the location of the eye in cartesian coordinates.Vec4
View. getForwardVector()
Returns the forward axis in cartesian coordinates.Vec4
View. getUpVector()
Returns the up axis in cartesian coordinates.Vec4
View. project(Vec4 modelPoint)
Maps aPoint
in model (cartesian) coordinates to aPoint
in screen coordinates.Vec4
View. unProject(Vec4 windowPoint)
Maps aPoint
in screen coordinates to aPoint
in model coordinates.Methods in gov.nasa.worldwind with parameters of type Vec4 Modifier and Type Method Description Vec4
View. project(Vec4 modelPoint)
Maps aPoint
in model (cartesian) coordinates to aPoint
in screen coordinates.Matrix
View. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)
Defines and applies a new model-view matrix in which the world origin is located atreferenceCenter
.Matrix
View. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)
Sets the reference center matrix without pushing the stack.Vec4
View. unProject(Vec4 windowPoint)
Maps aPoint
in screen coordinates to aPoint
in model coordinates. -
Uses of Vec4 in gov.nasa.worldwind.awt
Methods in gov.nasa.worldwind.awt that return Vec4 Modifier and Type Method Description protected Vec4
AbstractViewInputHandler. computeSelectedPointAt(java.awt.Point point)
Methods in gov.nasa.worldwind.awt with parameters of type Vec4 Modifier and Type Method Description double
AbstractViewInputHandler. computeDragSlope(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)
double
ViewInputHandler. computeDragSlope(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)
Compute the drag slope the given screen and world coordinates.protected LatLon
AbstractViewInputHandler. getChangeInLocation(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)
-
Uses of Vec4 in gov.nasa.worldwind.drag
Fields in gov.nasa.worldwind.drag declared as Vec4 Modifier and Type Field Description protected Vec4
DraggableSupport. initialEllipsoidalReferencePoint
Initial drag operation cartesian coordinates of the objects reference position.protected Vec4
DraggableSupport. initialEllipsoidalScreenPoint
Initial drag operation cartesian coordinates of the initial screen point.protected Vec4
DraggableSupport. initialScreenPointOffset
Initial drag operation offset in x and y screen coordinates, between the object reference position and the screen point.Methods in gov.nasa.worldwind.drag that return Vec4 Modifier and Type Method Description protected Vec4
DraggableSupport. computeEllipsoidalPointFromScreen(DragContext dragContext, java.awt.Point screenPoint, double altitude, boolean utilizeSearchMethod)
Determines the cartesian coordinate of a screen point given the altitude mode.protected Vec4
DraggableSupport. computeGlobeIntersection(Line ray, double altitude, boolean useSearchMethod, Globe globe, SceneController sceneController)
protected Vec4
DraggableSupport. computeRelativePoint(Line ray, Globe globe, SceneController sceneController, double altitude)
Attempts to find a position with the altitude specified for objects which areWorldWind.RELATIVE_TO_GROUND
.protected Vec4
DraggableSupport. computeScreenOffsetFromReferencePosition(Position dragObjectReferencePosition, DragContext dragContext)
Determines the offset in screen coordinates from the previous screen point (DragContext.getInitialPoint()
and the objectsMovable.getReferencePosition()
orMovable2.getReferencePosition()
methods. -
Uses of Vec4 in gov.nasa.worldwind.geom
Fields in gov.nasa.worldwind.geom declared as Vec4 Modifier and Type Field Description protected Vec4
Cylinder. axisUnitDirection
Vec4
Box. bottomCenter
protected Vec4
Cylinder. bottomCenter
protected Vec4
Box. center
protected Vec4
Sphere. center
Vec4
Frustum.Corners. fbl
Vec4
Frustum.Corners. fbr
Vec4
Frustum.Corners. ftl
Vec4
Frustum.Corners. ftr
static Vec4
Vec4. INFINITY
protected Vec4
Intersection. intersectionPoint
Vec4
Frustum.Corners. nbl
Vec4
Frustum.Corners. nbr
Vec4
Frustum.Corners. ntl
Vec4
Frustum.Corners. ntr
static Vec4
Vec4. ONE
Vec4
Triangle.TriangleIntersection. p0
protected Vec4
BarycentricTriangle. p00
protected Vec4
BarycentricTriangle. p01
Vec4
Triangle.TriangleIntersection. p1
protected Vec4
BarycentricTriangle. p10
protected Vec4
BarycentricQuadrilateral. p11
protected Vec4
BarycentricTriangle. q1
protected Vec4
BarycentricTriangle. q3
protected Vec4
Box. r
protected Vec4
Box. ru
protected Vec4
Box. s
protected Vec4
Box. su
protected Vec4
Box. t
Vec4
Box. topCenter
protected Vec4
Cylinder. topCenter
protected Vec4
Box. tu
static Vec4
Vec4. UNIT_NEGATIVE_W
static Vec4
Vec4. UNIT_NEGATIVE_X
static Vec4
Vec4. UNIT_NEGATIVE_Y
static Vec4
Vec4. UNIT_NEGATIVE_Z
static Vec4
Vec4. UNIT_W
static Vec4
Vec4. UNIT_X
static Vec4
Vec4. UNIT_Y
static Vec4
Vec4. UNIT_Z
static Vec4
Vec4. ZERO
Methods in gov.nasa.worldwind.geom that return Vec4 Modifier and Type Method Description Vec4
Vec4. add3(double x, double y, double z)
Vec4
Vec4. add3(Vec4 vec4)
static Vec4
Vec4. clamp3(Vec4 vec4, double min, double max)
Vec4[]
Plane. clip(Vec4 pa, Vec4 pb)
Clip a line segment to this plane.static Vec4[]
Line. clipToFrustum(Vec4 pa, Vec4 pb, Frustum frustum)
Clip a line segment to a frustum, returning the end points of the portion of the segment that is within the frustum.static Vec4
Vec4. computeAveragePoint(java.lang.Iterable<? extends Vec4> points)
Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.static Vec4
Vec4. computeAveragePoint3(BufferWrapper coordinates, int stride)
Returns the arithmetic mean of the x, y, z coordinates of the specified points buffer.Vec4
Sector. computeCenterPoint(Globe globe, double exaggeration)
Computes the Cartesian coordinates of a Sector's center.Vec4[]
Sector. computeCornerPoints(Globe globe, double exaggeration)
Computes the Cartesian coordinates of a Sector's corners.static Vec4[]
Vec4. computeExtrema(Vec4[] points)
Calculate the extrema of a given array ofVec4
s.static Vec4[]
Vec4. computeExtrema(BufferWrapper buffer)
Vec4
Vec4. cross3(Vec4 vec4)
Vec4
Vec4. divide3(double value)
Vec4
Vec4. divide3(Vec4 vec4)
Vec4
Matrix. extractEyePoint()
Extracts this viewing matrix's eye point.Vec4
Matrix. extractForwardVector()
Extracts this viewing matrix's forward vector.static Vec4
Vec4. fromArray2(double[] array, int offset)
Constructs a new Vec4 withx
andy
values from the specified double array.static Vec4
Vec4. fromArray3(double[] array, int offset)
Constructs a new Vec4 withx
,y
andz
values from the specified double array.static Vec4
Vec4. fromArray4(double[] array, int offset)
Constructs a new Vec4 withx
,y
,z
andw
values from the specified double array.static Vec4
Vec4. fromDoubleArray(double[] array, int offset, int length)
Constructs a new Vec4 with coordinate values read from the specified double array.static Vec4
Vec4. fromFloatArray(float[] array, int offset, int length)
Constructs a new Vec4 with coordinate values read from the specified float array.static Vec4
Vec4. fromLine3(Vec4 origin, double t, Vec4 direction)
Vec4
Triangle. getA()
Returns the first vertex.Vec4
Vec4. getAbs3()
Vec4
Quaternion. getAxis()
Vec4
Cylinder. getAxisUnitDirection()
Returns the unit-length axis of this cylinder.Vec4
Triangle. getB()
Returns the second vertex.Vec4
Box. getBottomCenter()
Returns the point corresponding to the center of the box side left-most along the R (first) axis.Vec4
Cylinder. getBottomCenter()
Returns the this cylinder's bottom-center point.Vec4
Triangle. getC()
Returns the third vertex.Vec4
Box. getCenter()
Returns the box's center point.Vec4
Cylinder. getCenter()
Return this cylinder's center point.Vec4
Extent. getCenter()
Returns the extent's center point.Vec4
Sphere. getCenter()
Obtains the center of thisSphere
.Vec4[]
BilinearInterpolator. getCorners()
Vec4[]
Box. getCorners()
Returns the eight corners of the box.Vec4
Line. getDirection()
Vec4
Intersection. getIntersectionPoint()
Returns the intersection point.Vec4
Vec4. getNegative3()
Vec4
Plane. getNormal()
Returns the plane's normal vector.Vec4
Line. getOrigin()
Vec4
BarycentricTriangle. getP00()
Vec4
BarycentricTriangle. getP01()
Vec4
BarycentricTriangle. getP10()
Vec4
BarycentricQuadrilateral. getP11()
Vec4
BarycentricPlanarShape. getPoint(double[] w)
Vec4
BarycentricTriangle. getPoint(double[] w)
Vec4
Line. getPointAt(double t)
Vec4
Sphere. getPointOnSphere(LatLon location)
Computes a point on the sphere corresponding to a specified location.Vec4
Box. getRAxis()
Returns the R (first) axis.Vec4
Box. getSAxis()
Returns the S (second) axis.Vec4
Box. getTAxis()
Returns the T (third) axis.Vec4
Box. getTopCenter()
Returns the point corresponding to the center of the box side right-most along the R (first) axis.Vec4
Cylinder. getTopCenter()
Returns the this cylinder's top-center point.Vec4
Matrix. getTranslation()
Vec4
Box. getUnitRAxis()
Returns the R (first) axis in unit length.Vec4
Box. getUnitSAxis()
Returns the S (second) axis in unit length.Vec4
Box. getUnitTAxis()
Returns the T (third) axis in unit length.Vec4
Plane. getVector()
Returns a 4-D vector holding the plane's normal and distance.Vec4
BilinearInterpolator. interpolateAsPoint(double u, double v)
Vec4
Plane. intersect(Line line)
Determine the intersection point of a line with this plane.static Vec4
Plane. intersect(Plane pa, Plane pb, Plane pc)
Compute the intersection of three planes.Vec4
Plane. intersect(Vec4 pa, Vec4 pb)
Test a line segment for intersection with this plane.Vec4
Triangle. intersect(Line line)
Determine the intersection of the triangle with a specified line.static Vec4
Vec4. max3(Vec4 value1, Vec4 value2)
static Vec4
Vec4. min3(Vec4 value1, Vec4 value2)
static Vec4
Vec4. mix3(double amount, Vec4 value1, Vec4 value2)
Vec4
Vec4. multiply3(double value)
Vec4
Vec4. multiply3(Vec4 vec4)
Vec4
Line. nearestIntersectionPoint(Intersection[] intersections)
static Vec4
Line. nearestPointOnSegment(Vec4 p0, Vec4 p1, Vec4 p)
Finds the closest point to a third point of a segment defined by two points.Vec4
Line. nearestPointTo(Vec4 p)
Vec4
Vec4. normalize3()
Vec4
Vec4. perpendicularTo3(Vec4 vec4)
Vec4[]
Vec4. perpendicularVectors()
Computes two vectors mutually perpendicular to this vector and each other.Vec4
Vec4. projectOnto3(Vec4 vec4)
Vec4
Vec4. subtract3(double x, double y, double z)
Vec4
Vec4. subtract3(Vec4 vec4)
Vec4
PolarPoint. toCartesian()
Obtains a cartesian point equivalent to thisPolarPoint
, except in cartesian space.static Vec4
PolarPoint. toCartesian(Angle latitude, Angle longitude, double radius)
Obtains a cartesian point from a given latitude, longitude and distance from center.Vec4
Vec4. toHomogeneousDirection3()
Returns a representation of this vector as anx y z
direction suitable for use where four-dimensional homogeneous coordinates are required.Vec4
Vec4. toHomogeneousPoint3()
Returns a representation of this vector as anx y z
point suitable for use where four-dimensional homogeneous coordinates are required.Vec4
Matrix. transformBy3(Matrix matrix, double x, double y, double z)
Vec4
Vec4. transformBy3(Matrix matrix)
Vec4
Vec4. transformBy3(Quaternion quaternion)
Vec4
Vec4. transformBy4(Matrix matrix)
Methods in gov.nasa.worldwind.geom with parameters of type Vec4 Modifier and Type Method Description Vec4
Vec4. add3(Vec4 vec4)
Angle
Vec4. angleBetween3(Vec4 vec4)
static boolean
Vec4. areColinear(Vec4 a, Vec4 b, Vec4 c)
Indicates whether three vectors are colinear.static Angle
Vec4. axisAngle(Vec4 v1, Vec4 v2, Vec4[] result)
Compute the angle and rotation axis required to rotate one vector to align with another.static Vec4
Vec4. clamp3(Vec4 vec4, double min, double max)
Vec4[]
Plane. clip(Vec4 pa, Vec4 pb)
Clip a line segment to this plane.protected boolean
Cylinder. clipcyl(Vec4 raybase, Vec4 raycos, Vec4 bot, Vec4 top, Vec4 axis, double[] tVals)
static Vec4[]
Line. clipToFrustum(Vec4 pa, Vec4 pb, Frustum frustum)
Clip a line segment to a frustum, returning the end points of the portion of the segment that is within the frustum.protected static Triangle.TriangleIntersection
Triangle. compute_intervals_isectline(Vec4[] v, double vv0, double vv1, double vv2, double d0, double d1, double d2, double d0d1, double d0d2)
static void
Matrix. computeEigensystemFromSymmetricMatrix3(Matrix matrix, double[] outEigenvalues, Vec4[] outEigenvectors)
Computes the eigensystem of the specified symmetric Matrix's upper 3x3 matrix.static Vec4[]
Vec4. computeExtrema(Vec4[] points)
Calculate the extrema of a given array ofVec4
s.boolean
BarycentricQuadrilateral. contains(Vec4 p)
boolean
BarycentricTriangle. contains(Vec4 p)
boolean
Frustum. contains(Vec4 point)
Indicates whether a specified point is within this frustum.boolean
Triangle. contains(Vec4 p)
Indicates whether a specified point is on the triangle.protected static boolean
Triangle. coplanarTriangles(Vec4 n, Vec4[] v, Vec4[] u)
static Sphere
Sphere. createBoundingSphere(Vec4[] points)
Creates a sphere that completely contains a set of points.Vec4
Vec4. cross3(Vec4 vec4)
double
Line. distanceTo(Vec4 p)
Calculate the shortests distance between this line and a specifiedVec4
.double
Plane. distanceTo(Vec4 p)
double
Sector. distanceTo(DrawContext dc, Vec4 point)
Returns an approximation of the distance in model coordinates between the surface geometry defined by this sector and the specified model coordinate point.double
Vec4. distanceTo2(Vec4 vec4)
double
Vec4. distanceTo3(Vec4 vec4)
static double
Line. distanceToSegment(Vec4 p0, Vec4 p1, Vec4 p)
double
Vec4. distanceToSquared3(Vec4 vec4)
Vec4
Vec4. divide3(Vec4 vec4)
double
Plane. dot(Vec4 p)
Calculates the 4-D dot product of this plane with a vector.double
Vec4. dot3(Vec4 vec4)
double
Vec4. dot4(Vec4 vec4)
protected void
Box. drawBox(DrawContext dc, Vec4 a, Vec4 b, Vec4 c, Vec4 d)
protected void
Box. drawOutline(DrawContext dc, Vec4 a, Vec4 b, Vec4 c, Vec4 d)
AVList
Matrix. extractViewingParameters(Vec4 origin, Angle roll, Globe globe)
Extracts this viewing matrix's parameters given a viewing origin and a globe.static Matrix
Matrix. fromAxes(Vec4[] axes)
Returns a Cartesian transformMatrix
that maps a local orientation to model coordinates.static Matrix
Matrix. fromAxisAngle(Angle angle, Vec4 axis)
static Quaternion
Quaternion. fromAxisAngle(Angle angle, Vec4 axis)
static PolarPoint
PolarPoint. fromCartesian(Vec4 cartesianPoint)
Obtains aPolarPoint
from a cartesian point.static Vec4
Vec4. fromLine3(Vec4 origin, double t, Vec4 direction)
static Matrix
Matrix. fromLocalOrientation(Vec4 origin, Vec4[] axes)
Returns a Cartesian transformMatrix
that maps a local origin and orientation to model coordinates.static Matrix
Matrix. 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 Frustum
Frustum. fromPerspectiveVecs(Vec4 vTL, Vec4 vTR, Vec4 vBL, Vec4 vBR, double near, double far)
Creates aFrustum
from four edge vectors, viewport aspect ratio and distance to near and far planes.static Plane
Plane. fromPoints(Vec4 pa, Vec4 pb, Vec4 pc)
Returns the plane that passes through the specified three points.static Matrix
Matrix. fromScale(Vec4 scale)
static Line
Line. fromSegment(Vec4 pa, Vec4 pb)
Create the line containing a line segement between two points.static Matrix
Matrix. fromTranslation(Vec4 translation)
static Matrix
Matrix. 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.double[]
BarycentricPlanarShape. getBarycentricCoords(Vec4 p)
double[]
BarycentricTriangle. getBarycentricCoords(Vec4 p)
double[]
BarycentricQuadrilateral. getBilinearCoords(Vec4 point)
protected boolean
Cylinder. intcyl(Vec4 raybase, Vec4 raycos, Vec4 base, Vec4 axis, double radius, double[] tVals)
Vec4
Plane. intersect(Vec4 pa, Vec4 pb)
Test a line segment for intersection with this plane.static Intersection
Triangle. intersect(Line line, Vec4 a, Vec4 b, Vec4 c)
Determines the intersection of a specified line with a specified triangle.protected static Triangle.TriangleIntersection
Triangle. intersect(Vec4 v0, Vec4 v1, Vec4 v2, double vv0, double vv1, double vv2, double d0, double d1, double d2)
protected double
Box. intersectsAt(Plane plane, double effectiveRadius, Vec4[] endpoints)
protected double
Cylinder. intersectsAt(Plane plane, double effectiveRadius, Vec4[] endpoints)
boolean
Frustum. intersectsSegment(Vec4 pa, Vec4 pb)
Determines whether a line segment intersects this frustum.static int
Triangle. intersectTriangles(Vec4[] v, Vec4[] u, Vec4[] intersectionVertices)
Intersects two triangles and returns their intersection vertices.static java.util.List<Intersection>
Triangle. intersectTriFan(Line line, Vec4[] vertices, java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle fan.static java.util.List<Intersection>
Triangle. intersectTriStrip(Line line, Vec4[] vertices, java.nio.IntBuffer indices)
Compute the intersections of a line with a triangle strip.double[]
BarycentricQuadrilateral. invertBilinear(Vec4 U)
static double[]
BarycentricQuadrilateral. invertBilinear(Vec4 U, Vec4 X, Vec4 Y, Vec4 Z, Vec4 W)
boolean
Line. isPointBehindLineOrigin(Vec4 point)
Determine if a point is behind theLine
's origin.static Vec4
Vec4. max3(Vec4 value1, Vec4 value2)
static Vec4
Vec4. min3(Vec4 value1, Vec4 value2)
static Vec4
Vec4. mix3(double amount, Vec4 value1, Vec4 value2)
Vec4
Vec4. multiply3(Vec4 vec4)
static Vec4
Line. nearestPointOnSegment(Vec4 p0, Vec4 p1, Vec4 p)
Finds the closest point to a third point of a segment defined by two points.Vec4
Line. nearestPointTo(Vec4 p)
int
Plane. onSameSide(Vec4[] pts)
Determines whether multiple points are on the same side of a plane.int
Plane. onSameSide(Vec4 pa, Vec4 pb)
Determines whether two points are on the same side of a plane.Vec4
Vec4. perpendicularTo3(Vec4 vec4)
Vec4
Vec4. projectOnto3(Vec4 vec4)
void
Intersection. setIntersectionPoint(Vec4 intersectionPoint)
Specifies the intersection point.static java.util.Queue<Intersection>
Intersection. sort(Vec4 refPoint, java.util.List<Intersection> listA, java.util.List<Intersection> listB)
Merges two lists of intersections into a single list sorted by intersection distance from a specified reference point.Vec4
Vec4. subtract3(Vec4 vec4)
Box
Box. translate(Vec4 point)
Method parameters in gov.nasa.worldwind.geom with type arguments of type Vec4 Modifier and Type Method Description static Vec4
Vec4. computeAveragePoint(java.lang.Iterable<? extends Vec4> points)
Returns the arithmetic mean of the x, y, z, and w coordinates of the specified points Iterable.static Box
Box. computeBoundingBox(java.lang.Iterable<? extends Vec4> points)
Compute aBox
that bounds a specified list of points.static Cylinder
Cylinder. computeBoundingCylinder(java.lang.Iterable<? extends Vec4> points)
Compute a bounding cylinder for a collection of points.static Matrix
Matrix. fromCovarianceOfVertices(java.lang.Iterable<? extends Vec4> points)
Computes a symmetric covariance Matrix from the x, y, z coordinates of the specified points Iterable.static double
Vec4. getAverageDistance(java.lang.Iterable<? extends Vec4> points)
Constructors in gov.nasa.worldwind.geom with parameters of type Vec4 Constructor Description BarycentricQuadrilateral(Vec4 p00, Vec4 p10, Vec4 p11, Vec4 p01)
BarycentricTriangle(Vec4 p00, Vec4 p10, Vec4 p01)
BilinearInterpolator(Vec4 ll, Vec4 lr, Vec4 ur, Vec4 ul)
Box(Vec4 point)
Construct a unit-length cube centered at a specified point.Box(Vec4[] axes, double rMin, double rMax, double sMin, double sMax, double tMin, double tMax)
Construct a box from three specified unit axes and the locations of the box faces relative to those axes.Box(Vec4 bottomCenter, Vec4 topCenter, Vec4 center, Vec4 r, Vec4 s, Vec4 t, Vec4 ru, Vec4 su, Vec4 tu, double rlength, double sLength, double tLength, Plane[] planes)
Cylinder(Vec4 bottomCenter, Vec4 topCenter, double cylinderRadius)
Create a Cylinder from two points and a radius.Cylinder(Vec4 bottomCenter, Vec4 topCenter, double cylinderRadius, Vec4 unitDirection)
Create a Cylinder from two points, a radius and an axis direction.Intersection(Vec4 intersectionPoint, boolean isTangent)
Constructs an Intersection from an intersection point and tangency indicator.Intersection(Vec4 intersectionPoint, double intersectionLength, boolean isTangent)
Constructs an Intersection from an intersection point and tangency indicator.Intersection(Vec4 intersectionPoint, Position intersectionPosition, boolean isTangent, java.lang.Object object)
Line(Vec4 origin, Vec4 direction)
Plane(Vec4 vec)
Constructs a plane from a 4-D vector giving the plane normal vector and distance.Sphere(Vec4 center, double radius)
Creates a newSphere
from a given center and radius.Triangle(Vec4 a, Vec4 b, Vec4 c)
Construct a triangle from three counter-clockwise ordered vertices. -
Uses of Vec4 in gov.nasa.worldwind.globes
Fields in gov.nasa.worldwind.globes declared as Vec4 Modifier and Type Field Description protected Vec4
FlatGlobe. offsetVector
Methods in gov.nasa.worldwind.globes that return Vec4 Modifier and Type Method Description Vec4
EllipsoidalGlobe. computeEllipsoidalNormalAtLocation(Angle latitude, Angle longitude)
Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian coordinates.Vec4
Globe. computeEllipsoidalNormalAtLocation(Angle latitude, Angle longitude)
Computes a vector perpendicular to the surface of the ellipsoid specified by this globe, in cartesian coordinates.Vec4
EllipsoidalGlobe. computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.Vec4
Globe. computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.Vec4
EllipsoidalGlobe. computeEllipsoidalPointFromPosition(Angle latitude, Angle longitude, double metersElevation)
Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4
EllipsoidalGlobe. computeEllipsoidalPointFromPosition(Position position)
Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4
Globe. computeEllipsoidalPointFromPosition(Angle latitude, Angle longitude, double metersElevation)
Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4
Globe. computeEllipsoidalPointFromPosition(Position position)
Computes a ellipsoidal point from a latitude, longitude, and elevation.Vec4
EllipsoidalGlobe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)
Vec4
FlatGlobe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)
Vec4
Globe. computeNorthPointingTangentAtLocation(Angle latitude, Angle longitude)
Computes a vector tangent to this globe and pointing toward the north pole.Vec4
EllipsoidalGlobe. computePointFromLocation(LatLon location)
Vec4
Globe. computePointFromLocation(LatLon location)
Computes a cartesian point from a geographic location on the surface of this globe.Vec4
EllipsoidalGlobe. computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)
Vec4
EllipsoidalGlobe. computePointFromPosition(LatLon latLon, double metersElevation)
Vec4
EllipsoidalGlobe. computePointFromPosition(Position position)
Vec4
Globe. computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)
Computes a cartesian point from a latitude, longitude, and elevation.Vec4
Globe. computePointFromPosition(LatLon latLon, double metersElevation)
Computes a cartesian point from a geographic location and elevation.Vec4
Globe. computePointFromPosition(Position position)
Computes a cartesian point from a geographic position.Vec4
EllipsoidalGlobe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)
Returns the normal to the Globe at the specified position.Vec4
FlatGlobe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)
Vec4
Globe. computeSurfaceNormalAtLocation(Angle latitude, Angle longitude)
Computes a vector perpendicular to the surface of this globe in cartesian coordinates.Vec4
EllipsoidalGlobe. computeSurfaceNormalAtPoint(Vec4 point)
Returns the normal to the Globe at the specified cartiesian point.Vec4
FlatGlobe. computeSurfaceNormalAtPoint(Vec4 point)
Vec4
Globe. computeSurfaceNormalAtPoint(Vec4 point)
Computes a vector perpendicular to the surface of this globe, at a cartesian point.protected Vec4
EllipsoidalGlobe. geodeticToCartesian(Angle latitude, Angle longitude, double metersElevation)
Maps a position to world Cartesian coordinates.protected Vec4
FlatGlobe. geodeticToCartesian(Angle latitude, Angle longitude, double metersElevation)
Maps a position to a flat world Cartesian coordinates.protected Vec4
EllipsoidalGlobe. geodeticToEllipsoidal(Angle latitude, Angle longitude, double metersElevation)
Maps a position to ellipsoidal coordinates.Vec4
GeographicProjection. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Converts a geographic position to meters in Cartesian coordinates.Vec4
EllipsoidalGlobe. getCenter()
Vec4
GeographicProjection. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Computes a Cartesian vector that points north and is tangent to the meridian at the specified geographic location.Methods in gov.nasa.worldwind.globes with parameters of type Vec4 Modifier and Type Method Description protected Position
EllipsoidalGlobe. cartesianToGeodetic(Vec4 cart)
Compute the geographic position to corresponds to a Cartesian point.protected Position
FlatGlobe. cartesianToGeodetic(Vec4 cart)
Position
GeographicProjection. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Converts a Cartesian point in meters to a geographic position.void
EllipsoidalGlobe. computePointsFromPositions(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)
Computes a grid of cartesian points corresponding to a grid of geographic positions.void
Globe. computePointsFromPositions(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)
Computes a grid of cartesian points corresponding to a grid of geographic positions.Position
EllipsoidalGlobe. computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)
Computes the geographic position of a point in ellipsoidal coordinates.Position
Globe. computePositionFromEllipsoidalPoint(Vec4 ellipsoidalPoint)
Computes the geographic position of a point in ellipsoidal coordinates.Position
EllipsoidalGlobe. computePositionFromPoint(Vec4 point)
Position
Globe. computePositionFromPoint(Vec4 point)
Computes the geographic position of a point in cartesian coordinates.Vec4
EllipsoidalGlobe. computeSurfaceNormalAtPoint(Vec4 point)
Returns the normal to the Globe at the specified cartiesian point.Vec4
FlatGlobe. computeSurfaceNormalAtPoint(Vec4 point)
Vec4
Globe. computeSurfaceNormalAtPoint(Vec4 point)
Computes a vector perpendicular to the surface of this globe, at a cartesian point.protected Position
EllipsoidalGlobe. ellipsoidalToGeodetic(Vec4 cart)
Compute the geographic position to corresponds to an ellipsoidal point.protected void
EllipsoidalGlobe. geodeticToCartesian(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)
Maps a grid of geographic positions to Cartesian coordinates.protected void
FlatGlobe. geodeticToCartesian(Sector sector, int numLat, int numLon, double[] metersElevation, Vec4[] out)
Vec4
GeographicProjection. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Converts a geographic position to meters in Cartesian coordinates.void
GeographicProjection. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Converts a grid of geographic positions to a grid of points in Cartesian coordinates.boolean
EllipsoidalGlobe. isPointAboveElevation(Vec4 point, double elevation)
Determines whether a point is above a given elevationboolean
FlatGlobe. isPointAboveElevation(Vec4 point, double elevation)
Determines whether a point is above a given elevationboolean
Globe. isPointAboveElevation(Vec4 point, double elevation)
Determines whether a point is above a given elevation.Constructors in gov.nasa.worldwind.globes with parameters of type Vec4 Constructor Description EllipsoidalGlobe(double equatorialRadius, double polarRadius, double es, ElevationModel em, Vec4 center)
Create a new globe, and set the position of the globe's center. -
Uses of Vec4 in gov.nasa.worldwind.globes.projections
Methods in gov.nasa.worldwind.globes.projections that return Vec4 Modifier and Type Method Description Vec4
ProjectionEquirectangular. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionPolarEquidistant. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionTransverseMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionUPS. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionUPS. geographicToCartesianNGA(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
Vec4
ProjectionEquirectangular. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionMercator. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionModifiedSinusoidal. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionPolarEquidistant. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionSinusoidal. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionTransverseMercator. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Vec4
ProjectionUPS. northPointingTangent(Globe globe, Angle latitude, Angle longitude)
Methods in gov.nasa.worldwind.globes.projections with parameters of type Vec4 Modifier and Type Method Description Position
ProjectionEquirectangular. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionMercator. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionModifiedSinusoidal. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionPolarEquidistant. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionSinusoidal. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionTransverseMercator. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionUPS. cartesianToGeographic(Globe globe, Vec4 cart, Vec4 offset)
Position
ProjectionUPS. cartesianToGeographicNGA(Globe globe, Vec4 cart, Vec4 offset)
Vec4
ProjectionEquirectangular. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionEquirectangular. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionMercator. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionModifiedSinusoidal. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionPolarEquidistant. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionPolarEquidistant. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionSinusoidal. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionSinusoidal. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionTransverseMercator. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionTransverseMercator. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionUPS. geographicToCartesian(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
void
ProjectionUPS. geographicToCartesian(Globe globe, Sector sector, int numLat, int numLon, double[] metersElevation, Vec4 offset, Vec4[] out)
Vec4
ProjectionUPS. geographicToCartesianNGA(Globe globe, Angle latitude, Angle longitude, double metersElevation, Vec4 offset)
-
Uses of Vec4 in gov.nasa.worldwind.layers
Fields in gov.nasa.worldwind.layers declared as Vec4 Modifier and Type Field Description protected Vec4
AbstractGraticuleLayer. lastEyePoint
protected Vec4
CompassLayer. locationCenter
protected Vec4
ScalebarLayer. locationCenter
protected Vec4
ViewControlsLayer. locationCenter
protected Vec4
WorldMapLayer. locationCenter
protected Vec4
CompassLayer. locationOffset
protected Vec4
ScalebarLayer. locationOffset
protected Vec4
TerrainProfileLayer. locationOffset
protected Vec4
ViewControlsLayer. locationOffset
protected Vec4
WorldMapLayer. locationOffset
Methods in gov.nasa.worldwind.layers that return Vec4 Modifier and Type Method Description protected static Vec4
SkyGradientLayer. CartesianToSpherical(double x, double y, double z)
Converts position in cartesian coordinates (XYZ) to spherical (radius, lat, lon) coordinates.protected Vec4
CompassLayer. computeLocation(java.awt.Rectangle viewport, double scale)
protected Vec4
TerrainProfileLayer. computeLocation(java.awt.Rectangle viewport, double scale)
protected Vec4
WorldMapLayer. computeLocation(java.awt.Rectangle viewport, double scale)
protected Vec4
TiledImageLayer. computeReferencePoint(DrawContext dc)
protected Vec4
ViewControlsSelectListener. computeSurfacePoint(OrbitView view, Angle heading, Angle pitch)
Find out where on the terrain surface the eye would be looking at with the given heading and pitch angles.Vec4
TextureTile. getCentroidPoint(Globe globe)
Vec4
CompassLayer. getLocationCenter()
Returns the current compass image location.Vec4
CrosshairLayer. getLocationCenter()
Get the crosshair location inside the viewport.Vec4
ScalebarLayer. getLocationCenter()
Returns the current scalebar center location.Vec4
ViewControlsLayer. getLocationCenter()
Returns the current layer image location.Vec4
WorldMapLayer. getLocationCenter()
Returns the current worldmap image location.Vec4
CompassLayer. getLocationOffset()
Returns the current location offset.Vec4
ScalebarLayer. getLocationOffset()
Returns the current location offset.Vec4
TerrainProfileLayer. getLocationOffset()
Returns the current location offset.Vec4
ViewControlsLayer. getLocationOffset()
Returns the current location offset.Vec4
WorldMapLayer. getLocationOffset()
Returns the current location offset.protected Vec4
TiledImageLayer. getReferencePoint(DrawContext dc)
protected Vec4
AbstractGraticuleLayer. getSurfacePoint(DrawContext dc, Angle latitude, Angle longitude)
protected static Vec4
SkyGradientLayer. SphericalToCartesian(double latitude, double longitude, double radius)
Converts position in spherical coordinates (lat/lon/altitude) to cartesian (XYZ) coordinates.Methods in gov.nasa.worldwind.layers with parameters of type Vec4 Modifier and Type Method Description protected Position
TerrainProfileLayer. computePickPosition(DrawContext dc, Vec4 locationSW, java.awt.Dimension mapSize)
Computes the Position of the pickPoint over the graph and updates pickedSample indiceprotected Position
WorldMapLayer. computePickPosition(DrawContext dc, Vec4 locationSW, java.awt.Dimension mapSize)
Computes the lat/lon of the pickPoint over the world mapprotected void
TerrainProfileLayer. drawFilledRectangle(DrawContext dc, Vec4 origin, java.awt.Dimension dimension, java.awt.Color color)
protected void
TerrainProfileLayer. drawLabel(DrawContext dc, java.lang.String text, Vec4 screenPoint, int align)
void
CompassLayer. setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the compass image, relative to the image's center.void
CrosshairLayer. setLocationCenter(Vec4 locationCenter)
Set the crosshair location inside the viewport.void
ScalebarLayer. setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the scalebar center.void
ViewControlsLayer. setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the layer, relative to the image's center.void
WorldMapLayer. setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the worldmap image, relative to the image's center.void
CompassLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the compass' position on the screen.void
ScalebarLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the scalebar's position on the screen.void
TerrainProfileLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer position on the screen.void
ViewControlsLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer position on the screen.void
WorldMapLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the worldmap's position on the screen. -
Uses of Vec4 in gov.nasa.worldwind.layers.mercator
Methods in gov.nasa.worldwind.layers.mercator that return Vec4 Modifier and Type Method Description protected Vec4
MercatorTiledImageLayer. getReferencePoint()
-
Uses of Vec4 in gov.nasa.worldwind.layers.placename
Fields in gov.nasa.worldwind.layers.placename declared as Vec4 Modifier and Type Field Description protected Vec4
PlaceNameLayer. referencePoint
Methods in gov.nasa.worldwind.layers.placename that return Vec4 Modifier and Type Method Description protected Vec4
PlaceNameLayer. computeReferencePoint(DrawContext dc)
protected Vec4
PlaceNameLayer. getReferencePoint()
-
Uses of Vec4 in gov.nasa.worldwind.ogc.collada
Fields in gov.nasa.worldwind.ogc.collada declared as Vec4 Modifier and Type Field Description protected Vec4
ColladaRoot. modelScale
A scale to apply to the model.Methods in gov.nasa.worldwind.ogc.collada that return Vec4 Modifier and Type Method Description Vec4
ColladaRoot. getModelScale()
Indicates this shape's scale, if any.Methods in gov.nasa.worldwind.ogc.collada with parameters of type Vec4 Modifier and Type Method Description void
ColladaRoot. setModelScale(Vec4 modelScale)
Specifies this shape's scale. -
Uses of Vec4 in gov.nasa.worldwind.ogc.collada.impl
Fields in gov.nasa.worldwind.ogc.collada.impl declared as Vec4 Modifier and Type Field Description protected Vec4
ColladaMeshShape.ShapeData. referenceCenter
Cached reference center for the shape.Methods in gov.nasa.worldwind.ogc.collada.impl that return Vec4 Modifier and Type Method Description protected Vec4
ColladaMeshShape. computeReferenceCenter(DrawContext dc)
Computes this shape's reference center. -
Uses of Vec4 in gov.nasa.worldwind.ogc.gml
Methods in gov.nasa.worldwind.ogc.gml that return types with arguments of type Vec4 Modifier and Type Method Description java.util.List<Vec4>
GMLRectifiedGrid. getOffsetVectors()
-
Uses of Vec4 in gov.nasa.worldwind.ogc.kml
Fields in gov.nasa.worldwind.ogc.kml with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<Vec4>
KMLRegion.RegionData. points
Indicates the model-coordinate points representing the corners and interior of this entry's Region.Methods in gov.nasa.worldwind.ogc.kml that return types with arguments of type Vec4 Modifier and Type Method Description java.util.List<Vec4>
KMLRegion.RegionData. getPoints()
Indicates the model-coordinate points representing the corners and interior of this entry's Region.Method parameters in gov.nasa.worldwind.ogc.kml with type arguments of type Vec4 Modifier and Type Method Description void
KMLRegion.RegionData. setPoints(java.util.List<Vec4> points)
Specifies the model-coordinate points representing the corners and interior of this entry's Region. -
Uses of Vec4 in gov.nasa.worldwind.render
Fields in gov.nasa.worldwind.render declared as Vec4 Modifier and Type Field Description protected Vec4[]
ExtrudedPolygon.ExtrudedBoundaryInfo. baseVertices
The vertices defining the boundary's base.protected Vec4[]
ExtrudedPolygon.ExtrudedBoundaryInfo. capVertices
The vertices defining the boundary's cap.protected Vec4
BasicLightingModel. lightDirection
protected Vec4
AbstractGeneralShape. modelScale
A scale to apply to the model.protected Vec4
GlobeBrowserBalloon.OrderedGlobeBrowserBalloon. placePoint
The model-coordinate point corresponding to this balloon's position.protected Vec4
PointPlacemark.OrderedPlacemark. placePoint
protected Vec4
PointPlacemark. placePoint
protected Vec4
DeclutterableText. point
protected Vec4
IconRenderer.OrderedIcon. point
protected Vec4
IconRenderer.OrderedText. point
protected Vec4
Polyline. referenceCenterPoint
Deprecated.protected Vec4
AbstractShape.AbstractShapeData. referencePoint
This entry's reference point.protected Vec4
GlobeBrowserBalloon.OrderedGlobeBrowserBalloon. screenPlacePoint
The projection of this balloon'splacePoint
in the viewport (on the screen).protected Vec4
PointPlacemark.OrderedPlacemark. screenPoint
protected Vec4
PointPlacemark. screenPoint
protected Vec4
PointPlacemark.OrderedPlacemark. terrainPoint
protected Vec4
PointPlacemark. terrainPoint
protected Vec4[]
Polygon.BoundaryInfo. vertices
The shape's computed vertices, arranged in one array.Fields in gov.nasa.worldwind.render with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<java.util.List<Vec4>>
Polyline. currentSpans
Deprecated.Methods in gov.nasa.worldwind.render that return Vec4 Modifier and Type Method Description protected Vec4
AbstractSurfaceRenderable. computeDrawPoint(LatLon location, SurfaceTileDrawContext sdc)
protected Vec4
PointPlacemark. computeLabelPoint(DrawContext dc, PointPlacemark.OrderedPlacemark opm)
Computes the screen coordinate (lower-left origin) location of this placemark's label.protected Vec4
AbstractShape. computePoint(DrawContext dc, Terrain terrain, Position position)
Computes a model-coordinate point from a position, applying this shape's altitude mode, and usingCLAMP_TO_GROUND
if the current globe is 2D.protected Vec4
AbstractShape. computePoint(Terrain terrain, Position position)
Computes a model-coordinate point from a position, applying this shape's altitude mode.protected Vec4
Polyline. computePoint(DrawContext dc, Position pos, boolean applyOffset)
Deprecated.Vec4
DrawContext. computePointFromPosition(Position position, int altitudeMode)
Computes a Cartesian point from a specified geographic position, applying a specified altitude mode.Vec4
DrawContextImpl. computePointFromPosition(Position position, int altitudeMode)
protected Vec4
ExtrudedPolygon. computePolygonNormal(ExtrudedPolygon.ShapeData shapeData)
protected Vec4
Polygon. computePolygonNormal(DrawContext dc, Polygon.ShapeData shapeData)
protected Vec4
Path. computeReferenceCenter(DrawContext dc)
Computes this path's reference center.protected Vec4
AbstractGeneralShape. computeReferencePoint(Terrain terrain)
protected Vec4
Polygon. computeReferencePoint(Terrain terrain, Matrix rotationMatrix)
protected Vec4
RigidShape. computeReferencePoint(Globe globe, double verticalExaggeration)
Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.Vec4
RigidShape. computeReferencePoint(DrawContext dc)
Sets the shape's referencePoint, which is essentially its centerPosition in Cartesian coordinates.protected Vec4
TrackRenderer. computeSurfacePoint(DrawContext dc, TrackPoint tp)
Vec4
DrawContext. computeTerrainPoint(Angle lat, Angle lon, double offset)
Compute a model-coordinate point on the terrain.Vec4
DrawContextImpl. computeTerrainPoint(Angle lat, Angle lon, double offset)
protected Vec4
TrackRenderer. draw(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions)
protected Vec4
IconRenderer. drawIcon(DrawContext dc, IconRenderer.OrderedIcon uIcon)
protected Vec4
DeclutteringTextRenderer. drawText(DrawContext dc, DeclutterableText uText, double scale, double opacity)
protected Vec4
GeographicTextRenderer. drawText(DrawContext dc, GeographicTextRenderer.OrderedText uText, double scale, double opacity)
protected Vec4
BasicAnnotationRenderer. getAnnotationDrawPoint(DrawContext dc, Annotation annotation)
Get the final Vec4 point at which an annotation will be drawn.Vec4
GlobeAnnotation. getAnnotationDrawPoint(DrawContext dc)
Get the final Vec4 point at which an annotation will be drawn.protected Vec4
GlobeAnnotation. getAnnotationDrawPointLegacy(DrawContext dc)
Compute the draw point using the legacy altitude mode.Vec4
BasicLightingModel. getLightDirection()
Returns the model's light direction.Vec4
SurfaceIcon. getLocationOffset()
Get the icon displacement in pixels relative to the reference location.Vec4
AbstractGeneralShape. getModelScale()
Indicates this shape's scale, if any.Vec4
PointPlacemark.OrderedPlacemark. getPlacePoint()
Vec4
DeclutterableText. getPoint()
Vec4
IconRenderer.OrderedIcon. getPoint()
Vec4
DrawContext. getPointOnTerrain(Angle latitude, Angle longitude)
Computes a location's Cartesian point on the currently visible terrain.Vec4
DrawContextImpl. getPointOnTerrain(Angle latitude, Angle longitude)
Vec4
AbstractShape.AbstractShapeData. getReferencePoint()
Vec4
AbstractShape. getReferencePoint()
Returns the Cartesian coordinates of this shape's reference position as computed during the most recent rendering.Vec4
PointPlacemark.OrderedPlacemark. getScreenPoint()
Vec4
PointPlacemark.OrderedPlacemark. getTerrainPoint()
Vec4
UserFacingIcon. getToolTipOffset()
Vec4
WWIcon. getToolTipOffset()
Indicates the offset in screen coordinates at which to place the lower left corner of the icon tool tip's text box.Vec4
TrackRenderer. pick(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions, java.awt.Point pickPoint, Layer layer)
Vec4
TrackRenderer. render(DrawContext dc, java.util.Iterator<TrackPoint> trackPositions)
protected Vec4
FramebufferTexture. transformToQuadCoordinates(Matrix geoToCartesian, LatLon latLon)
Methods in gov.nasa.worldwind.render that return types with arguments of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>
Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)
Deprecated.protected java.util.ArrayList<Vec4>
Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)
Deprecated.protected java.util.ArrayList<Vec4>
Polyline. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)
Deprecated.Methods in gov.nasa.worldwind.render with parameters of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>
Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)
Deprecated.protected void
IconRenderer. addToolTip(DrawContext dc, WWIcon icon, Vec4 iconPoint)
protected void
IconRenderer. applyBackground(DrawContext dc, WWIcon icon, Vec4 screenPoint, double width, double height, double pedestalSpacing, double pedestalScale)
protected void
BasicLightingModel. applyStandardLightDirection(com.jogamp.opengl.GL2 gl, int light, Vec4 direction)
protected java.util.ArrayList<Vec4>
Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)
Deprecated.protected void
ExtrudedPolygon. computeBoundaryVertices(Terrain terrain, ExtrudedPolygon.ExtrudedBoundaryInfo boundary, Vec4 refPoint)
Compute and set the Cartesian vertices for one specified boundary of this shape.protected void
Polygon. computeBoundaryVertices(Terrain terrain, Polygon.BoundaryInfo boundary, Vec4 refPoint, Matrix rotationMatrix)
Compute the vertices associated with a specified boundary.protected double[]
GlobeAnnotation. computeDistanceScaleAndOpacity(DrawContext dc, Vec4 point, java.awt.Dimension size)
protected java.awt.geom.Point2D.Float
DeclutteringTextRenderer. computeDrawPoint(java.awt.geom.Rectangle2D rect, Vec4 screenPoint)
Computes the final draw point for the given rectangle lower left corner and target screen point.protected java.awt.geom.Point2D.Float
GeographicTextRenderer. computeDrawPoint(DrawContext dc, java.awt.geom.Rectangle2D rect, Vec4 screenPoint)
Computes the final draw point for the given rectangle lower left corner and target screen point.protected Extent
ExtrudedPolygon. computeExtent(ExtrudedPolygon.ExtrudedBoundaryInfo outerBoundary, Vec4 refPoint)
Computes this shapes extent.protected Extent
Polygon. computeExtent(Polygon.BoundaryInfo boundary, Vec4 refPoint)
Computes the Cartesian extent of a polygon boundary.protected void
IconRenderer. doRecordFeedback(DrawContext dc, WWIcon icon, Vec4 modelPoint, java.awt.Rectangle screenRect)
Records feedback about how the specified WWIcon has been processed.protected void
TrackRenderer.Cylinder. doRender(DrawContext dc, Vec4 point, double size)
protected abstract void
TrackRenderer.Shape. doRender(DrawContext dc, Vec4 point, double radius)
protected void
BasicAnnotationRenderer. drawOne(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)
protected java.nio.FloatBuffer
ExtrudedPolygon. fillSideNormalBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer nBuf)
protected void
ExtrudedPolygon. fillSideTexCoordBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer tBuf)
Computes the texture coordinates for a boundary of this shape.protected java.nio.FloatBuffer
ExtrudedPolygon. fillSideVertexBuffer(Vec4[] topVerts, Vec4[] bottomVerts, java.nio.FloatBuffer vBuf)
protected boolean
Path. isSegmentVisible(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)
Determines whether the segment between two path positions is visible.protected boolean
Polyline. isSegmentVisible(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)
Deprecated.protected boolean
Path. isSmall(DrawContext dc, Vec4 ptA, Vec4 ptB, int numPixels)
protected void
Path. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB, java.awt.Color colorA, java.awt.Color colorB, int ordinalA, int ordinalB, Path.PathData pathData)
Creates the interior segment positions to adhere to the current path type and terrain-following settings.protected java.util.ArrayList<Vec4>
Polyline. makeSegment(DrawContext dc, Position posA, Position posB, Vec4 ptA, Vec4 ptB)
Deprecated.void
AnnotationRenderer. pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, java.awt.Point pickPoint, Layer annotationLayer)
void
BasicAnnotationRenderer. pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, java.awt.Point pickPoint, Layer layer)
protected void
IconRenderer. recordFeedback(DrawContext dc, WWIcon icon, Vec4 modelPoint, java.awt.Rectangle screenRect)
If feedback is enabled for the specified WWIcon, this method records feedback about how the specified WWIcon has been processed.void
AnnotationRenderer. render(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)
void
BasicAnnotationRenderer. render(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Layer layer)
void
GeographicTextRenderer. render(DrawContext dc, GeographicText text, Vec4 textPoint)
protected void
TrackRenderer.Shape. render(DrawContext dc, Vec4 point, double radius)
protected void
DeclutteringTextRenderer. setDepthFunc(DrawContext dc, Vec4 screenPoint)
protected void
GeographicTextRenderer. setDepthFunc(DrawContext dc, GeographicTextRenderer.OrderedText uText, Vec4 screenPoint)
protected void
GlobeAnnotation. setDepthFunc(DrawContext dc, Vec4 screenPoint)
protected void
IconRenderer. setDepthFunc(DrawContext dc, IconRenderer.OrderedIcon uIcon, Vec4 screenPoint)
void
BasicLightingModel. setLightDirection(Vec4 lightDirection)
Specifies the model's light direction.void
SurfaceIcon. setLocationOffset(Vec4 locationOffset)
Set the icon displacement in pixels relative to the reference location.void
AbstractGeneralShape. setModelScale(Vec4 modelScale)
Specifies this shape's scale.void
AbstractShape.AbstractShapeData. setReferencePoint(Vec4 referencePoint)
void
UserFacingIcon. setToolTipOffset(Vec4 toolTipOffset)
void
WWIcon. setToolTipOffset(Vec4 toolTipOffset)
Indicates the offset in screen coordinates at which to place the lower left corner of the icon tool tip's text box.protected void
ExtrudedPolygon. tessellatePolygon(ExtrudedPolygon.ShapeData shapeData, Vec4 normal)
Tessellates the polygon from its vertices.protected void
Polygon. tessellatePolygon(Polygon.ShapeData shapeData, Vec4 normal)
Tessellates the polygon from its vertices.Method parameters in gov.nasa.worldwind.render with type arguments of type Vec4 Modifier and Type Method Description protected java.util.ArrayList<Vec4>
Polyline. addPointToSpan(Vec4 p, java.util.ArrayList<Vec4> span)
Deprecated.protected void
Polyline. addSpan(java.util.ArrayList<Vec4> span)
Deprecated.protected java.util.ArrayList<Vec4>
Polyline. clipAndAdd(DrawContext dc, Vec4 ptA, Vec4 ptB, java.util.ArrayList<Vec4> span)
Deprecated.Constructors in gov.nasa.worldwind.render with parameters of type Vec4 Constructor Description OrderedIcon(WWIcon icon, Vec4 point, Layer layer, double eyeDistance, double horizonDistance)
OrderedText(java.lang.String text, java.awt.Font font, Vec4 point, java.awt.Color color, double eyeDistance)
OrderedText(java.lang.String text, java.awt.Font font, Vec4 point, java.awt.Point pickPoint, Layer layer, double eyeDistance)
-
Uses of Vec4 in gov.nasa.worldwind.render.airspaces
Fields in gov.nasa.worldwind.render.airspaces with type parameters of type Vec4 Modifier and Type Field Description protected java.util.List<Vec4>
AbstractAirspace.AirspaceInfo. minimalGeometry
Methods in gov.nasa.worldwind.render.airspaces that return Vec4 Modifier and Type Method Description Vec4
AbstractAirspace. computePointFromPosition(DrawContext dc, Angle latitude, Angle longitude, double elevation, boolean terrainConformant)
protected Vec4
Box. computeReferenceCenter(DrawContext dc)
protected Vec4
CappedCylinder. computeReferenceCenter(DrawContext dc)
protected Vec4
CappedEllipticalCylinder. computeReferenceCenter(DrawContext dc)
protected Vec4
Curtain. computeReferenceCenter(DrawContext dc)
protected Vec4
Orbit. computeReferenceCenter(DrawContext dc)
protected Vec4
Polygon. computeReferenceCenter(DrawContext dc)
Methods in gov.nasa.worldwind.render.airspaces that return types with arguments of type Vec4 Modifier and Type Method Description protected abstract java.util.List<Vec4>
AbstractAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
AbstractAirspace. computeMinimalGeometry(DrawContext dc)
protected java.util.List<Vec4>
Box. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
Cake. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
CappedCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
CappedEllipticalCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
Curtain. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
Orbit. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
PartialCappedCylinder. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
PolyArc. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
Polygon. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
SphereAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)
protected java.util.List<Vec4>
TrackAirspace. computeMinimalGeometry(Globe globe, double verticalExaggeration)
Methods in gov.nasa.worldwind.render.airspaces with parameters of type Vec4 Modifier and Type Method Description protected int
Polygon. computeEllipsoidalPolygon(Globe globe, java.util.List<? extends LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags, Vec4[] points, java.lang.Boolean[] edgeFlagArray, Matrix[] transform)
protected void
Curtain. drawCurtainFill(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected void
Curtain. drawCurtainOutline(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected Curtain.CurtainGeometry
Curtain. getCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected void
Curtain. makeCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter, Curtain.CurtainGeometry dest)
protected void
Curtain. makeSectionVertices(DrawContext dc, LatLon begin, LatLon end, java.lang.String pathType, double[] altitude, boolean[] terrainConformant, int pillars, int vertexPos, float[] dest, Vec4 referenceCenter)
Method parameters in gov.nasa.worldwind.render.airspaces with type arguments of type Vec4 Modifier and Type Method Description protected void
AbstractAirspace. makeExtremePoints(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends LatLon> locations, java.util.List<Vec4> extremePoints)
Constructor parameters in gov.nasa.worldwind.render.airspaces with type arguments of type Vec4 Constructor Description AirspaceInfo(DrawContext dc, Extent extent, java.util.List<Vec4> minimalGeometry)
-
Uses of Vec4 in gov.nasa.worldwind.render.airspaces.editor
Methods in gov.nasa.worldwind.render.airspaces.editor that return Vec4 Modifier and Type Method Description static Vec4
AirspaceEditorUtil. computeSurfacePoint(WorldWindow wwd, Angle latitude, Angle longitude)
protected Vec4
SphereAirspaceEditor. getCenterPoint(WorldWindow wwd, Airspace airspace)
Vec4
BasicAirspaceControlPointRenderer. getLightDirection()
Vec4
AirspaceControlPoint. getPoint()
Vec4
BasicAirspaceControlPoint. getPoint()
static Vec4
AirspaceEditorUtil. intersectAirspaceAltitudeAt(WorldWindow wwd, Airspace airspace, int altitudeIndex, Line ray)
static Vec4
AirspaceEditorUtil. intersectGlobeAt(WorldWindow wwd, double elevation, Line ray)
static Vec4
AirspaceEditorUtil. nearestIntersectionPoint(Line line, Intersection[] intersections)
static Vec4
AirspaceEditorUtil. nearestPointOnLine(Line source, Line target)
static Vec4
AirspaceEditorUtil. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)
Methods in gov.nasa.worldwind.render.airspaces.editor with parameters of type Vec4 Modifier and Type Method Description static double
AirspaceEditorUtil. computeHeightAboveSurface(WorldWindow wwd, Vec4 point)
protected double
BasicAirspaceControlPointRenderer. computeMarkerRadius(DrawContext dc, Marker marker, Vec4 point)
static boolean
AirspaceEditorUtil. isPointBehindLineOrigin(Line line, Vec4 point)
static Vec4
AirspaceEditorUtil. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)
void
BasicAirspaceControlPointRenderer. setLightDirection(Vec4 direction)
Constructors in gov.nasa.worldwind.render.airspaces.editor with parameters of type Vec4 Constructor Description BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, int locationIndex, int altitudeIndex, Vec4 point)
BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, Vec4 point)
EdgeInfo(int locationIndex, int nextLocationIndex, int altitudeIndex, Vec4 point1, Vec4 point2)
-
Uses of Vec4 in gov.nasa.worldwind.render.markers
Fields in gov.nasa.worldwind.render.markers declared as Vec4 Modifier and Type Field Description protected Vec4
MarkerRenderer.OrderedMarker. point
Methods in gov.nasa.worldwind.render.markers that return Vec4 Modifier and Type Method Description protected Vec4
BasicMarkerShape.Shape. computeOrientationVector(DrawContext dc, Vec4 point, Vec4 normal, Angle heading, Angle pitch)
Compute a direction vector given a point, heading and pitch.protected Vec4
MarkerRenderer. computeSurfacePoint(DrawContext dc, Position pos)
Methods in gov.nasa.worldwind.render.markers with parameters of type Vec4 Modifier and Type Method Description protected double
MarkerRenderer. computeMarkerRadius(DrawContext dc, Vec4 point, Marker marker)
protected Vec4
BasicMarkerShape.Shape. computeOrientationVector(DrawContext dc, Vec4 point, Vec4 normal, Angle heading, Angle pitch)
Compute a direction vector given a point, heading and pitch.protected void
BasicMarkerShape.Cone. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
protected void
BasicMarkerShape.Cube. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
protected void
BasicMarkerShape.Cylinder. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
protected void
BasicMarkerShape.HeadingArrow. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
protected void
BasicMarkerShape.HeadingLine. doRender(DrawContext dc, Marker marker, Vec4 point, double size, int[] dlResource)
protected abstract void
BasicMarkerShape.Shape. doRender(DrawContext dc, Marker marker, Vec4 point, double radius, int[] dlResource)
protected void
BasicMarkerShape.Sphere. doRender(DrawContext dc, Marker marker, Vec4 point, double radius, int[] dlResource)
protected boolean
MarkerRenderer. intersectsFrustum(DrawContext dc, Vec4 point, double radius)
void
BasicMarker. render(DrawContext dc, Vec4 point, double radius)
void
BasicMarker. render(DrawContext dc, Vec4 point, double radius, boolean isRelative)
void
BasicMarkerShape.CompoundShape. render(DrawContext dc, Marker marker, Vec4 point, double radius)
void
BasicMarkerShape.CompoundShape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)
void
BasicMarkerShape.Shape. render(DrawContext dc, Marker marker, Vec4 point, double radius)
void
BasicMarkerShape.Shape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)
void
Marker. render(DrawContext dc, Vec4 point, double radius)
void
Marker. render(DrawContext dc, Vec4 point, double radius, boolean isRelative)
void
MarkerShape. render(DrawContext dc, Marker marker, Vec4 point, double radius)
void
MarkerShape. render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)
Constructors in gov.nasa.worldwind.render.markers with parameters of type Vec4 Constructor Description OrderedMarker(int index, Marker marker, Vec4 point, double radius, Layer layer, double eyeDistance)
-
Uses of Vec4 in gov.nasa.worldwind.symbology
Fields in gov.nasa.worldwind.symbology declared as Vec4 Modifier and Type Field Description Vec4
AbstractTacticalSymbol.OrderedSymbol. placePoint
Per-frame Cartesian point corresponding to this symbol's position.protected Vec4
TacticalGraphicLabel.OrderedLabel. placePoint
Geographic position in cartesian coordinates.protected Vec4
TacticalGraphicLabel.OrderedLabel. screenPlacePoint
Location of the place point projected onto the screen.Vec4
AbstractTacticalSymbol.OrderedSymbol. screenPoint
Per-frame screen point corresponding to the projection of the placePoint in the viewport (on the screen).Methods in gov.nasa.worldwind.symbology that return Vec4 Modifier and Type Method Description static Vec4
TacticalGraphicUtil. bezierCurve(Vec4[] controlPoints, double t, int[] coefficients)
Compute a point along a Bezier curve defined by a list of control points.Methods in gov.nasa.worldwind.symbology with parameters of type Vec4 Modifier and Type Method Description static java.util.List<Position>
TacticalGraphicUtil. asPositionList(Globe globe, Vec4... points)
Convert a list of cartesian points to Positions.static Vec4
TacticalGraphicUtil. bezierCurve(Vec4[] controlPoints, double t, int[] coefficients)
Compute a point along a Bezier curve defined by a list of control points.protected Angle
TacticalGraphicLabel. computeRotation(Vec4 screenPoint, Vec4 orientationScreenPoint)
Compute the amount of rotation to apply to a label in order to keep it oriented toward its orientation position. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525
Methods in gov.nasa.worldwind.symbology.milstd2525 that return Vec4 Modifier and Type Method Description protected static Vec4
MilStd2525Util. computeDirectionOfMovement(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)
Compute a vector in the direction that a symbol is moving.Methods in gov.nasa.worldwind.symbology.milstd2525 with parameters of type Vec4 Modifier and Type Method Description static java.util.List<? extends java.awt.geom.Point2D>
MilStd2525Util. computeCenterHeadingIndicatorPoints(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)
Compute screen points required to draw a leader line on a tactical symbol.protected static Vec4
MilStd2525Util. computeDirectionOfMovement(DrawContext dc, Vec4 symbolPoint, Angle heading, double length)
Compute a vector in the direction that a symbol is moving.static java.util.List<? extends java.awt.geom.Point2D>
MilStd2525Util. computeGroundHeadingIndicatorPoints(DrawContext dc, Vec4 symbolPoint, Angle heading, double length, double frameHeight)
Compute screen points required to draw a leader line on a tactical ground symbol. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525.graphics
Methods in gov.nasa.worldwind.symbology.milstd2525.graphics with parameters of type Vec4 Modifier and Type Method Description protected Angle
EchelonSymbol. computeRotation(Vec4 screenPoint, Vec4 orientationScreenPoint)
Compute the amount of rotation to apply to a label in order to keep it oriented toward its orientation position. -
Uses of Vec4 in gov.nasa.worldwind.symbology.milstd2525.graphics.lines
Methods in gov.nasa.worldwind.symbology.milstd2525.graphics.lines that return Vec4 Modifier and Type Method Description protected Vec4
InfiltrationLane. bezierNearestPointToSegment(Vec4 p0, Vec4 p1, Vec4[] controlPoints, int[] coefficients, double tolerance)
Determine the point along a Bezier curve that is closest to a line segment.protected Vec4[]
DirectionOfAttackForFeint. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, double curvature)
Compute the position of control points that will generate a Bezier curve that looks like the Direction of Attack for Feint graphic in MIL-STD-2525C (pg.protected Vec4[]
InfiltrationLane. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, int numControlPoints, double curvature)
Compute the position of control points that will generate a Bezier curve that looks like the Infiltration Lane graphic in MIL-STD-2525C (pg.protected Vec4
DirectionOfAttackAviation. hermiteCurve(Vec4 pt1, Vec4 pt2, Vec4 tangent1, Vec4 tangent2, double t)
Compute a point along a Hermite curve defined by two control point and tangent vectors at those points.Methods in gov.nasa.worldwind.symbology.milstd2525.graphics.lines with parameters of type Vec4 Modifier and Type Method Description protected Vec4
InfiltrationLane. bezierNearestPointToSegment(Vec4 p0, Vec4 p1, Vec4[] controlPoints, int[] coefficients, double tolerance)
Determine the point along a Bezier curve that is closest to a line segment.protected java.util.List<Position>
DirectionOfAttack. computeArrowheadPositions(DrawContext dc, Vec4 tip, Vec4 dir, double length)
Determine the positions that make up the arrowhead.protected Vec4[]
DirectionOfAttackForFeint. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, double curvature)
Compute the position of control points that will generate a Bezier curve that looks like the Direction of Attack for Feint graphic in MIL-STD-2525C (pg.protected Vec4[]
InfiltrationLane. computeBezierControlPoints(DrawContext dc, Vec4 start, Vec4 end, int numControlPoints, double curvature)
Compute the position of control points that will generate a Bezier curve that looks like the Infiltration Lane graphic in MIL-STD-2525C (pg.protected void
HoldingLine. computeRoundCorner(Globe globe, java.util.List<Position> positions, Vec4 ptLeg1, Vec4 ptVertex, Vec4 ptLeg2, double distance, int intervals)
Compute positions to draw a rounded corner between three points.protected java.util.List<Position>
LinearTarget. computeVerticalSegmentPositions(Globe globe, Vec4 basePoint, Vec4 segment, double verticalLength)
Compute positions for one of the vertical segments in the graphic.protected void
LineOfContact. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double halfWidth, Globe globe)
Compute points on either side of a line segment.protected Vec4
DirectionOfAttackAviation. hermiteCurve(Vec4 pt1, Vec4 pt2, Vec4 tangent1, Vec4 tangent2, double t)
Compute a point along a Hermite curve defined by two control point and tangent vectors at those points. -
Uses of Vec4 in gov.nasa.worldwind.terrain
Fields in gov.nasa.worldwind.terrain declared as Vec4 Modifier and Type Field Description protected Vec4
HighResolutionTerrain.RenderInfo. referenceCenter
protected Vec4
RectangularTessellator.RenderInfo. referenceCenter
Methods in gov.nasa.worldwind.terrain that return Vec4 Modifier and Type Method Description protected Vec4
HighResolutionTerrain. applyOffset(Vec4 point, double metersOffset)
Applies a specified vertical offset to a surface point.protected static Vec4
RectangularTessellator. applyOffset(Globe globe, Vec4 point, double metersOffset)
Offsetspoint
bymetersOffset
meters.Vec4
RectangularTessellator.RenderInfo. getReferenceCenter()
Vec4
HighResolutionTerrain. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
Computes the Cartesian, model-coordinate point of a location on the terrain.Vec4
HighResolutionTerrain. getSurfacePoint(Position position)
Computes the Cartesian, model-coordinate point of a position on the terrain.protected Vec4
HighResolutionTerrain. getSurfacePoint(HighResolutionTerrain.RectTile tile, Angle latitude, Angle longitude)
Computes the Cartesian, model-coordinate point of a location within a terrain tile.protected Vec4
HighResolutionTerrain. getSurfacePoint(HighResolutionTerrain.RectTile tile, Angle latitude, Angle longitude, double metersOffset)
Computes the Cartesian, model-coordinate point of a location within a terrain tile.protected Vec4
RectangularTessellator. getSurfacePoint(RectangularTessellator.RectTile tile, Angle latitude, Angle longitude)
protected Vec4
RectangularTessellator. getSurfacePoint(RectangularTessellator.RectTile tile, Angle latitude, Angle longitude, double metersOffset)
Vec4
RectangularTessellator.RectTile. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
Vec4
SectorGeometry. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
Computes the Cartesian coordinates of a location on the geometry's surface.Vec4
SectorGeometryList. getSurfacePoint(Angle latitude, Angle longitude)
Computes a Cartesian point at a specified location on the terrain.Vec4
SectorGeometryList. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.Vec4
SectorGeometryList. getSurfacePoint(LatLon latLon)
Computes a Cartesian point at a specified location on the terrain.Vec4
SectorGeometryList. getSurfacePoint(Position position)
Computes a Cartesian point at a specified latitude, longitude and altitude above the terrain.Vec4
Terrain. getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
Computes the Cartesian, model-coordinate point of a location on the terrain.Vec4
Terrain. getSurfacePoint(Position position)
Computes the Cartesian, model-coordinate point of a position on the terrain.protected static Vec4
HighResolutionTerrain. interpolate(int row, int column, double xDec, double yDec, HighResolutionTerrain.RenderInfo ri)
protected static Vec4
HighResolutionTerrain. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)
protected static Vec4
RectangularTessellator. interpolate(int row, int column, double xDec, double yDec, RectangularTessellator.RenderInfo ri)
Calculates aPoint
that sits atxDec
offset fromcolumn
tocolumn + 1
and atyDec
offset fromrow
torow + 1
.protected static Vec4
RectangularTessellator. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)
Calculates the point at (xDec, yDec) in the two triangles defined by {bL, bR, tL} and {bR, tR, tL}.Methods in gov.nasa.worldwind.terrain with parameters of type Vec4 Modifier and Type Method Description protected Vec4
HighResolutionTerrain. applyOffset(Vec4 point, double metersOffset)
Applies a specified vertical offset to a surface point.protected static Vec4
RectangularTessellator. applyOffset(Globe globe, Vec4 point, double metersOffset)
Offsetspoint
bymetersOffset
meters.protected static double[]
RectangularTessellator. baryCentricCoordsRequireInside(Vec4 pnt, Vec4[] V)
protected static double
RectangularTessellator. distanceFromLine(Vec4 pnt, Vec4 P, Vec4 u)
protected static Vec4
HighResolutionTerrain. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)
protected static Vec4
RectangularTessellator. interpolate(Vec4 bL, Vec4 bR, Vec4 tR, Vec4 tL, double xDec, double yDec)
Calculates the point at (xDec, yDec) in the two triangles defined by {bL, bR, tL} and {bR, tR, tL}.protected java.util.List<Vec4[]>
HighResolutionTerrain. intersect(HighResolutionTerrain.RectTile tile, Vec4[] triangle)
Computes the intersection of a triangle with a terrain tile.void
HighResolutionTerrain. intersectTriangle(Vec4[] triangleCoordinates, Position[] trianglePositions, java.util.List<Position[]> intersectPositionsOut)
Intersects a specified triangle with the terrain.Constructors in gov.nasa.worldwind.terrain with parameters of type Vec4 Constructor Description RenderInfo(int density, float[] vertices, Vec4 refCenter, Position minElev, Position maxElev)
RenderInfo(DrawContext dc, int density, java.nio.FloatBuffer vertices, Vec4 refCenter)
-
Uses of Vec4 in gov.nasa.worldwind.util
Fields in gov.nasa.worldwind.util declared as Vec4 Modifier and Type Field Description protected static Vec4
OGLUtil. DEFAULT_LIGHT_DIRECTION
protected Vec4
BasicDragger. dragRefObjectPoint
Methods in gov.nasa.worldwind.util that return Vec4 Modifier and Type Method Description static Vec4
WWMath. computeArrayNormal(Vec4[] coords)
Computes a unit-length normal vector for an array of coordinates.static Vec4
WWMath. computeBufferNormal(java.nio.FloatBuffer coords, int stride)
Computes a unit-length normal vector for a buffer of coordinate triples.protected Vec4
ShapeEditor. computeControlPointDelta(LatLon previousLocation, LatLon currentLocation)
Computes the Cartesian difference between two control points.static Vec4[]
WWMath. computePrincipalAxes(BufferWrapper coordinates, int stride)
Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified buffer of points, sorted from the most prominent axis to the least prominent.static Vec4[]
WWMath. computePrincipalAxes(java.lang.Iterable<? extends Vec4> points)
Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified points Iterable, sorted from the most prominent axis to the least prominent.static Vec4
WWMath. computeTriangleNormal(Vec4 a, Vec4 b, Vec4 c)
Returns the normal vector corresponding to the triangle defined by three vertices (a, b, c).static Vec4[]
WWMath. findThreeIndependentVertices(Vec4[] coords)
Finds three non-colinear points in an array of points.static Vec4[]
WWMath. findThreeIndependentVertices(java.nio.FloatBuffer coords, int stride)
Finds three non-colinear points in a buffer.static Vec4
WWMath. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double distance, double elevation, Globe globe, Vec4 previousOffset)
Compute points on either side of a line segment.Vec4
VecBuffer.VectorAccessor. getElement(int position)
Vec4
VecBuffer. getVector(int position)
Returns the vector element at the specified position, as aVec4
.static Vec4
RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)
Compute the intersectionVec4
point of the globe terrain with a line segment defined between two points.static Vec4
RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2, double sampleLength, double precision)
Compute the intersectionVec4
point of the globe terrain with the a segment defined between two points.protected Vec4
ShapeEditor. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)
Computes the point on a specified line segment that is nearest a specified point.Methods in gov.nasa.worldwind.util that return types with arguments of type Vec4 Modifier and Type Method Description java.lang.Iterable<? extends Vec4>
CompoundVecBuffer. getReverseVectors()
Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<Vec4>
VecBuffer. getReverseVectors()
Returns a reverse iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<? extends Vec4>
CompoundVecBuffer. getVectors()
Returns an iterator over this buffer's logical vectors, as Vec4 references.java.lang.Iterable<Vec4>
VecBuffer. getVectors()
Returns an iterator over this buffer's logical vectors, as Vec4 references.java.util.Iterator<Vec4>
CompoundVecBuffer.VectorIterable. iterator(int index)
java.util.Iterator<Vec4>
CompoundVecBuffer.VectorIterable. reverseIterator(int index)
Methods in gov.nasa.worldwind.util with parameters of type Vec4 Modifier and Type Method Description static void
OGLUtil. applyLightingDirectionalFromViewer(com.jogamp.opengl.GL2 gl, int light, Vec4 direction)
Sets the GL lighting state to a white light originating from the eye position and pointed in the specified direction, in model coordinates.void
GLUTessellatorSupport. beginTessellation(com.jogamp.opengl.glu.GLUtessellatorCallback callback, Vec4 normal)
Prepares this GLUTessellatorSupport's internal GLU tessellator for use.static Vec4
WWMath. computeArrayNormal(Vec4[] coords)
Computes a unit-length normal vector for an array of coordinates.static boolean
WWMath. computeCircleThroughPoints(Vec4 p0, Vec4 p1, Vec4 p2, Vec4[] centerOut, Vec4[] axisOut, double[] radiusOut)
Computes the center, axis, and radius of the circle that circumscribes the specified points.float
GeometryBuilder. computePolygonArea2(int pos, int count, Vec4[] points)
int
GeometryBuilder. computePolygonWindingOrder2(int pos, int count, Vec4[] points)
static double
WWMath. computeSphereProjectedArea(View view, Vec4 center, double radius)
Computes the area in square pixels of a sphere after it is projected into the specifiedview's
viewport.static Vec4
WWMath. computeTriangleNormal(Vec4 a, Vec4 b, Vec4 c)
Returns the normal vector corresponding to the triangle defined by three vertices (a, b, c).boolean
PickPointFrustumList. containsInAll(Vec4 point)
Returns true if the specified point is inside the space enclosed by ALL of the frustumsboolean
PickPointFrustumList. containsInAny(Vec4 point)
Returns true if the specified point is inside the space enclosed by ANY of the frustumsstatic java.nio.FloatBuffer
WWBufferUtil. copyArrayToBuffer(Vec4[] array, java.nio.FloatBuffer buffer)
Copies a specified array of vertices to a specified vertex buffer.protected void
PlacemarkClutterFilter.DeclutteredLabel. drawDeclutterLabel(DrawContext dc, java.awt.Font font, Vec4 textPoint, java.lang.String labelText)
protected void
PlacemarkClutterFilter.DeclutteredLabel. drawDeclutterLine(DrawContext dc, Vec4 startPoint, Vec4 endPoint)
static Vec4[]
WWMath. findThreeIndependentVertices(Vec4[] coords)
Finds three non-colinear points in an array of points.static Vec4
WWMath. generateParallelPoints(Vec4 point, Vec4 prev, Vec4 next, java.util.List<Position> leftPositions, java.util.List<Position> rightPositions, double distance, double elevation, Globe globe, Vec4 previousOffset)
Compute points on either side of a line segment.static Position
RayCastingSupport. intersectRayWithTerrain(Globe globe, Vec4 origin, Vec4 direction)
Compute the intersectionPosition
of the globe terrain with the ray starting at origin in the given direction.static Position
RayCastingSupport. intersectRayWithTerrain(Globe globe, Vec4 origin, Vec4 direction, double sampleLength, double precision)
Compute the intersectionPosition
of the globe terrain with the ray starting at origin in the given direction.boolean
PickPointFrustumList. intersectsAny(Vec4 pa, Vec4 pb)
Returns true if a specified line segment intersects the space enclosed by ANY of the Frustums.static Vec4
RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)
Compute the intersectionVec4
point of the globe terrain with a line segment defined between two points.static Vec4
RayCastingSupport. intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2, double sampleLength, double precision)
Compute the intersectionVec4
point of the globe terrain with the a segment defined between two points.void
GeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double minorRadius, double majorRadius, Angle heading, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double[] radii, Angle heading, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeLongCylinderVertices(Terrain terrain, LatLon center1, LatLon center2, double radius, double[] altitudes, boolean[] terrainConformant, int arcSlices, int lengthSlices, int stacks, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeLongDiskVertices(Terrain terrain, LatLon center1, LatLon center2, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int arcSlices, int lengthSlices, int loops, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makePartialCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, double start, double sweep, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makePartialDiskVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int slices, int loops, double start, double sweep, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeRadialWallVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double angle, double[] altitudes, boolean[] terrainConformant, int pillars, int stacks, Vec4 refPoint, float[] dest)
protected Vec4
ShapeEditor. nearestPointOnSegment(Vec4 p1, Vec4 p2, Vec4 point)
Computes the point on a specified line segment that is nearest a specified point.void
VecBuffer. putVector(int position, Vec4 vec)
Sets the vector element at the specified position, as a Vec4.GeometryBuilder.IndexedTriangleArray
GeometryBuilder. tessellatePolygon(int pos, int count, float[] vertices, Vec4 normal)
Method parameters in gov.nasa.worldwind.util with type arguments of type Vec4 Modifier and Type Method Description static double
WWMath. computePolygonAreaFromVertices(java.lang.Iterable<? extends Vec4> points)
Returns the area enclosed by the specified (x, y) points (the z and w coordinates are ignored).static Vec4[]
WWMath. computePrincipalAxes(java.lang.Iterable<? extends Vec4> points)
Returns an array of normalized vectors defining the three principal axes of the x-, y-, and z-coordinates from the specified points Iterable, sorted from the most prominent axis to the least prominent.static java.lang.String
WWMath. computeWindingOrderOfVertices(java.lang.Iterable<? extends Vec4> points)
Returns the winding order of the 2D polygon described by the specified (x, y) points (z and w coordinates are ignored), with respect to the positive z axis.static boolean
WWMath. isPolygonClosed2(java.lang.Iterable<? extends Vec4> points)
Returns whether the 2D polygon described by the specified (x, y) points defines a closed loop (z and w coordinates are ignored).void
VecBuffer. putVectors(int position, java.lang.Iterable<? extends Vec4> iterable)
Sets a subsequence of this buffer with the contents of the specified Iterable. -
Uses of Vec4 in gov.nasa.worldwind.view
Fields in gov.nasa.worldwind.view declared as Vec4 Modifier and Type Field Description protected Vec4
BasicView. lastEyePoint
protected Vec4
BasicView. lastForwardVector
protected Vec4
BasicView. lastUpVector
Methods in gov.nasa.worldwind.view that return Vec4 Modifier and Type Method Description Vec4
BasicView. getCenterPoint()
Vec4
BasicView. getCurrentEyePoint()
Vec4
BasicView. getCurrentForwardVector()
Returns the most up-to-date forward vector.Vec4
BasicView. getEyePoint()
Vec4
BasicView. getForwardVector()
Vec4
BasicView. getUpVector()
static Vec4
ViewUtil. getUpVector(Globe globe, Vec4 lookAtPoint)
Vec4
BasicView. project(Vec4 modelPoint)
Vec4
BasicView. 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 Vec4
ViewUtil. project(Vec4 modelPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
Transforms a point in model coordinates to a point in screen coordinates.Vec4
BasicView. unProject(Vec4 windowPoint)
Vec4
BasicView. 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 Vec4
ViewUtil. unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
Transforms a point in screen coordinates to a point in model coordinates.Methods in gov.nasa.worldwind.view with parameters of type Vec4 Modifier and Type Method Description static ViewUtil.ViewState
ViewUtil. computeModelCoordinates(Globe globe, Matrix modelTransform, Vec4 centerPoint, Vec4 eyePoint)
static Matrix
ViewUtil. computeModelViewMatrix(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
static ViewUtil.ViewState
ViewUtil. computeViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
static Vec4
ViewUtil. getUpVector(Globe globe, Vec4 lookAtPoint)
Vec4
BasicView. project(Vec4 modelPoint)
Vec4
BasicView. 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 Vec4
ViewUtil. project(Vec4 modelPoint, Matrix modelview, Matrix projection, java.awt.Rectangle viewport)
Transforms a point in model coordinates to a point in screen coordinates.Matrix
BasicView. pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)
Matrix
BasicView. setReferenceCenter(DrawContext dc, Vec4 referenceCenter)
Vec4
BasicView. unProject(Vec4 windowPoint)
Vec4
BasicView. 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 Vec4
ViewUtil. 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 Vec4 in gov.nasa.worldwind.view.orbit
Fields in gov.nasa.worldwind.view.orbit declared as Vec4 Modifier and Type Field Description protected Vec4
OrbitViewEyePointAnimator. eyePoint
Methods in gov.nasa.worldwind.view.orbit that return Vec4 Modifier and Type Method Description Vec4
BasicOrbitView. getCenterPoint()
Vec4
BasicOrbitView. getCurrentEyePoint()
Methods in gov.nasa.worldwind.view.orbit with parameters of type Vec4 Modifier and Type Method Description protected double
FlatOrbitView. computeHorizonDistance(Vec4 eyePoint)
Deprecated.static OrbitViewInputSupport.OrbitViewState
OrbitViewInputSupport. computeOrbitViewState(Globe globe, Matrix modelTransform, Vec4 centerPoint)
static OrbitViewInputSupport.OrbitViewState
OrbitViewInputSupport. computeOrbitViewState(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
void
OrbitViewEyePointAnimator. setEyePoint(Vec4 eyePoint)
static void
OrbitViewEyePointAnimator. setEyePoint(Globe globe, BasicOrbitView view, Vec4 newEyePoint)
protected void
OrbitViewInputHandler. setEyePoint(Vec4 eyePoint, ViewInputAttributes.ActionAttributes attrib)
Constructors in gov.nasa.worldwind.view.orbit with parameters of type Vec4 Constructor Description OrbitViewEyePointAnimator(Globe globe, BasicOrbitView view, Vec4 eyePoint, double smoothing)
-
Uses of Vec4 in gov.nasa.worldwindx.applications.antenna
Methods in gov.nasa.worldwindx.applications.antenna that return Vec4 Modifier and Type Method Description protected Vec4
AntennaModel. getVec(AntennaModel.ShapeData shapeData, int i, int j)
Methods in gov.nasa.worldwindx.applications.antenna with parameters of type Vec4 Modifier and Type Method Description protected void
AntennaAxes. drawLabel(TextRenderer textRenderer, java.lang.String text, Vec4 screenPoint, java.awt.Color textColor, java.awt.Color bgColor)
protected void
AntennaModel. putVec(int i, int j, Vec4 vec, java.nio.FloatBuffer buffer)
-
Uses of Vec4 in gov.nasa.worldwindx.applications.sar
Methods in gov.nasa.worldwindx.applications.sar with parameters of type Vec4 Modifier and Type Method Description double
SARSegmentPlane. getObjectSize(java.lang.String key, Vec4 point)
-
Uses of Vec4 in gov.nasa.worldwindx.applications.sar.render
Methods in gov.nasa.worldwindx.applications.sar.render that return Vec4 Modifier and Type Method Description protected Vec4
TrackSegmentInfo. getScreenPoint(DrawContext dc, Position position)
-
Uses of Vec4 in gov.nasa.worldwindx.applications.sar.segmentplane
Fields in gov.nasa.worldwindx.applications.sar.segmentplane declared as Vec4 Modifier and Type Field Description protected Vec4
SegmentPlaneRenderer.RenderInfo. planeReferenceCenter
Methods in gov.nasa.worldwindx.applications.sar.segmentplane that return Vec4 Modifier and Type Method Description protected Vec4
SegmentPlaneRenderer. computeNearestGridLineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)
protected Vec4
SegmentPlaneRenderer. computeNearestLineToPoint(Vec4 point, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)
protected Vec4
SegmentPlaneRenderer. computeNearestOutlineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)
Vec4
SegmentPlaneAttributes.GeometryAttributes. getOffset()
Vec4
SegmentPlaneAttributes.LabelAttributes. getOffset()
Vec4
SegmentPlaneRenderer.OrderedText. getScreenPoint(DrawContext dc)
protected Vec4
SegmentPlaneRenderer.OrderedText. getScreenPoint(DrawContext dc, Position position)
protected static Vec4
SegmentPlaneRenderer. getVertex3(int position, java.nio.DoubleBuffer vertices)
Vec4
SegmentPlaneRenderer. intersect(Globe globe, Line ray, SegmentPlane segmentPlane)
protected Vec4
SegmentPlaneRenderer. intersectRayWithFill(Line ray, SegmentPlaneRenderer.RenderInfo renderInfo)
protected Vec4
SegmentPlaneRenderer. intersectRayWithTriangleStrip(Line ray, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)
Methods in gov.nasa.worldwindx.applications.sar.segmentplane with parameters of type Vec4 Modifier and Type Method Description protected Vec4
SegmentPlaneRenderer. computeNearestGridLineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)
protected Vec4
SegmentPlaneRenderer. computeNearestLineToPoint(Vec4 point, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)
protected Vec4
SegmentPlaneRenderer. computeNearestOutlineToPoint(Vec4 point, SegmentPlaneRenderer.RenderInfo renderInfo)
double
SegmentPlaneRenderer. computeObjectSize(View view, Globe globe, SegmentPlane segmentPlane, java.lang.Object key, Vec4 point)
protected double
SegmentPlaneRenderer. computeObjectSize(View view, Globe globe, SegmentPlane segmentPlane, java.lang.Object key, Vec4 point, boolean usePickSize)
protected void
SegmentPlaneRenderer. computePlaneVertices(Globe globe, SegmentPlane segmentPlane, int uStacks, int vStacks, double uStep, double vStep, Vec4 referenceCenter, java.nio.DoubleBuffer buffer)
protected double
SegmentPlaneRenderer. computeSizeForPixels(View view, Vec4 point, double pixels, double minSize, double maxSize)
protected void
SegmentPlaneRenderer.OrderedText. drawText(java.lang.String text, Vec4 screenPoint, SegmentPlaneAttributes.LabelAttributes attributes, MultiLineTextRenderer mltr)
protected Vec4
SegmentPlaneRenderer. intersectRayWithTriangleStrip(Line ray, int count, java.nio.IntBuffer indices, java.nio.DoubleBuffer vertices, Vec4 referenceCenter)
protected static void
SegmentPlaneRenderer. putVertex3(Vec4 vec, int position, java.nio.DoubleBuffer vertices)
void
SegmentPlaneAttributes.GeometryAttributes. setOffset(Vec4 vec4)
void
SegmentPlaneAttributes.LabelAttributes. setOffset(Vec4 vec4)
-
Uses of Vec4 in gov.nasa.worldwindx.applications.worldwindow.util.measuretool
Methods in gov.nasa.worldwindx.applications.worldwindow.util.measuretool that return Vec4 Modifier and Type Method Description protected Vec4
WWOMeasureDisplay. computeAnnotationPosition(Position pos, WWOMeasureTool mt)
-
Uses of Vec4 in gov.nasa.worldwindx.examples
Fields in gov.nasa.worldwindx.examples declared as Vec4 Modifier and Type Field Description protected Vec4
RadarVolume.ShapeData. centerPoint
protected Vec4
TerrainIntersections.AppFrame. referencePoint
Methods in gov.nasa.worldwindx.examples that return Vec4 Modifier and Type Method Description Vec4[]
KeepingObjectsInView.ViewController. computeViewLookAtForScene(View view)
protected Vec4
AirspaceBuilder.AirspaceBuilderController. getPoint(LatLon latlon, double elevation)
protected Vec4
AirspaceBuilder.AirspaceBuilderController. getSurfacePoint(LatLon latlon, double elevation)
Methods in gov.nasa.worldwindx.examples with parameters of type Vec4 Modifier and Type Method Description Position
KeepingObjectsInView.ViewController. computePositionFromPoint(Vec4 point)
protected boolean
RadarVolumeExample.AppFrame. isBelowMinimumElevation(Position position, Vec4 cartesianOrigin)
-
Uses of Vec4 in gov.nasa.worldwindx.examples.analytics
Fields in gov.nasa.worldwindx.examples.analytics declared as Vec4 Modifier and Type Field Description protected Vec4
AnalyticSurface. referencePoint
Methods in gov.nasa.worldwindx.examples.analytics that return Vec4 Modifier and Type Method Description protected Vec4
AnalyticSurface. computeSurfacePoint(DrawContext dc, Angle lat, Angle lon, double value)
-
Uses of Vec4 in gov.nasa.worldwindx.examples.kml
Fields in gov.nasa.worldwindx.examples.kml declared as Vec4 Modifier and Type Field Description protected Vec4
KMLOrbitViewController.EyePositionAnimator. forward
Methods in gov.nasa.worldwindx.examples.kml with parameters of type Vec4 Modifier and Type Method Description protected Position
KMLOrbitViewController. computeCenterPosition(Position eyePosition, Vec4 forward, Angle pitch, int altitudeMode)
Compute a center position from an eye position and an orientation.Constructors in gov.nasa.worldwindx.examples.kml with parameters of type Vec4 Constructor Description EyePositionAnimator(Interpolator interpolator, Position beginCenter, Position endCenter, Position endEyePosition, Vec4 forward, Angle pitch, PropertyAccessor.PositionAccessor propertyAccessor, int altitudeMode)
Create a new animator. -
Uses of Vec4 in gov.nasa.worldwindx.examples.lineofsight
Fields in gov.nasa.worldwindx.examples.lineofsight declared as Vec4 Modifier and Type Field Description protected Vec4
LineIntersector. referencePoint
protected Vec4
LinesOfSight.AppFrame. referencePoint
Methods in gov.nasa.worldwindx.examples.lineofsight that return Vec4 Modifier and Type Method Description protected Vec4
PointGrid. computePoint(DrawContext dc, Position pos)
-
Uses of Vec4 in gov.nasa.worldwindx.examples.shapebuilder
Fields in gov.nasa.worldwindx.examples.shapebuilder declared as Vec4 Modifier and Type Field Description protected Vec4
ExtrudedPolygonEditor.ControlPointMarker. point
protected Vec4
RigidShapeEditor.ControlPointMarker. point
Methods in gov.nasa.worldwindx.examples.shapebuilder that return Vec4 Modifier and Type Method Description protected Vec4
ExtrudedPolygonEditor. computeAnnotationPosition(Position pos)
protected Vec4
RigidShapeEditor. computeAnnotationPosition(Position pos)
Vec4
ExtrudedPolygonEditor.ControlPointMarker. getPoint()
Vec4
RigidShapeEditor.ControlPointMarker. getPoint()
protected Vec4
ExtrudedPolygonEditor. intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.protected Vec4
RigidShapeEditor. intersectPolygonAltitudeAt(Line ray)
Determine the point at which a ray intersects a the globe at the elevation of the polygon.Constructors in gov.nasa.worldwindx.examples.shapebuilder with parameters of type Vec4 Constructor Description ControlPointMarker(java.lang.String type, Position position, Vec4 point, MarkerAttributes attrs, int index)
ControlPointMarker(java.lang.String type, Position position, Vec4 point, MarkerAttributes attrs, int index)
-
Uses of Vec4 in gov.nasa.worldwindx.examples.tutorial
Fields in gov.nasa.worldwindx.examples.tutorial declared as Vec4 Modifier and Type Field Description protected Vec4
Cube.OrderedCube. placePoint
Cartesian position of the cube, computed fromCube.position
. -
Uses of Vec4 in gov.nasa.worldwindx.examples.util
Fields in gov.nasa.worldwindx.examples.util declared as Vec4 Modifier and Type Field Description protected Vec4
ExtentVisibilitySupport.ScreenExtent. modelReferencePoint
Methods in gov.nasa.worldwindx.examples.util that return Vec4 Modifier and Type Method Description protected Vec4
ExtentVisibilitySupport. computeCenterPoint(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePoint(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForModelExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends Extent> modelExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenBounds(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenReferencePoints(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
LabeledPath. computePoint(DrawContext dc, LatLon location)
Computes a model-coordinate point from a LatLon or Position, applying the path's altitude mode.Vec4[]
ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, Vec4 eyePoint, Vec4 centerPoint, Vec4 upVector, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)
Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.Vec4[]
ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, View view)
Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.protected Vec4
LabeledPath. getLabelPoint(DrawContext dc)
Returns the label's model-coordinate point form the path's location iterable, applying the path's altitude mode.Vec4
LayerManagerLayer. getLocationCenter()
Returns the current layer manager location.Vec4
LayerManagerLayer. getLocationOffset()
Returns the current location offset.Vec4
ExtentVisibilitySupport.ScreenExtent. getModelReferencePoint()
Returns the model coordinate reference point.protected static Vec4
ViewVolumeRenderer. worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)
Methods in gov.nasa.worldwindx.examples.util with parameters of type Vec4 Modifier and Type Method Description protected void
DirectedPath. computeArrowheadGeometry(DrawContext dc, int poleA, int poleB, Vec4 polePtA, Vec4 polePtB, java.nio.FloatBuffer buffer, Path.PathData pathData)
Compute the geometry of a direction arrow between two points.protected Vec4
ExtentVisibilitySupport. computeEyePoint(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends Extent> modelExtents, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForModelExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends Extent> modelExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenBounds(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenExtents(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
protected Vec4
ExtentVisibilitySupport. computeEyePointForScreenReferencePoints(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, java.lang.Iterable<? extends ExtentVisibilitySupport.ScreenExtent> screenExtents)
Vec4[]
ExtentVisibilitySupport. computeViewLookAtContainingExtents(Globe globe, double verticalExaggeration, Vec4 eyePoint, Vec4 centerPoint, Vec4 upVector, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)
Returns an array of View look-at vectors optimal for viewing the the scene elements, or null if this has no scene elements.protected static void
ViewVolumeRenderer. drawLine(DrawContext dc, Vec4 a, Vec4 b)
protected static void
ViewVolumeRenderer. drawQuad(DrawContext dc, Vec4 ll, Vec4 lr, Vec4 ur, Vec4 ul)
protected static void
ViewVolumeRenderer. drawTriangle(DrawContext dc, Vec4 a, Vec4 b, Vec4 c)
protected boolean
DirectedPath. isArrowheadSmall(DrawContext dc, Vec4 arrowPt, int numPixels)
Determines if an direction arrow drawn a point will be less than a specified number of pixels.protected void
LabeledPath. setLabelLocation(DrawContext dc, Vec4 screenPoint)
Places the label at the specified screen point.void
LayerManagerLayer. setLocationCenter(Vec4 locationCenter)
Specifies the screen location of the layer manager, relative to it's frame center.void
LayerManagerLayer. setLocationOffset(Vec4 locationOffset)
Specifies a placement offset from the layer manager frame position on the screen.protected java.lang.String
ExtentVisibilitySupport. validate(Vec4 eye, Vec4 center, Vec4 up, Angle fieldOfView, java.awt.Rectangle viewport, double nearClipDistance, double farClipDistance)
protected static Vec4
ViewVolumeRenderer. worldPointFromScreenPoint(DrawContext dc, java.awt.Rectangle viewport, Matrix modelview, Matrix projection, Vec4 screenPoint)
Constructors in gov.nasa.worldwindx.examples.util with parameters of type Vec4 Constructor Description ScreenExtent(Vec4 modelReferencePoint, java.awt.Rectangle screenBounds)
Constructs a new ScreenExtent with the specified model coordinate reference point and screen coordinate bounding box.
-