NASA World Wind

Uses of Class
gov.nasa.worldwind.geom.Vec4

Packages that use Vec4
gov.nasa.worldwind   
gov.nasa.worldwind.applications.sar   
gov.nasa.worldwind.geom   
gov.nasa.worldwind.globes   
gov.nasa.worldwind.layers   
gov.nasa.worldwind.layers.placename   
gov.nasa.worldwind.render   
gov.nasa.worldwind.view   
 

Uses of Vec4 in gov.nasa.worldwind
 

Methods in gov.nasa.worldwind that return Vec4
 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 a Point in model (cartesian) coordinates to a Point in screen coordinates.
 Vec4 View.unProject(Vec4 windowPoint)
          Maps a Point in screen coordinates to a Point in model coordinates.
 

Methods in gov.nasa.worldwind with parameters of type Vec4
 Vec4 View.project(Vec4 modelPoint)
          Maps a Point in model (cartesian) coordinates to a Point 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 at referenceCenter.
 Vec4 View.unProject(Vec4 windowPoint)
          Maps a Point in screen coordinates to a Point in model coordinates.
 

Uses of Vec4 in gov.nasa.worldwind.applications.sar
 

Methods in gov.nasa.worldwind.applications.sar that return Vec4
static Vec4 RayCastingSupport.intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)
          Compute the intersection Vec4 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 intersection Vec4 point of the globe terrain with the a segment defined between two points.
 

Methods in gov.nasa.worldwind.applications.sar with parameters of type Vec4
static Position RayCastingSupport.intersectRayWithTerrain(Globe globe, Vec4 origin, Vec4 direction)
          Compute the intersection Position 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 intersection Position of the globe terrain with the ray starting at origin in the given direction.
static Vec4 RayCastingSupport.intersectSegmentWithTerrain(Globe globe, Vec4 p1, Vec4 p2)
          Compute the intersection Vec4 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 intersection Vec4 point of the globe terrain with the a segment defined between two points.
 

Uses of Vec4 in gov.nasa.worldwind.geom
 

Fields in gov.nasa.worldwind.geom declared as Vec4
static Vec4 Vec4.INFINITY
           
static Vec4 Vec4.ONE
           
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
 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[] Sphere.composeExtrema(Vec4[] points)
          Calculate the extrema of a given array of Vec4s.
 Vec4 Sector.computeCenterPoint(Globe globe)
           
 Vec4[] Sector.computeCornerPoints(Globe globe)
           
 Vec4 Vec4.cross3(Vec4 vec4)
           
 Vec4 Vec4.divide3(double value)
           
 Vec4 Vec4.divide3(Vec4 vec4)
           
static Vec4 Vec4.fromArray3(double[] compArray, int offset)
           
static Vec4 Vec4.fromArray4(double[] compArray, int offset)
           
static Vec4 Vec4.fromLine3(Vec4 origin, double t, Vec4 direction)
           
 Vec4 Quaternion.getAxis()
           
 Vec4 Cylinder.getAxisUnitDirection()
           
 Vec4 Cylinder.getBottomCenter()
           
 Vec4 Sphere.getCenter()
          Obtains the center of this Sphere.
 Vec4 Extent.getCenter()
           
 Vec4 Cylinder.getCenter()
           
 Vec4 Line.getDirection()
           
 Vec4 Intersection.getIntersectionPoint()
           
 Vec4 Vec4.getNegative3()
           
 Vec4 Plane.getNormal()
          Retrieves a Vec4 representing the normal to this Plane.
 Vec4 Line.getOrigin()
           
 Vec4 Line.getPointAt(double t)
           
 Vec4 Cylinder.getTopCenter()
           
 Vec4 Matrix.getTranslation()
           
 Vec4 Plane.getVector()
          Retrieves a vector representing the normal and distance to this Plane.
 Vec4 Plane.intersect(Line line)
          Determine the point of intersection of a line with this plane.
 Vec4 Plane.intersect(Vec4 pa, Vec4 pb)
          Test a line segment for intersection with this plane.
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)
           
static Vec4 Line.nearestPointOnSegment(Vec4 p0, Vec4 p1, Vec4 p)
           
 Vec4 Line.nearestPointTo(Vec4 p)
           
 Vec4 Vec4.normalize3()
           
 Vec4 Vec4.perpendicularTo3(Vec4 vec4)
           
 Vec4 Vec4.projectOnto3(Vec4 vec4)
           
 Vec4 Vec4.subtract3(Vec4 vec4)
           
 Vec4 PolarPoint.toCartesian()
          Obtains a cartesian point equivalent to this PolarPoint, 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.transformBy3(Matrix matrix)
           
 Vec4 Vec4.transformBy3(Quaternion quaternion)
           
 Vec4 Vec4.transformBy4(Matrix matrix)
           
 

Methods in gov.nasa.worldwind.geom with parameters of type Vec4
 Vec4 Vec4.add3(Vec4 vec4)
           
 Angle Vec4.angleBetween3(Vec4 vec4)
           
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 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.
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[] Sphere.composeExtrema(Vec4[] points)
          Calculate the extrema of a given array of Vec4s.
 boolean Frustum.contains(Vec4 point)
           
static Sphere Sphere.createBoundingSphere(Vec4[] points)
          Creates a sphere that completely contains a set of points.
 Vec4 Vec4.cross3(Vec4 vec4)
           
 double Plane.distanceTo(Vec4 p)
           
 double Line.distanceTo(Vec4 p)
          Calculate the shortests distance between this line and a specified 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 dot product of this Plane with Vec4 p.
 double Vec4.dot3(Vec4 vec4)
           
 double Vec4.dot4(Vec4 vec4)
           
static Quaternion Quaternion.fromAxisAngle(Angle angle, Vec4 axis)
           
static Matrix Matrix.fromAxisAngle(Angle angle, Vec4 axis)
           
static PolarPoint PolarPoint.fromCartesian(Vec4 cartesianPoint)
          Obtains a PolarPoint from a cartesian point.
static Vec4 Vec4.fromLine3(Vec4 origin, double t, Vec4 direction)
           
static Matrix Matrix.fromLookAt(Vec4 eye, Vec4 center, Vec4 up)
           
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)
           
 Vec4 Plane.intersect(Vec4 pa, Vec4 pb)
          Test a line segment for intersection with this plane.
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)
           
 Vec4 Line.nearestPointTo(Vec4 p)
           
 int Plane.onSameSide(Vec4[] pts)
           
 int Plane.onSameSide(Vec4 pa, Vec4 pb)
           
 Vec4 Vec4.perpendicularTo3(Vec4 vec4)
           
 Vec4 Vec4.projectOnto3(Vec4 vec4)
           
 Vec4 Vec4.subtract3(Vec4 vec4)
           
 

Constructors in gov.nasa.worldwind.geom with parameters of type Vec4
Cylinder(Vec4 bottomCenter, Vec4 topCenter, double cylinderRadius)
          Create a Cylinder from two points and a radius.
Intersection(Vec4 intersectionPoint, boolean isTangent)
           
Line(Vec4 origin, Vec4 direction)
           
Plane(Vec4 vec)
          Obtains a new instance of a Plane whose information is contained in Vector vec.
Sphere(Vec4 center, double radius)
          Creates a new Sphere from a given center and radius.
Triangle(Vec4 a, Vec4 b, Vec4 c)
           
 

Uses of Vec4 in gov.nasa.worldwind.globes
 

Methods in gov.nasa.worldwind.globes that return Vec4
 Vec4 Globe.computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)
           
 Vec4 FlatGlobe.computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)
           
 Vec4 EllipsoidalGlobe.computePointFromPosition(Angle latitude, Angle longitude, double metersElevation)
           
 Vec4 Globe.computePointFromPosition(Position position)
           
 Vec4 FlatGlobe.computePointFromPosition(Position position)
           
 Vec4 EllipsoidalGlobe.computePointFromPosition(Position position)
           
 Vec4 Globe.computeSurfaceNormalAtPoint(Vec4 p)
           
 Vec4 FlatGlobe.computeSurfaceNormalAtPoint(Vec4 p)
           
 Vec4 EllipsoidalGlobe.computeSurfaceNormalAtPoint(Vec4 p)
           
 Vec4 FlatGlobe.getCenter()
           
 Vec4 EllipsoidalGlobe.getCenter()
           
 Vec4 SectorGeometryList.getSurfacePoint(Angle latitude, Angle longitude)
           
 Vec4 SectorGeometryList.getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
           
 Vec4 SectorGeometry.getSurfacePoint(Angle latitude, Angle longitude, double metersOffset)
           
 Vec4 SectorGeometryList.getSurfacePoint(Position position)
           
 

Methods in gov.nasa.worldwind.globes with parameters of type Vec4
 Position Globe.computePositionFromPoint(Vec4 point)
           
 Position FlatGlobe.computePositionFromPoint(Vec4 point)
           
 Position EllipsoidalGlobe.computePositionFromPoint(Vec4 point)
           
 Vec4 Globe.computeSurfaceNormalAtPoint(Vec4 p)
           
 Vec4 FlatGlobe.computeSurfaceNormalAtPoint(Vec4 p)
           
 Vec4 EllipsoidalGlobe.computeSurfaceNormalAtPoint(Vec4 p)
           
 

Uses of Vec4 in gov.nasa.worldwind.layers
 

Methods in gov.nasa.worldwind.layers that return Vec4
 Vec4 TextureTile.getCentroidPoint(Globe globe)
           
 Vec4 WorldMapLayer.getLocationCenter()
           
 Vec4 CrosshairLayer.getLocationCenter()
          Get the crosshair location inside the viewport.
 Vec4 CompassLayer.getLocationCenter()
           
protected  Vec4 TiledImageLayer.getReferencePoint()
           
 

Methods in gov.nasa.worldwind.layers with parameters of type Vec4
 void WorldMapLayer.setLocationCenter(Vec4 locationCenter)
           
 void CrosshairLayer.setLocationCenter(Vec4 locationCenter)
          Set the crosshair location inside the viewport.
 void CompassLayer.setLocationCenter(Vec4 locationCenter)
           
 

Uses of Vec4 in gov.nasa.worldwind.layers.placename
 

Methods in gov.nasa.worldwind.layers.placename that return Vec4
protected  Vec4 PlaceNameLayer.getReferencePoint()
           
 

Uses of Vec4 in gov.nasa.worldwind.render
 

Methods in gov.nasa.worldwind.render that return Vec4
protected  Vec4 LocationRenderer.computeSurfacePoint(DrawContext dc, TrackPoint tp)
           
protected  Vec4 TrackRenderer.draw(DrawContext dc, Iterator<TrackPoint> trackPositions)
           
protected  Vec4 PipeRenderer.draw(DrawContext dc, Iterator<TrackPoint> trackPositions)
           
protected abstract  Vec4 LocationRenderer.draw(DrawContext dc, Iterator<TrackPoint> trackPositions)
           
 Vec4 BasicAnnotationRenderer.getAnnotationDrawPoint(DrawContext dc, Annotation annotation)
          Get the final Vec4 point at which an annotation will be drawn.
 Vec4 AnnotationRenderer.getAnnotationDrawPoint(DrawContext dc, Annotation annotation)
           
 Vec4 DrawContextImpl.getPointOnGlobe(Angle latitude, Angle longitude)
           
 Vec4 DrawContext.getPointOnGlobe(Angle latitude, Angle longitude)
           
 Vec4 DrawContextImpl.getViewportCenterGlobePoint()
           
 Vec4 DrawContext.getViewportCenterGlobePoint()
           
 Vec4 DrawContextImpl.getViewportCenterSurfacePoint()
           
 Vec4 DrawContext.getViewportCenterSurfacePoint()
           
 Vec4 LocationRenderer.pick(DrawContext dc, Iterator<TrackPoint> trackPositions, Point pickPoint, Layer layer)
           
 Vec4 LocationRenderer.render(DrawContext dc, Iterator<TrackPoint> trackPositions)
           
 

Methods in gov.nasa.worldwind.render with parameters of type Vec4
protected abstract  void LocationRenderer.Shape.doRender(DrawContext dc, Vec4 point, double radius)
           
protected  void LocationRenderer.Cylinder.doRender(DrawContext dc, Vec4 point, double size)
           
 void BasicAnnotationRenderer.pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Point pickPoint, Layer layer)
           
 void AnnotationRenderer.pick(DrawContext dc, Annotation annotation, Vec4 annotationPoint, Point pickPoint, Layer annotationLayer)
           
 void IconRenderer.pick(DrawContext dc, WWIcon icon, Vec4 iconPoint, Point pickPoint, Layer layer)
           
 void BasicAnnotationRenderer.render(DrawContext dc, Annotation annotation, Vec4 annotationPoint)
           
 void AnnotationRenderer.render(DrawContext dc, Annotation annotation, Vec4 annotationPoint)
           
 void GeographicTextRenderer.render(DrawContext dc, GeographicText text, Vec4 textPoint)
           
protected  void LocationRenderer.Shape.render(DrawContext dc, Vec4 point, double radius)
           
 void IconRenderer.render(DrawContext dc, WWIcon icon, Vec4 iconPoint)
           
protected  void AbstractAnnotation.setDepthFunc(DrawContext dc, Vec4 screenPoint)
           
 

Uses of Vec4 in gov.nasa.worldwind.view
 

Methods in gov.nasa.worldwind.view that return Vec4
 Vec4 BasicOrbitView.getCurrentEyePoint()
           
 Vec4 BasicOrbitView.getEyePoint()
           
 Vec4 BasicOrbitView.getForwardVector()
           
 Vec4 BasicOrbitView.getUpVector()
           
 Vec4 BasicOrbitView.project(Vec4 modelPoint)
           
 Vec4 ViewSupport.project(Vec4 point, Matrix modelview, Matrix projection, Rectangle viewport)
           
 Vec4 BasicOrbitView.unProject(Vec4 windowPoint)
           
 Vec4 ViewSupport.unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, Rectangle viewport)
           
 

Methods in gov.nasa.worldwind.view with parameters of type Vec4
 OrbitViewModel.ModelCoordinates OrbitViewModel.computeModelCoordinates(Globe globe, Matrix modelview, Vec4 centerPoint)
           
 OrbitViewModel.ModelCoordinates BasicOrbitViewModel.computeModelCoordinates(Globe globe, Matrix modelTransform, Vec4 centerPoint)
           
 OrbitViewModel.ModelCoordinates OrbitViewModel.computeModelCoordinates(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
           
 OrbitViewModel.ModelCoordinates BasicOrbitViewModel.computeModelCoordinates(Globe globe, Vec4 eyePoint, Vec4 centerPoint, Vec4 up)
           
 Vec4 BasicOrbitView.project(Vec4 modelPoint)
           
 Vec4 ViewSupport.project(Vec4 point, Matrix modelview, Matrix projection, Rectangle viewport)
           
 Matrix AbstractView.pushReferenceCenter(DrawContext dc, Vec4 referenceCenter)
           
 Vec4 BasicOrbitView.unProject(Vec4 windowPoint)
           
 Vec4 ViewSupport.unProject(Vec4 windowPoint, Matrix modelview, Matrix projection, Rectangle viewport)
           
 


NASA World Wind