├── .gitignore
├── .idea
├── codeStyles
│ └── Project.xml
├── gradle.xml
├── modules.xml
├── runConfigurations.xml
└── vcs.xml
├── .travis.yml
├── CONTRIBUTING.md
├── ISSUE_TEMPLATE.md
├── LICENSE.txt
├── PULL_REQUEST_TEMPLATE.md
├── README.md
├── WorldWindAndroid.iml
├── build.gradle
├── gradle.properties
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── keystore.jks.enc
├── settings.gradle
├── travis
└── changelog.sh
├── worldwind-examples
├── .gitignore
├── build.gradle
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── gov
│ │ └── nasa
│ │ └── worldwindx
│ │ ├── AbstractMainActivity.java
│ │ ├── BasicGlobeActivity.java
│ │ ├── BasicPerformanceBenchmarkActivity.java
│ │ ├── BasicStressTestActivity.java
│ │ ├── DayNightCycleActivity.java
│ │ ├── GeneralGlobeActivity.java
│ │ ├── MultiGlobeActivity.java
│ │ ├── OmnidirectionalSightlineActivity.java
│ │ ├── PathsExampleActivity.java
│ │ ├── PathsPolygonsLabelsActivity.java
│ │ ├── PlacemarksDemoActivity.java
│ │ ├── PlacemarksMilStd2525Activity.java
│ │ ├── PlacemarksMilStd2525DemoActivity.java
│ │ ├── PlacemarksMilStd2525StressActivity.java
│ │ ├── PlacemarksSelectDragActivity.java
│ │ ├── PlacemarksStressTestActivity.java
│ │ ├── TextureStressTestActivity.java
│ │ ├── experimental
│ │ ├── AtmosphereLayer.java
│ │ ├── AtmosphereProgram.java
│ │ ├── DrawableGroundAtmosphere.java
│ │ ├── DrawableSkyAtmosphere.java
│ │ ├── GroundProgram.java
│ │ └── SkyProgram.java
│ │ └── milstd2525
│ │ ├── MilStd2525.java
│ │ ├── MilStd2525LevelOfDetailSelector.java
│ │ └── MilStd2525Placemark.java
│ └── res
│ ├── drawable
│ ├── aircraft_bomber.png
│ ├── aircraft_fighter.png
│ ├── aircraft_fixwing.png
│ ├── aircraft_jet.png
│ ├── aircraft_rotor.png
│ ├── aircraft_small.png
│ ├── aircraft_twin.png
│ ├── airplane.png
│ ├── airport.png
│ ├── airport_terminal.png
│ ├── btn_rating_star_off_normal.png
│ ├── btn_rating_star_off_pressed.png
│ ├── btn_rating_star_off_selected.png
│ ├── btn_rating_star_on_normal.png
│ ├── btn_rating_star_on_pressed.png
│ ├── btn_rating_star_on_selected.png
│ ├── crosshairs.png
│ ├── dnb_land_ocean_ice_2012.png
│ ├── grip_horizontal.png
│ ├── grip_vertical.png
│ ├── ic_menu_home.png
│ ├── nasa_logo.png
│ ├── side_nav_bar.xml
│ ├── star_big_on.png
│ ├── star_on.png
│ ├── vehicle_4x4.png
│ ├── vehicle_bus.png
│ ├── vehicle_car.png
│ ├── vehicle_jeep.png
│ ├── vehicle_motorcycle.png
│ ├── vehicle_suv.png
│ ├── vehicle_tank.png
│ └── vehicle_truck.png
│ ├── layout-land
│ └── multi_globe_content.xml
│ ├── layout-port
│ └── multi_globe_content.xml
│ ├── layout
│ ├── activity_globe.xml
│ ├── globe_content.xml
│ ├── main_content.xml
│ └── nav_drawer_header.xml
│ ├── menu
│ ├── activity_drawer.xml
│ └── main.xml
│ ├── mipmap-hdpi
│ └── nasa_logo.png
│ ├── mipmap-mdpi
│ └── nasa_logo.png
│ ├── mipmap-xhdpi
│ └── nasa_logo.png
│ ├── mipmap-xxhdpi
│ └── nasa_logo.png
│ ├── mipmap-xxxhdpi
│ └── nasa_logo.png
│ ├── raw
│ ├── gov_nasa_worldwind_groundprogram_frag.glsl
│ ├── gov_nasa_worldwind_groundprogram_vert.glsl
│ ├── gov_nasa_worldwind_skyprogram_frag.glsl
│ ├── gov_nasa_worldwind_skyprogram_vert.glsl
│ ├── ntad_place.csv
│ ├── world_apts.csv
│ ├── world_highways.csv
│ ├── world_placenames.csv
│ └── world_political_boundaries.csv
│ ├── values-v21
│ └── styles.xml
│ ├── values-w820dp
│ └── dimens.xml
│ └── values
│ ├── colors.xml
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
├── worldwind-tutorials
├── .gitignore
├── build.gradle
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ ├── basic_globe_tutorial.html
│ ├── camera_control_tutorial.html
│ ├── camera_view_tutorial.html
│ ├── codemirror-5.16.0
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── lib
│ │ │ ├── codemirror.css
│ │ │ └── codemirror.js
│ │ └── mode
│ │ │ └── clike
│ │ │ ├── clike.js
│ │ │ ├── index.html
│ │ │ ├── scala.html
│ │ │ └── test.js
│ ├── ellipse_tutorial.html
│ ├── geopackage_tutorial.gpkg
│ ├── geopackage_tutorial.html
│ ├── labels_tutorial.html
│ ├── look_at_view_tutorial.html
│ ├── navigator_events_tutorial.html
│ ├── omnidirectional_sightline_tutorial.html
│ ├── override.css
│ ├── paths_tutorial.html
│ ├── placemarks_picking_tutorial.html
│ ├── placemarks_tutorial.html
│ ├── polygons_tutorial.html
│ ├── shapes_dash_and_fill.html
│ ├── show_tessellation_tutorial.html
│ ├── surface_image_tutorial.html
│ ├── wcs_elevation_tutorial.html
│ ├── wms_layer_tutorial.html
│ └── wmts_layer_tutorial.html
│ ├── java
│ └── gov
│ │ └── nasa
│ │ └── worldwindx
│ │ ├── BasicGlobeFragment.java
│ │ ├── CameraControlFragment.java
│ │ ├── CameraViewFragment.java
│ │ ├── CodeActivity.java
│ │ ├── CodeFragment.java
│ │ ├── EllipseFragment.java
│ │ ├── GeoPackageFragment.java
│ │ ├── LabelsFragment.java
│ │ ├── LookAtViewFragment.java
│ │ ├── MainActivity.java
│ │ ├── NavigatorEventFragment.java
│ │ ├── OmnidirectionalSightlineFragment.java
│ │ ├── PathsFragment.java
│ │ ├── PlacemarksFragment.java
│ │ ├── PlacemarksPickingFragment.java
│ │ ├── PolygonsFragment.java
│ │ ├── ShapesDashAndFillFragment.java
│ │ ├── ShowTessellationFragment.java
│ │ ├── SurfaceImageFragment.java
│ │ ├── TutorialUtil.java
│ │ ├── WcsElevationFragment.java
│ │ ├── WmsLayerFragment.java
│ │ └── WmtsLayerFragment.java
│ └── res
│ ├── drawable
│ ├── aircraft_fighter.png
│ ├── aircraft_fixwing.png
│ ├── airport_terminal.png
│ ├── crosshairs.png
│ ├── ehipcc.png
│ ├── github_mark.png
│ ├── ic_menu_home.png
│ ├── nasa_logo.png
│ ├── pattern_sample_houndstooth.png
│ └── side_nav_bar.xml
│ ├── layout-w900dp-land
│ └── main_content.xml
│ ├── layout-w900dp-port
│ └── main_content.xml
│ ├── layout
│ ├── activity_code.xml
│ ├── activity_main.xml
│ ├── fragment_code.xml
│ ├── fragment_globe.xml
│ ├── main_content.xml
│ └── nav_drawer_header.xml
│ ├── menu
│ ├── activity_drawer.xml
│ └── main.xml
│ ├── mipmap-hdpi
│ └── nasa_logo.png
│ ├── mipmap-mdpi
│ └── nasa_logo.png
│ ├── mipmap-xhdpi
│ └── nasa_logo.png
│ ├── mipmap-xxhdpi
│ └── nasa_logo.png
│ ├── mipmap-xxxhdpi
│ └── nasa_logo.png
│ ├── values-v21
│ └── styles.xml
│ ├── values-w820dp
│ └── dimens.xml
│ └── values
│ ├── colors.xml
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
└── worldwind
├── .gitignore
├── build.gradle
├── proguard-rules.pro
└── src
├── androidTest
├── java
│ └── gov
│ │ └── nasa
│ │ └── worldwind
│ │ ├── ogc
│ │ ├── wms
│ │ │ └── WmsCapabilitiesTest.java
│ │ └── wmts
│ │ │ └── WmtsCapabilitiesTest.java
│ │ └── util
│ │ └── xml
│ │ ├── TextModelTest.java
│ │ └── XmlModelTest.java
└── res
│ └── raw
│ ├── test_gov_nasa_worldwind_wms_capabilities_v1_1_1_spec.xml
│ ├── test_gov_nasa_worldwind_wms_capabilities_v1_3_0_spec.xml
│ └── test_gov_nasa_worldwind_wmts_capabilities_spec.xml
├── main
├── AndroidManifest.xml
├── java
│ └── gov
│ │ └── nasa
│ │ └── worldwind
│ │ ├── BasicFrameController.java
│ │ ├── BasicWorldWindowController.java
│ │ ├── Frame.java
│ │ ├── FrameController.java
│ │ ├── FrameMetrics.java
│ │ ├── Navigator.java
│ │ ├── NavigatorEvent.java
│ │ ├── NavigatorEventSupport.java
│ │ ├── NavigatorListener.java
│ │ ├── PickedObject.java
│ │ ├── PickedObjectList.java
│ │ ├── WorldWind.java
│ │ ├── WorldWindow.java
│ │ ├── WorldWindowController.java
│ │ ├── draw
│ │ ├── BasicDrawableTerrain.java
│ │ ├── DrawContext.java
│ │ ├── DrawShapeState.java
│ │ ├── Drawable.java
│ │ ├── DrawableLines.java
│ │ ├── DrawableList.java
│ │ ├── DrawableQueue.java
│ │ ├── DrawableScreenTexture.java
│ │ ├── DrawableShape.java
│ │ ├── DrawableSightline.java
│ │ ├── DrawableSurfaceColor.java
│ │ ├── DrawableSurfaceShape.java
│ │ ├── DrawableSurfaceTexture.java
│ │ ├── DrawableTerrain.java
│ │ └── DrawableTessellation.java
│ │ ├── formats
│ │ └── tiff
│ │ │ ├── Field.java
│ │ │ ├── Subfile.java
│ │ │ ├── Tiff.java
│ │ │ └── Type.java
│ │ ├── geom
│ │ ├── BoundingBox.java
│ │ ├── BoundingSphere.java
│ │ ├── Camera.java
│ │ ├── Ellipsoid.java
│ │ ├── Frustum.java
│ │ ├── Line.java
│ │ ├── Location.java
│ │ ├── LookAt.java
│ │ ├── Matrix3.java
│ │ ├── Matrix4.java
│ │ ├── Offset.java
│ │ ├── Plane.java
│ │ ├── Position.java
│ │ ├── Range.java
│ │ ├── Sector.java
│ │ ├── TileMatrix.java
│ │ ├── TileMatrixSet.java
│ │ ├── Vec2.java
│ │ ├── Vec3.java
│ │ └── Viewport.java
│ │ ├── gesture
│ │ ├── GestureListener.java
│ │ ├── GestureRecognizer.java
│ │ ├── PanRecognizer.java
│ │ ├── PinchRecognizer.java
│ │ └── RotationRecognizer.java
│ │ ├── globe
│ │ ├── AbstractElevationCoverage.java
│ │ ├── BasicElevationCoverage.java
│ │ ├── BasicTerrain.java
│ │ ├── BasicTessellator.java
│ │ ├── ElevationCoverage.java
│ │ ├── ElevationModel.java
│ │ ├── ElevationRetriever.java
│ │ ├── GeographicProjection.java
│ │ ├── Globe.java
│ │ ├── ProjectionWgs84.java
│ │ ├── Terrain.java
│ │ ├── TerrainTile.java
│ │ ├── Tessellator.java
│ │ └── TiledElevationCoverage.java
│ │ ├── layer
│ │ ├── AbstractLayer.java
│ │ ├── BackgroundLayer.java
│ │ ├── BlueMarbleLandsatLayer.java
│ │ ├── BlueMarbleLayer.java
│ │ ├── LandsatLayer.java
│ │ ├── Layer.java
│ │ ├── LayerFactory.java
│ │ ├── LayerList.java
│ │ ├── RenderableLayer.java
│ │ └── ShowTessellationLayer.java
│ │ ├── ogc
│ │ ├── OgcException.java
│ │ ├── Wcs100ElevationCoverage.java
│ │ ├── Wcs100TileFactory.java
│ │ ├── Wcs201ElevationCoverage.java
│ │ ├── Wcs201TileFactory.java
│ │ ├── WmsLayer.java
│ │ ├── WmsLayerConfig.java
│ │ ├── WmsTileFactory.java
│ │ ├── gml
│ │ │ ├── GmlAbstractFeature.java
│ │ │ ├── GmlAbstractGeometricPrimitive.java
│ │ │ ├── GmlAbstractGeometry.java
│ │ │ ├── GmlAbstractGml.java
│ │ │ ├── GmlBoundingShape.java
│ │ │ ├── GmlDirectPosition.java
│ │ │ ├── GmlDomainSet.java
│ │ │ ├── GmlDoubleList.java
│ │ │ ├── GmlEnvelope.java
│ │ │ ├── GmlGrid.java
│ │ │ ├── GmlGridEnvelope.java
│ │ │ ├── GmlGridLimits.java
│ │ │ ├── GmlIntegerList.java
│ │ │ ├── GmlParser.java
│ │ │ ├── GmlPoint.java
│ │ │ ├── GmlPointProperty.java
│ │ │ ├── GmlRectifiedGrid.java
│ │ │ └── GmlVector.java
│ │ ├── gpkg
│ │ │ ├── GeoPackage.java
│ │ │ ├── GpkgBitmapFactory.java
│ │ │ ├── GpkgContent.java
│ │ │ ├── GpkgEntry.java
│ │ │ ├── GpkgSpatialReferenceSystem.java
│ │ │ ├── GpkgTileFactory.java
│ │ │ ├── GpkgTileMatrix.java
│ │ │ ├── GpkgTileMatrixSet.java
│ │ │ ├── GpkgTileUserData.java
│ │ │ ├── GpkgTileUserMetrics.java
│ │ │ └── SQLiteConnection.java
│ │ ├── ows
│ │ │ ├── OwsException.java
│ │ │ ├── OwsExceptionReport.java
│ │ │ └── OwsXmlParser.java
│ │ ├── wcs
│ │ │ ├── Wcs201CoverageDescription.java
│ │ │ ├── Wcs201CoverageDescriptions.java
│ │ │ └── WcsXmlParser.java
│ │ ├── wms
│ │ │ ├── WmsAddress.java
│ │ │ ├── WmsAttribution.java
│ │ │ ├── WmsAuthorityUrl.java
│ │ │ ├── WmsBoundingBox.java
│ │ │ ├── WmsCapabilities.java
│ │ │ ├── WmsCapability.java
│ │ │ ├── WmsContactInformation.java
│ │ │ ├── WmsContactPersonPrimary.java
│ │ │ ├── WmsDcpType.java
│ │ │ ├── WmsDimension.java
│ │ │ ├── WmsException.java
│ │ │ ├── WmsGeographicBoundingBox.java
│ │ │ ├── WmsIdentifier.java
│ │ │ ├── WmsInfoUrl.java
│ │ │ ├── WmsKeywords.java
│ │ │ ├── WmsLayer.java
│ │ │ ├── WmsLogoUrl.java
│ │ │ ├── WmsOnlineResource.java
│ │ │ ├── WmsRequest.java
│ │ │ ├── WmsRequestOperation.java
│ │ │ ├── WmsScaleHint.java
│ │ │ ├── WmsService.java
│ │ │ ├── WmsStyle.java
│ │ │ └── WmsXmlParser.java
│ │ └── wmts
│ │ │ ├── OwsAddress.java
│ │ │ ├── OwsAllowedValues.java
│ │ │ ├── OwsBoundingBox.java
│ │ │ ├── OwsConstraint.java
│ │ │ ├── OwsContactInfo.java
│ │ │ ├── OwsDcp.java
│ │ │ ├── OwsDescription.java
│ │ │ ├── OwsHttp.java
│ │ │ ├── OwsHttpMethod.java
│ │ │ ├── OwsKeywords.java
│ │ │ ├── OwsLanguageString.java
│ │ │ ├── OwsOperation.java
│ │ │ ├── OwsOperationsMetadata.java
│ │ │ ├── OwsPhone.java
│ │ │ ├── OwsServiceContact.java
│ │ │ ├── OwsServiceIdentification.java
│ │ │ ├── OwsServiceProvider.java
│ │ │ ├── OwsWgs84BoundingBox.java
│ │ │ ├── WmtsCapabilities.java
│ │ │ ├── WmtsContents.java
│ │ │ ├── WmtsDimension.java
│ │ │ ├── WmtsElementLink.java
│ │ │ ├── WmtsLayer.java
│ │ │ ├── WmtsResourceUrl.java
│ │ │ ├── WmtsStyle.java
│ │ │ ├── WmtsTheme.java
│ │ │ ├── WmtsThemes.java
│ │ │ ├── WmtsTileFactory.java
│ │ │ ├── WmtsTileMatrix.java
│ │ │ ├── WmtsTileMatrixLimits.java
│ │ │ ├── WmtsTileMatrixSet.java
│ │ │ ├── WmtsTileMatrixSetLimits.java
│ │ │ ├── WmtsTileMatrixSetLink.java
│ │ │ └── WmtsXmlParser.java
│ │ ├── render
│ │ ├── AbstractRenderable.java
│ │ ├── BasicShaderProgram.java
│ │ ├── BufferObject.java
│ │ ├── Color.java
│ │ ├── Framebuffer.java
│ │ ├── ImageOptions.java
│ │ ├── ImageRetriever.java
│ │ ├── ImageSource.java
│ │ ├── ImageTile.java
│ │ ├── RenderContext.java
│ │ ├── RenderResource.java
│ │ ├── RenderResourceCache.java
│ │ ├── Renderable.java
│ │ ├── ShaderProgram.java
│ │ ├── SightlineProgram.java
│ │ ├── SurfaceTexture.java
│ │ ├── SurfaceTextureProgram.java
│ │ ├── TextRenderer.java
│ │ └── Texture.java
│ │ ├── shape
│ │ ├── AbstractShape.java
│ │ ├── Attributable.java
│ │ ├── Ellipse.java
│ │ ├── Highlightable.java
│ │ ├── Label.java
│ │ ├── Movable.java
│ │ ├── OmnidirectionalSightline.java
│ │ ├── Path.java
│ │ ├── Placemark.java
│ │ ├── PlacemarkAttributes.java
│ │ ├── Polygon.java
│ │ ├── ShapeAttributes.java
│ │ ├── SurfaceImage.java
│ │ ├── TextAttributes.java
│ │ └── TiledSurfaceImage.java
│ │ └── util
│ │ ├── BasicPool.java
│ │ ├── FloatArray.java
│ │ ├── Level.java
│ │ ├── LevelSet.java
│ │ ├── LevelSetConfig.java
│ │ ├── Logger.java
│ │ ├── LruMemoryCache.java
│ │ ├── MessageListener.java
│ │ ├── MessageService.java
│ │ ├── Pool.java
│ │ ├── Retriever.java
│ │ ├── ShortArray.java
│ │ ├── SynchronizedMemoryCache.java
│ │ ├── SynchronizedPool.java
│ │ ├── TaskService.java
│ │ ├── Tile.java
│ │ ├── TileFactory.java
│ │ ├── TileUrlFactory.java
│ │ ├── WWMath.java
│ │ ├── WWUtil.java
│ │ ├── glu
│ │ ├── COPYRIGHT.txt
│ │ ├── GLU.java
│ │ ├── GLUtessellator.java
│ │ ├── GLUtessellatorCallback.java
│ │ ├── GLUtessellatorCallbackAdapter.java
│ │ ├── LICENSE.txt
│ │ ├── error
│ │ │ └── Error.java
│ │ └── tessellator
│ │ │ ├── ActiveRegion.java
│ │ │ ├── CachedVertex.java
│ │ │ ├── Dict.java
│ │ │ ├── DictNode.java
│ │ │ ├── GLUface.java
│ │ │ ├── GLUhalfEdge.java
│ │ │ ├── GLUmesh.java
│ │ │ ├── GLUtessellatorImpl.java
│ │ │ ├── GLUvertex.java
│ │ │ ├── Geom.java
│ │ │ ├── Mesh.java
│ │ │ ├── Normal.java
│ │ │ ├── PriorityQ.java
│ │ │ ├── PriorityQHeap.java
│ │ │ ├── PriorityQSort.java
│ │ │ ├── Render.java
│ │ │ ├── Sweep.java
│ │ │ ├── TessMono.java
│ │ │ └── TessState.java
│ │ └── xml
│ │ ├── DefaultXmlModel.java
│ │ ├── XmlModel.java
│ │ └── XmlModelParser.java
└── res
│ ├── drawable
│ └── gov_nasa_worldwind_worldtopobathy2004053.png
│ └── raw
│ ├── gov_nasa_worldwind_basicprogram_frag.glsl
│ ├── gov_nasa_worldwind_basicprogram_vert.glsl
│ ├── gov_nasa_worldwind_sightlineprogram_frag.glsl
│ ├── gov_nasa_worldwind_sightlineprogram_vert.glsl
│ ├── gov_nasa_worldwind_surfacetextureprogram_frag.glsl
│ └── gov_nasa_worldwind_surfacetextureprogram_vert.glsl
└── test
├── java
└── gov
│ └── nasa
│ └── worldwind
│ ├── WorldWindTest.java
│ ├── WorldWindowTest.java
│ ├── formats
│ └── tiff
│ │ └── TiffTest.java
│ ├── geom
│ ├── BoundingBoxTest.java
│ ├── FrustumTest.java
│ ├── LineTest.java
│ ├── LocationTest.java
│ ├── Matrix3Test.java
│ ├── Matrix4Test.java
│ ├── PlaneTest.java
│ ├── PositionTest.java
│ ├── RangeTest.java
│ ├── SectorTest.java
│ ├── Vec2Test.java
│ ├── Vec3Test.java
│ └── ViewportTest.java
│ ├── globe
│ ├── BasicTerrainTest.java
│ ├── GlobeTest.java
│ ├── ProjectionWgs84Test.java
│ └── Wgs84Test.java
│ ├── layer
│ ├── LayerFactoryTest.java
│ └── RenderableLayerTest.java
│ ├── ogc
│ ├── WmsLayerConfigTest.java
│ ├── WmsLayerTest.java
│ └── WmsTileFactoryTest.java
│ ├── render
│ ├── FrameMetricsTest.java
│ ├── RenderContextTest.java
│ └── TextCacheKeyTest.java
│ ├── shape
│ ├── AbstractShapeTest.java
│ ├── EllipseTest.java
│ ├── ShapeAttributesTest.java
│ └── TextAttributesTest.java
│ └── util
│ └── WWMathTest.java
└── resources
├── test_gov_nasa_worldwind_blend.tif
└── test_gov_nasa_worldwind_geotiff.tif
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
3 | .gradle
4 |
5 | .idea/caches
6 |
7 | .idea/libraries
8 |
9 | .idea/misc.xml
10 |
11 | .idea/shelf
12 |
13 | .idea/tasks.xml
14 |
15 | .idea/workspace.xml
16 |
17 | build
18 |
19 | keystore.jks
20 |
21 | local.properties
22 |
23 | worldwind/worldwind.iml
24 |
25 | worldwind-examples/worldwind-examples.iml
26 |
27 | worldwind-tutorials/worldwind-tutorials.iml
28 |
--------------------------------------------------------------------------------
/.idea/codeStyles/Project.xml:
--------------------------------------------------------------------------------
1 |
25 | * It is permissible to share attribute bundles between shapes. 26 | * 27 | * @param attributes a reference to the shape's new normal attributes 28 | */ 29 | void setAttributes(ShapeAttributes attributes); 30 | 31 | /** 32 | * Indicates the shape's highlight attributes. 33 | * 34 | * @return the shape's highlight attributes 35 | */ 36 | ShapeAttributes getHighlightAttributes(); 37 | 38 | /** 39 | * Specifies the shape's highlight attributes. If null and this shape is highlighted, this shape's normal attributes 40 | * are used. If they in turn are null, this shape is not drawn. 41 | *
42 | * It is permissible to share attribute bundles between shapes.
43 | *
44 | * @param highlightAttributes a reference to the shape's new highlight attributes
45 | */
46 | void setHighlightAttributes(ShapeAttributes highlightAttributes);
47 | }
48 |
--------------------------------------------------------------------------------
/worldwind/src/main/java/gov/nasa/worldwind/shape/Highlightable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2016 United States Government as represented by the Administrator of the
3 | * National Aeronautics and Space Administration. All Rights Reserved.
4 | */
5 |
6 | package gov.nasa.worldwind.shape;
7 |
8 | /**
9 | * Interface to control a shape's highlighting. Shapes implementing this interface have their own highlighting behaviors
10 | * and attributes and the means for setting them.
11 | */
12 | public interface Highlightable {
13 |
14 | /**
15 | * Indicates whether the shape is highlighted.
16 | *
17 | * @return true if the shape is highlighted, otherwise false
18 | */
19 | boolean isHighlighted();
20 |
21 | /**
22 | * Specifies whether to highlight the shape.
23 | *
24 | * @param highlighted true to highlight the shape, otherwise false
25 | */
26 | void setHighlighted(boolean highlighted);
27 | }
28 |
--------------------------------------------------------------------------------
/worldwind/src/main/java/gov/nasa/worldwind/shape/Movable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2016 United States Government as represented by the Administrator of the
3 | * National Aeronautics and Space Administration. All Rights Reserved.
4 | */
5 |
6 | package gov.nasa.worldwind.shape;
7 |
8 | import gov.nasa.worldwind.geom.Position;
9 | import gov.nasa.worldwind.globe.Globe;
10 |
11 | public interface Movable {
12 |
13 | /**
14 | * A position associated with the object that indicates its aggregate geographic position. The chosen position
15 | * varies among implementers of this interface. For objects defined by a list of positions, the reference position
16 | * is typically the first position in the list. For symmetric objects the reference position is often the center of
17 | * the object. In many cases the object's reference position may be explicitly specified by the application.
18 | *
19 | * @return the object's reference position, or null if no reference position is available.
20 | */
21 | Position getReferencePosition();
22 |
23 | /**
24 | * Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to
25 | * North.
26 | *
27 | * @param globe the globe on which to move the shape.
28 | * @param position the new position of the shape's reference position.
29 | */
30 | void moveTo(Globe globe, Position position);
31 | }
32 |
--------------------------------------------------------------------------------
/worldwind/src/main/java/gov/nasa/worldwind/util/BasicPool.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2016 United States Government as represented by the Administrator of the
3 | * National Aeronautics and Space Administration. All Rights Reserved.
4 | */
5 |
6 | package gov.nasa.worldwind.util;
7 |
8 | public class BasicPool