-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d779cb5
commit 7a176b4
Showing
36 changed files
with
465 additions
and
2,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# CHANGELOG | ||
|
||
[Official Releases](https://github.com/NASA-AMMOS/LithoSphere/releases) | ||
|
||
## v1.0.0 | ||
|
||
LithoSphere's first release! | ||
|
||
## v1.0.1 | ||
|
||
### Added | ||
|
||
- Support for WMS tiles of any projection | ||
- A .tif tile parser | ||
|
||
## v1.0.2 | ||
|
||
### Changed | ||
|
||
- PNG.js and zlib.js are now modules instead of globals |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare const NO_DATA_VALUE_INTERNAL = -1100101; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
export default class Compass { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
corner: Corners; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
onUpdate: () => void; | ||
setDirection: () => void; | ||
} | ||
export {}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
interface Params { | ||
existingDivId?: string; | ||
} | ||
export default class Coordinates { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
params: Params; | ||
corner: Corners; | ||
constructor(parent: any, name: string, params?: object); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
onUpdate: () => void; | ||
private updateMouseCoords; | ||
} | ||
export {}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
export default class Exaggerate { | ||
_: Private; | ||
id: string; | ||
p: any; | ||
name: string; | ||
corner: Corners; | ||
exaggeration: number; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
private getInactiveContent; | ||
private getActiveContent; | ||
setExaggeration: (multiplier: number) => void; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Corners } from '../generalTypes'; | ||
interface Private { | ||
} | ||
export default class Home { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
corner: Corners; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Corners } from '../generalTypes'; | ||
export default class Controls { | ||
p: any; | ||
controlContainer: HTMLElement; | ||
corners: { | ||
TopLeft: HTMLElement; | ||
TopRight: HTMLElement; | ||
BottomLeft: HTMLElement; | ||
BottomRight: HTMLElement; | ||
}; | ||
activeControls: any; | ||
compass: any; | ||
coordinates: any; | ||
home: any; | ||
layers: any; | ||
exaggerate: any; | ||
observe: any; | ||
walk: any; | ||
link: any; | ||
constructor(parent: any); | ||
addControl: (name: string, control: any, params?: object, corner?: Corners) => any; | ||
removeControl: (name: any) => void; | ||
_onUpdateEvent: () => void; | ||
_onMove: (lng: any, lat: any, height: any) => void; | ||
_onMouseMove: (lng: any, lat: any, height: any) => void; | ||
_onMouseOut: (e?: any) => void; | ||
_onFirstPersonUpdate: () => void; | ||
_onOrbitalUpdate: (e?: any) => void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
export default class Layers { | ||
_: Private; | ||
id: string; | ||
p: any; | ||
name: string; | ||
corner: Corners; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
private getInactiveContent; | ||
private getActiveContent; | ||
private attachEventsInternal; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { Corners } from '../generalTypes'; | ||
import { Object3D } from 'three'; | ||
interface Private { | ||
linkPanned: boolean; | ||
linkPannedTimeout: any; | ||
targetPoint?: Object3D; | ||
} | ||
export default class Link { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
params: any; | ||
corner: Corners; | ||
return: any; | ||
constructor(parent: any, name: string, params?: object); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
getReturn: () => any; | ||
onMove: (lng: any, lat: any, height: any) => void; | ||
onMouseMove: (lng: any, lat: any, height: any) => void; | ||
onMouseOut: () => void; | ||
onFirstPersonUpdate: () => void; | ||
onOrbitalUpdate: () => void; | ||
setLink: (latlng?: any, style?: any, spriteId?: string) => void; | ||
linkMove: (lng: number, lat: number) => void; | ||
linkMouseMove: (lng: number, lat: number) => void; | ||
linkMouseOut: () => void; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
export default class Observe { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
id: string; | ||
helpDiv: HTMLElement; | ||
corner: Corners; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
private getInactiveContent; | ||
private getActiveContent; | ||
attachEvents: () => void; | ||
private setCamera; | ||
private leaveObserver; | ||
private getObserverValues; | ||
private keydownObserverSettings; | ||
private toggleFOVOverlay; | ||
private updateFOVOverlayBounds; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Corners } from '../generalTypes.d.ts'; | ||
interface Private { | ||
} | ||
export default class Walk { | ||
_: Private; | ||
p: any; | ||
name: string; | ||
helpDiv: HTMLElement; | ||
corner: Corners; | ||
constructor(parent: any, name: string); | ||
getControl: () => string; | ||
attachEvents: () => void; | ||
private setCamera; | ||
private leaveWalking; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
import { Vector2, Vector3 } from 'three'; | ||
interface Private { | ||
keepNear: boolean; | ||
crosshair: HTMLElement; | ||
} | ||
interface Orbit { | ||
camera: any; | ||
controls: any; | ||
near: number; | ||
far: number; | ||
} | ||
interface FirstPerson { | ||
camera: any; | ||
controls: any; | ||
lockControls: boolean; | ||
height: 3; | ||
} | ||
export default class Camera { | ||
_: Private; | ||
container: HTMLElement; | ||
sceneContainer: HTMLElement; | ||
camera: any; | ||
controls: any; | ||
orbit: Orbit; | ||
firstPerson: FirstPerson; | ||
isFirstPerson: boolean; | ||
isShift: boolean; | ||
moveForward?: boolean; | ||
moveBackward?: boolean; | ||
moveLeft?: boolean; | ||
moveRight?: boolean; | ||
canJump?: boolean; | ||
prevTime?: number; | ||
velocity?: Vector3; | ||
constructor(container: HTMLElement, sceneContainer: HTMLElement, scene: any, projection: any); | ||
reset(): void; | ||
_init(scene: any, projection: any): void; | ||
swap(lockControls: any, skipLock: any): void; | ||
private inToFirstPerson; | ||
private outFromFirstPerson; | ||
private toggleCrosshair; | ||
private requestPointerLocking; | ||
setupEvents(): void; | ||
onKeyDown: (event: KeyboardEvent) => void; | ||
onKeyUp: (event: KeyboardEvent) => void; | ||
updateSize: () => void; | ||
setNearFarPlane: (farther: any, near: any, far: any, keepNear: any) => void; | ||
setFirstPersonHeight: (height: any) => void; | ||
getFirstPersonFocalLength: () => number; | ||
setFirstPersonFocalLength: (focalLength: any) => void; | ||
getFirstPersonFOV: () => number; | ||
setFirstPersonFOV: (fov: any) => void; | ||
getFirstPersonAspect: () => number; | ||
setFirstPersonAspect: (aspect: any) => void; | ||
setCameraAzimuthElevation: (az: any, el: any, cameraIsFirstPerson: any) => void; | ||
update: () => Vector2; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
interface Private { | ||
mouseXY: { | ||
x: number; | ||
y: number; | ||
}; | ||
prevMouseXY: { | ||
x: number; | ||
y: number; | ||
}; | ||
containerXY: { | ||
x: number; | ||
y: number; | ||
}; | ||
lastZoomDelta: number; | ||
desiredZoom: number; | ||
zoomedSince: number; | ||
zoomWait: number; | ||
highlightTimeout: any; | ||
} | ||
export default class Events { | ||
_: Private; | ||
p: any; | ||
activeFeature: any; | ||
hoveredFeature: any; | ||
hoverInfo: HTMLElement; | ||
constructor(parent: any); | ||
_init(): void; | ||
_rotateGlobe: (e: any, prevXY?: any) => void; | ||
private _rotateAroundArbAxis; | ||
private _rotateGlobe_MouseDown; | ||
private _rotateGlobe_MouseUp; | ||
_checkDesiredZoom(): void; | ||
private _setZoom; | ||
_onZoom: (e?: any) => void; | ||
_onTouchZoom: (e: any) => void; | ||
_matchPlanetsLODToPlanet(): void; | ||
_refreshFrontGroupRotation(): void; | ||
private _onClick; | ||
_onMouseMove: (e?: any) => void; | ||
private _updateMouseCoords; | ||
private updateHoverInfoPosition; | ||
private _highlightFeature; | ||
private _unhighlightHoveredFeature; | ||
private setHoveredFeature; | ||
private clearHoveredFeature; | ||
private setActiveFeature; | ||
private clearActiveFeature; | ||
_attenuate(): void; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default class Renderer { | ||
renderer: any; | ||
container: HTMLElement; | ||
constructor(container: HTMLElement); | ||
_init(): void; | ||
updateSize: () => void; | ||
remove(): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { ShaderMaterial } from 'three'; | ||
declare const Shaders: { | ||
simplePoint: () => ShaderMaterial; | ||
multiTexture: (textures: any, fadeIn?: boolean) => ShaderMaterial; | ||
atmosphere: (color?: string) => ShaderMaterial; | ||
}; | ||
export default Shaders; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { XYZ } from '../generalTypes.d.ts'; | ||
export default class ClampedLayerer { | ||
p: any; | ||
constructor(parent: any); | ||
add: (layerObj: any, callback?: Function) => void; | ||
toggle: (name: string, on?: boolean) => boolean; | ||
setOpacity: (name: string, opacity: number) => boolean; | ||
remove: (name: string) => boolean; | ||
getClampedTexture: (i: number, xyz: XYZ) => any; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import Tile3dLayerer from './tile3d'; | ||
import TileLayerer from './tile'; | ||
import ClampedLayerer from './clamped'; | ||
import VectorLayerer from './vector'; | ||
interface Private { | ||
layerers: { | ||
tile3d: Tile3dLayerer; | ||
tile: TileLayerer; | ||
clamped: ClampedLayerer; | ||
vector: VectorLayerer; | ||
}; | ||
} | ||
export default class Layers { | ||
_: Private; | ||
p: any; | ||
baseStyle: any; | ||
tile3d: any; | ||
tile: any; | ||
clamped: any; | ||
vector: any; | ||
all: any; | ||
constructor(parent: any); | ||
_reset(): void; | ||
addLayer: (type: string, layerObj: any, callback?: Function, sI?: number) => void; | ||
removeLayer: (name: string) => boolean; | ||
toggleLayer: (name: string, on?: boolean) => boolean; | ||
setLayerOpacity: (name: string, opacity: number) => boolean; | ||
findHighestMaxZoom: () => number; | ||
findLowestMinZoom: () => number; | ||
private getFeatureStyleProp; | ||
getLayerByName: (layerName: string) => any; | ||
getFeatureStyle: (layer: any, feature: any, isStrokeless?: boolean) => any; | ||
} | ||
export {}; |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default class TileLayerer { | ||
p: any; | ||
constructor(parent: any); | ||
add: (layerObj: any) => void; | ||
toggle: (name: string, on?: boolean) => boolean; | ||
setOpacity: (name: string, opacity: number) => boolean; | ||
remove: (name: string) => boolean; | ||
} |
Oops, something went wrong.