Package | Description |
---|---|
gov.nasa.worldwind | |
gov.nasa.worldwind.geom | |
gov.nasa.worldwind.globes |
Provides classes for representing the shape and terrain of a planet.
|
gov.nasa.worldwind.terrain | |
gov.nasa.worldwind.view |
The view package contains implementations, and support for implementations of the
View interface. |
gov.nasa.worldwindx.examples.util |
Modifier and Type | Method and Description |
---|---|
Frustum |
View.getFrustum()
Returns the viewing
Frustum in eye coordinates. |
Frustum |
View.getFrustumInModelCoordinates()
Returns the viewing
Frustum in model coordinates. |
Modifier and Type | Class and Description |
---|---|
class |
PickPointFrustum
|
Modifier and Type | Method and Description |
---|---|
static Frustum |
Frustum.fromPerspective(Angle horizontalFieldOfView,
int viewportWidth,
int viewportHeight,
double near,
double far)
Creates a
Frustum from a horizontal field-of-view, viewport aspect ratio and distance to near and
far depth clipping planes. |
static Frustum |
Frustum.fromPerspective(double width,
double height,
double near,
double far)
Creates a
Frustum from three sets of parallel clipping planes (a parallel projectionMatrix). |
static Frustum |
Frustum.fromPerspectiveVecs(Vec4 vTL,
Vec4 vTR,
Vec4 vBL,
Vec4 vBR,
double near,
double far)
Creates a
Frustum from four edge vectors, viewport aspect ratio and distance to near and far planes. |
static Frustum |
Frustum.fromProjectionMatrix(Matrix projectionMatrix)
Creates a frustum by extracting the six frustum planes from a projection matrix.
|
Frustum |
Frustum.transformBy(Matrix matrix)
Returns a copy of this frustum transformed by a specified
Matrix . |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
Sphere.intersects(Frustum frustum)
Indicates whether a specified
Frustum intersects this sphere. |
boolean |
Extent.intersects(Frustum frustum)
Determines whether or not this
Extent intersects frustum . |
boolean |
Cylinder.intersects(Frustum frustum)
Determines whether or not this
Extent intersects frustum . |
boolean |
Box.intersects(Frustum frustum)
Determines whether or not this
Extent intersects frustum . |
Constructor and Description |
---|
PickPointFrustum(Frustum frustum,
java.awt.Rectangle rect)
Constructs a new PickPointFrustum from another Frustum and screen rectangle
|
Modifier and Type | Method and Description |
---|---|
boolean |
FlatGlobe.intersects(Frustum frustum) |
boolean |
EllipsoidalGlobe.intersects(Frustum frustum) |
Modifier and Type | Field and Description |
---|---|
protected Frustum |
RectangularTessellator.currentFrustum |
Modifier and Type | Field and Description |
---|---|
protected Frustum |
BasicView.frustum |
protected Frustum |
BasicView.lastFrustumInModelCoords |
Modifier and Type | Method and Description |
---|---|
Frustum |
BasicView.getFrustum() |
Frustum |
BasicView.getFrustumInModelCoordinates() |
Modifier and Type | Method and Description |
---|---|
boolean |
ExtentVisibilitySupport.areExtentsContained(Frustum frustum,
java.awt.Rectangle viewport)
Returns true if the model coordinates scene elements are completely inside the space enclosed by the specified
Frustum in model coordinates, and the screen coordinate scene elements are
completely inside the viewport rectangle. |