cesium 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/{Core/Core.profile.js → Assets/Assets.profile.js} +0 -0
- data/app/assets/javascripts/Assets/package.json +6 -0
- data/app/assets/javascripts/Cesium.js +369 -351
- data/app/assets/javascripts/Core/BoundingSphere.js +0 -4
- data/app/assets/javascripts/Core/Cartesian2.js +19 -0
- data/app/assets/javascripts/Core/Cartesian3.js +25 -2
- data/app/assets/javascripts/Core/Cartesian4.js +23 -0
- data/app/assets/javascripts/Core/CatmullRomSpline.js +1 -4
- data/app/assets/javascripts/Core/Clock.js +23 -30
- data/app/assets/javascripts/Core/CubicRealPolynomial.js +1 -4
- data/app/assets/javascripts/Core/EllipsoidTangentPlane.js +1 -1
- data/app/assets/javascripts/Core/EllipsoidalOccluder.js +159 -6
- data/app/assets/javascripts/Core/Extent.js +1 -1
- data/app/assets/javascripts/Core/ExtentTessellator.js +72 -19
- data/app/assets/javascripts/Core/Fullscreen.js +1 -4
- data/app/assets/javascripts/Core/HeightmapTessellator.js +2 -10
- data/app/assets/javascripts/Core/Iau2006XysData.js +9 -2
- data/app/assets/javascripts/Core/IntersectionTests.js +154 -2
- data/app/assets/javascripts/Core/JulianDate.js +1 -1
- data/app/assets/javascripts/Core/Math.js +7 -0
- data/app/assets/javascripts/Core/OrientationInterpolator.js +3 -6
- data/app/assets/javascripts/Core/Plane.js +1 -1
- data/app/assets/javascripts/Core/PolygonPipeline.js +135 -1
- data/app/assets/javascripts/Core/PolylinePipeline.js +2 -1
- data/app/assets/javascripts/Core/ScreenSpaceEventHandler.js +9 -11
- data/app/assets/javascripts/Core/Shapes.js +0 -2
- data/app/assets/javascripts/Core/Simon1994PlanetaryPositions.js +3 -6
- data/app/assets/javascripts/Core/TaskProcessor.js +2 -4
- data/app/assets/javascripts/Core/Transforms.js +0 -2
- data/app/assets/javascripts/Core/buildModuleUrl.js +17 -9
- data/app/assets/javascripts/Core/defaultValue.js +0 -0
- data/app/assets/javascripts/Core/freezeObject.js +0 -0
- data/app/assets/javascripts/Core/getImagePixels.js +0 -0
- data/app/assets/javascripts/Core/loadArrayBuffer.js +0 -0
- data/app/assets/javascripts/Core/loadImage.js +0 -0
- data/app/assets/javascripts/Core/throttleRequestByServer.js +0 -0
- data/app/assets/javascripts/Core/writeTextToCanvas.js +0 -0
- data/app/assets/javascripts/DynamicScene/CompositeDynamicObjectCollection.js +14 -16
- data/app/assets/javascripts/DynamicScene/CzmlDataSource.js +197 -0
- data/app/assets/javascripts/DynamicScene/CzmlDefaults.js +10 -2
- data/app/assets/javascripts/DynamicScene/CzmlDirection.js +136 -0
- data/app/assets/javascripts/DynamicScene/DataSource.js +63 -0
- data/app/assets/javascripts/DynamicScene/DataSourceCollection.js +189 -0
- data/app/assets/javascripts/DynamicScene/DataSourceDisplay.js +225 -0
- data/app/assets/javascripts/DynamicScene/DynamicBillboardVisualizer.js +11 -11
- data/app/assets/javascripts/DynamicScene/DynamicClock.js +0 -4
- data/app/assets/javascripts/DynamicScene/DynamicConeVisualizerUsingCustomSensor.js +12 -12
- data/app/assets/javascripts/DynamicScene/DynamicDirectionsProperty.js +5 -7
- data/app/assets/javascripts/DynamicScene/DynamicEllipsoid.js +0 -2
- data/app/assets/javascripts/DynamicScene/DynamicEllipsoidVisualizer.js +20 -22
- data/app/assets/javascripts/DynamicScene/DynamicLabelVisualizer.js +10 -10
- data/app/assets/javascripts/DynamicScene/DynamicMaterialProperty.js +5 -7
- data/app/assets/javascripts/DynamicScene/DynamicObject.js +6 -0
- data/app/assets/javascripts/DynamicScene/DynamicObjectView.js +70 -2
- data/app/assets/javascripts/DynamicScene/DynamicPathVisualizer.js +1 -1
- data/app/assets/javascripts/DynamicScene/DynamicPointVisualizer.js +18 -20
- data/app/assets/javascripts/DynamicScene/DynamicPolygonVisualizer.js +12 -12
- data/app/assets/javascripts/DynamicScene/DynamicPolylineVisualizer.js +12 -12
- data/app/assets/javascripts/DynamicScene/DynamicPositionProperty.js +0 -4
- data/app/assets/javascripts/DynamicScene/DynamicPyramidVisualizer.js +12 -12
- data/app/assets/javascripts/DynamicScene/DynamicVector.js +184 -0
- data/app/assets/javascripts/DynamicScene/DynamicVectorVisualizer.js +267 -0
- data/app/assets/javascripts/DynamicScene/DynamicVertexPositionsProperty.js +2 -6
- data/app/assets/javascripts/DynamicScene/processCzml.js +1 -3
- data/app/assets/javascripts/Renderer/Context.js +119 -86
- data/app/assets/javascripts/Renderer/CubeMap.js +39 -17
- data/app/assets/javascripts/Renderer/CubeMapFace.js +20 -10
- data/app/assets/javascripts/Renderer/DrawCommand.js +1 -1
- data/app/assets/javascripts/Renderer/PickFramebuffer.js +0 -2
- data/app/assets/javascripts/Renderer/PixelDatatype.js +9 -0
- data/app/assets/javascripts/Renderer/Renderbuffer.js +0 -2
- data/app/assets/javascripts/Renderer/ShaderProgram.js +91 -11
- data/app/assets/javascripts/Renderer/Texture.js +27 -2
- data/app/assets/javascripts/Renderer/UniformState.js +43 -14
- data/app/assets/javascripts/Renderer/VertexArray.js +87 -132
- data/app/assets/javascripts/Renderer/VertexArrayFacade.js +2 -2
- data/app/assets/javascripts/Scene/AnimationCollection.js +21 -17
- data/app/assets/javascripts/Scene/ArcGisMapServerImageryProvider.js +0 -2
- data/app/assets/javascripts/Scene/Billboard.js +8 -51
- data/app/assets/javascripts/Scene/BillboardCollection.js +0 -6
- data/app/assets/javascripts/Scene/Camera.js +0 -2
- data/app/assets/javascripts/Scene/CameraController.js +81 -29
- data/app/assets/javascripts/Scene/CameraFlightPath.js +130 -72
- data/app/assets/javascripts/Scene/CentralBody.js +3 -16
- data/app/assets/javascripts/Scene/CentralBodySurface.js +12 -40
- data/app/assets/javascripts/Scene/CustomSensorVolume.js +0 -2
- data/app/assets/javascripts/Scene/DiscardMissingTileImagePolicy.js +0 -0
- data/app/assets/javascripts/Scene/EllipsoidPrimitive.js +0 -10
- data/app/assets/javascripts/Scene/HeightmapTerrainData.js +0 -6
- data/app/assets/javascripts/Scene/ImageryLayer.js +0 -4
- data/app/assets/javascripts/Scene/ImageryLayerCollection.js +0 -0
- data/app/assets/javascripts/Scene/ImageryProvider.js +0 -0
- data/app/assets/javascripts/Scene/LabelCollection.js +0 -2
- data/app/assets/javascripts/Scene/PerspectiveFrustum.js +0 -8
- data/app/assets/javascripts/Scene/Polygon.js +30 -20
- data/app/assets/javascripts/Scene/Polyline.js +0 -4
- data/app/assets/javascripts/Scene/Scene.js +64 -18
- data/app/assets/javascripts/Scene/SceneTransforms.js +151 -0
- data/app/assets/javascripts/Scene/SceneTransitioner.js +0 -2
- data/app/assets/javascripts/Scene/ScreenSpaceCameraController.js +0 -4
- data/app/assets/javascripts/Scene/SensorVolumeCollection.js +0 -12
- data/app/assets/javascripts/Scene/Sun.js +180 -0
- data/app/assets/javascripts/Scene/SunPostProcess.js +417 -0
- data/app/assets/javascripts/Scene/Tile.js +0 -12
- data/app/assets/javascripts/Scene/TileProviderError.js +2 -8
- data/app/assets/javascripts/Scene/TileReplacementQueue.js +11 -11
- data/app/assets/javascripts/Scene/VRTheWorldTerrainProvider.js +0 -2
- data/app/assets/javascripts/Scene/WebMapServiceImageryProvider.js +0 -2
- data/app/assets/javascripts/Scene/WebMercatorTilingScheme.js +0 -6
- data/app/assets/javascripts/Scene/sampleTerrain.js +0 -4
- data/app/assets/javascripts/Shaders/BuiltinFunctions.glsl +62 -0
- data/app/assets/javascripts/Shaders/BuiltinFunctions.js +62 -0
- data/app/assets/javascripts/Shaders/CentralBodyVS.glsl +3 -0
- data/app/assets/javascripts/Shaders/CentralBodyVS.js +3 -0
- data/app/assets/javascripts/Shaders/Materials/PolylineArrowMaterial.glsl +1 -1
- data/app/assets/javascripts/Shaders/Materials/PolylineArrowMaterial.js +1 -1
- data/app/assets/javascripts/Shaders/PolylineVS.glsl +8 -5
- data/app/assets/javascripts/Shaders/PolylineVS.js +8 -5
- data/app/assets/javascripts/Shaders/PostProcessFilters/AdditiveBlend.glsl +17 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/AdditiveBlend.js +23 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/BrightPass.glsl +30 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/BrightPass.js +36 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/GaussianBlur1D.glsl +37 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/GaussianBlur1D.js +43 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/PassThrough.glsl +8 -0
- data/app/assets/javascripts/Shaders/PostProcessFilters/PassThrough.js +14 -0
- data/app/assets/javascripts/Shaders/SunFS.glsl +11 -0
- data/app/assets/javascripts/Shaders/SunFS.js +17 -0
- data/app/assets/javascripts/Shaders/SunVS.glsl +28 -0
- data/app/assets/javascripts/Shaders/SunVS.js +34 -0
- data/app/assets/javascripts/ThirdParty/when.js +0 -0
- data/app/assets/javascripts/Widgets/Animation/Animation.js +6 -10
- data/app/assets/javascripts/Widgets/Animation/AnimationViewModel.js +4 -14
- data/app/assets/javascripts/Widgets/BaseLayerPicker/BaseLayerPicker.js +3 -8
- data/app/assets/javascripts/Widgets/BaseLayerPicker/BaseLayerPickerViewModel.js +6 -7
- data/app/assets/javascripts/Widgets/CesiumWidget/CesiumWidget.js +5 -3
- data/app/assets/javascripts/Widgets/ClockViewModel.js +6 -7
- data/app/assets/javascripts/Widgets/Command.js +16 -0
- data/app/assets/javascripts/Widgets/Dojo/CesiumViewerWidget.css +5 -21
- data/app/assets/javascripts/Widgets/Dojo/CesiumViewerWidget.html +1 -1
- data/app/assets/javascripts/Widgets/Dojo/CesiumViewerWidget.js +27 -62
- data/app/assets/javascripts/Widgets/{Fullscreen/FullscreenWidget.css → FullscreenButton/FullscreenButton.css} +3 -3
- data/app/assets/javascripts/Widgets/{Fullscreen/FullscreenWidget.js → FullscreenButton/FullscreenButton.js} +19 -23
- data/app/assets/javascripts/Widgets/{Fullscreen/FullscreenViewModel.js → FullscreenButton/FullscreenButtonViewModel.js} +16 -8
- data/app/assets/javascripts/Widgets/{Fullscreen → FullscreenButton}/lighter.css +3 -3
- data/app/assets/javascripts/Widgets/HomeButton/HomeButton.css +15 -0
- data/app/assets/javascripts/Widgets/HomeButton/HomeButton.js +82 -0
- data/app/assets/javascripts/Widgets/HomeButton/HomeButtonViewModel.js +139 -0
- data/app/assets/javascripts/Widgets/HomeButton/lighter.css +3 -0
- data/app/assets/javascripts/Widgets/SceneModePicker/SceneModePicker.js +3 -8
- data/app/assets/javascripts/Widgets/Timeline/Timeline.js +9 -11
- data/app/assets/javascripts/Widgets/createCommand.js +33 -9
- data/app/assets/javascripts/Widgets/lighter.css +2 -1
- data/app/assets/javascripts/Widgets/widgets.css +2 -1
- data/app/assets/javascripts/Workers/cesiumWorkerBootstrapper.js +0 -0
- data/app/assets/javascripts/Workers/createTaskProcessorWorker.js +0 -0
- data/app/assets/javascripts/Workers/createVerticesFromHeightmap.js +4 -15
- data/app/assets/javascripts/Workers/package.json +6 -0
- data/lib/cesium/version.rb +1 -1
- data/test/dummy/log/development.log +4884 -0
- data/test/dummy/tmp/cache/assets/B99/0B0/sprockets%2F4723632036683061b3298399d52922e7 +0 -0
- data/test/dummy/tmp/cache/assets/BF8/BC0/sprockets%2F1982805b53487d15554f20955019b8c4 +0 -0
- data/test/dummy/tmp/cache/assets/C07/150/sprockets%2F1b420211d4602737f80569030633dbf0 +0 -0
- data/test/dummy/tmp/cache/assets/C12/030/sprockets%2Fbd84b00d783150a219825433401a7946 +0 -0
- data/test/dummy/tmp/cache/assets/C21/2F0/sprockets%2F542b776b2358128506142733e2f7bc94 +0 -0
- data/test/dummy/tmp/cache/assets/C23/080/sprockets%2F7953320c0848d5564133365a6c3d728d +0 -0
- data/test/dummy/tmp/cache/assets/C26/5B0/sprockets%2F55b830337d0462859671b7e5447ed430 +0 -0
- data/test/dummy/tmp/cache/assets/C27/DA0/sprockets%2Fe49200d07769d24f54f721d890142818 +0 -0
- data/test/dummy/tmp/cache/assets/C40/040/sprockets%2F755e3952d9331b86782d4a7478a59299 +0 -0
- data/test/dummy/tmp/cache/assets/C42/440/sprockets%2F1b618402da380cb405d971458a874033 +0 -0
- data/test/dummy/tmp/cache/assets/C44/870/sprockets%2Fc7607e52811e723312c83d096c611c32 +0 -0
- data/test/dummy/tmp/cache/assets/C46/770/sprockets%2F9b6c82d0454ab5ba8727173860060324 +0 -0
- data/test/dummy/tmp/cache/assets/C46/E60/sprockets%2F151028e967f13248ca6121c9407242cf +0 -0
- data/test/dummy/tmp/cache/assets/C48/360/sprockets%2Fc966013651008025255f5b53b1d63f9e +0 -0
- data/test/dummy/tmp/cache/assets/C4A/020/sprockets%2F162d504e77459f0304b964139300cfe3 +0 -0
- data/test/dummy/tmp/cache/assets/C4A/2B0/sprockets%2F821c1d08482a9b936b661a56444551b3 +0 -0
- data/test/dummy/tmp/cache/assets/C53/040/sprockets%2F52411d26c4863636c7ae5b5090690f94 +0 -0
- data/test/dummy/tmp/cache/assets/C57/D10/sprockets%2F784e21cb5b634a598629115ef4685213 +0 -0
- data/test/dummy/tmp/cache/assets/C63/070/sprockets%2F8e770283d268526610e99264922dce9b +0 -0
- data/test/dummy/tmp/cache/assets/C64/730/sprockets%2F78fd706ba991f21a399070866616c297 +0 -0
- data/test/dummy/tmp/cache/assets/C6D/AC0/sprockets%2Fa1344c280c4d1518b6c15c357543247a +0 -0
- data/test/dummy/tmp/cache/assets/C76/F10/sprockets%2F536e031c5d9a257b602d38f8711480a2 +0 -0
- data/test/dummy/tmp/cache/assets/C7C/7C0/sprockets%2F951d4a02d8b2ce148765e618081a8036 +0 -0
- data/test/dummy/tmp/cache/assets/C80/780/sprockets%2F49930c35001a30c38745b89a6a86cf74 +0 -0
- data/test/dummy/tmp/cache/assets/C82/580/sprockets%2F8118f4526088ba8fd441f20317475d6b +0 -0
- data/test/dummy/tmp/cache/assets/C82/AA0/sprockets%2Fd83006c52345d7fe51216f1e577a8185 +0 -0
- data/test/dummy/tmp/cache/assets/C84/A30/sprockets%2F4867b0b9b390b58a539162663f95a11d +0 -0
- data/test/dummy/tmp/cache/assets/C85/310/sprockets%2Fc638d86c720815e5b635e0a3646e2186 +0 -0
- data/test/dummy/tmp/cache/assets/C85/A90/sprockets%2Fc1f8ee195823c02e7b7c623493141937 +0 -0
- data/test/dummy/tmp/cache/assets/C86/030/sprockets%2F0ad25c896165036167b94387675bcdd1 +0 -0
- data/test/dummy/tmp/cache/assets/C86/1D0/sprockets%2F27b505354597df6d366bbc531082e198 +0 -0
- data/test/dummy/tmp/cache/assets/C88/400/sprockets%2F9454b598601cfa56142892fc3f11e267 +0 -0
- data/test/dummy/tmp/cache/assets/C88/960/sprockets%2F50655bc2c86c7c3007756af818375e64 +0 -0
- data/test/dummy/tmp/cache/assets/C89/9E0/sprockets%2Fbc5d891273e7d61e56762000337868bf +0 -0
- data/test/dummy/tmp/cache/assets/C8B/0F0/sprockets%2F3317c35ce7597681091ac91985d08bb5 +0 -0
- data/test/dummy/tmp/cache/assets/C8B/A30/sprockets%2Fe20153c26552232703d0f4a5a60b10ed +0 -0
- data/test/dummy/tmp/cache/assets/C8E/1A0/sprockets%2F7937090f77385164f68c0ee252b26be5 +0 -0
- data/test/dummy/tmp/cache/assets/C8E/E40/sprockets%2F96aaf9af5e7906347880902610773bc5 +0 -0
- data/test/dummy/tmp/cache/assets/C92/5E0/sprockets%2F6638d8088cb498bf531942a54706ad85 +0 -0
- data/test/dummy/tmp/cache/assets/C92/E60/sprockets%2Fa80a146215a040d03e312a796c0b95f2 +0 -0
- data/test/dummy/tmp/cache/assets/C93/F70/sprockets%2F65f6452a7e17925ac0894c3e1858874c +0 -0
- data/test/dummy/tmp/cache/assets/C94/200/sprockets%2F8dae686ee6012f59a55568f381753237 +0 -0
- data/test/dummy/tmp/cache/assets/C94/230/sprockets%2Ff1065a9c342c30d071c501513a608e7a +0 -0
- data/test/dummy/tmp/cache/assets/C9B/D70/sprockets%2F3673a307810246b3d9e4ca84d3a8000a +0 -0
- data/test/dummy/tmp/cache/assets/C9F/CE0/sprockets%2F56383454ba44300671223dd6ab4b7ed3 +0 -0
- data/test/dummy/tmp/cache/assets/CA0/400/sprockets%2F416eb009b505cf50a4088253ba48268a +0 -0
- data/test/dummy/tmp/cache/assets/CA2/4E0/sprockets%2F064662810df01b94c2434af6f90161af +0 -0
- data/test/dummy/tmp/cache/assets/CA4/0A0/sprockets%2F482164b83a43ac07c4e351f2a936247b +0 -0
- data/test/dummy/tmp/cache/assets/CA5/F30/sprockets%2Fb2f70423bf51f566d201679bd037170e +0 -0
- data/test/dummy/tmp/cache/assets/CA9/5A0/sprockets%2F8282351dd11504a68cbc8500b7786cf2 +0 -0
- data/test/dummy/tmp/cache/assets/CA9/E20/sprockets%2F1ca84c82be52603a0c947256a38a0598 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/D90/sprockets%2Fd477a5c2046351a0c462bb945e3954e5 +0 -0
- data/test/dummy/tmp/cache/assets/CB3/C00/sprockets%2F63c296a983bb460c9848035483be2cb2 +0 -0
- data/test/dummy/tmp/cache/assets/CB7/ED0/sprockets%2Ff8695d0f1536c18f414dfa467632323f +0 -0
- data/test/dummy/tmp/cache/assets/CB7/FA0/sprockets%2F62d364e38ba9b500f8b1633367f782b9 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/180/sprockets%2Fe66eae8997e04c4bf70531e166511662 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/3D0/sprockets%2F82660934f515fc61a144b9c9cd39c482 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/EA0/sprockets%2F9e63d365e2159c725d111698cc04a7e7 +0 -0
- data/test/dummy/tmp/cache/assets/CB8/EF0/sprockets%2Ff47909056b54fbb653c60c2b89746b07 +0 -0
- data/test/dummy/tmp/cache/assets/CB9/0C0/sprockets%2F4e8172b657637124dc8887da053dc90d +0 -0
- data/test/dummy/tmp/cache/assets/CBA/250/sprockets%2F39bb3860405888c9f3b4b35c738b940c +0 -0
- data/test/dummy/tmp/cache/assets/CBB/E80/sprockets%2F43b17645e39f018bc195bc9828f4b357 +0 -0
- data/test/dummy/tmp/cache/assets/CBC/520/sprockets%2Fc6485291750c5ad1b2498ad90498a67f +0 -0
- data/test/dummy/tmp/cache/assets/CBC/620/sprockets%2Fa222028f7794f7e9c619a390b389f0d3 +0 -0
- data/test/dummy/tmp/cache/assets/CBC/6C0/sprockets%2F464439bf5a0e28d80594ee09a9509f51 +0 -0
- data/test/dummy/tmp/cache/assets/CBC/6C0/sprockets%2F6f494cff47ee245d30168217542c66d6 +0 -0
- data/test/dummy/tmp/cache/assets/CBF/8B0/sprockets%2F5c98534d57c1e7f7d2926173d27e4d14 +0 -0
- data/test/dummy/tmp/cache/assets/CC0/170/sprockets%2F458478f2faf8559d5008ca28c64232f7 +0 -0
- data/test/dummy/tmp/cache/assets/CC0/640/sprockets%2Fd0118b2031c44248f899dc8f66784c9e +0 -0
- data/test/dummy/tmp/cache/assets/CC0/E60/sprockets%2F9731b0739ec7356b2e484cb427d6955f +0 -0
- data/test/dummy/tmp/cache/assets/CC4/B10/sprockets%2F55b1a4137e59cad5520e1f012eb29021 +0 -0
- data/test/dummy/tmp/cache/assets/CC4/B80/sprockets%2F5b090557c9468f93cc1ab77898ba2629 +0 -0
- data/test/dummy/tmp/cache/assets/CC7/0B0/sprockets%2Fa26009e31f9e68672f4fc7f873909a64 +0 -0
- data/test/dummy/tmp/cache/assets/CC7/370/sprockets%2F9603f587d0629697951e09f1d4fdaf25 +0 -0
- data/test/dummy/tmp/cache/assets/CCF/F90/sprockets%2F5829cbee03489d953e8a7f842925776b +0 -0
- data/test/dummy/tmp/cache/assets/CD3/250/sprockets%2F9982c13eacaf46622739beab50120614 +0 -0
- data/test/dummy/tmp/cache/assets/CD4/6A0/sprockets%2F46b43cd41eba3026e74fa4b450369707 +0 -0
- data/test/dummy/tmp/cache/assets/CD4/D20/sprockets%2F02e2c15292e6082a4626f13a4aa839ff +0 -0
- data/test/dummy/tmp/cache/assets/CD8/C00/sprockets%2F9090b24116705be9a907d1db3b66a65e +0 -0
- data/test/dummy/tmp/cache/assets/CD8/D40/sprockets%2F73570572f17300ebf2dda1ef2635149e +0 -0
- data/test/dummy/tmp/cache/assets/CD9/970/sprockets%2F136161482305ce48be8cb039cba47f64 +0 -0
- data/test/dummy/tmp/cache/assets/CD9/D90/sprockets%2F87979893cfde1b28afc60797a9948345 +0 -0
- data/test/dummy/tmp/cache/assets/CDC/B50/sprockets%2F0f1e213595a02089df9735ec41c3ee80 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/4D0/sprockets%2F0f6b3e82dd3d95341ee015499e3072b3 +0 -0
- data/test/dummy/tmp/cache/assets/CDF/710/sprockets%2F16d775d6707a066df80d10cd1528ff33 +0 -0
- data/test/dummy/tmp/cache/assets/CE0/8E0/sprockets%2Ff8d73c0137e4da7517c4127b6e056d29 +0 -0
- data/test/dummy/tmp/cache/assets/CE1/A00/sprockets%2F168b4bf7364dfd883a5930302e0f554c +0 -0
- data/test/dummy/tmp/cache/assets/CE3/240/sprockets%2F018ba37f3cc68a07d752729e44e1790e +0 -0
- data/test/dummy/tmp/cache/assets/CE5/3C0/sprockets%2F51278e12fb2f83652a4698d0a7ffa625 +0 -0
- data/test/dummy/tmp/cache/assets/CE5/820/sprockets%2Fd5837a90d9d83d7208a14905e1f0f63d +0 -0
- data/test/dummy/tmp/cache/assets/CE5/A80/sprockets%2Ff284835027dd09004e65c8c7fcf4137d +0 -0
- data/test/dummy/tmp/cache/assets/CE5/F10/sprockets%2Fe9cf045465025d8527c83c3b93625fca +0 -0
- data/test/dummy/tmp/cache/assets/CE5/F80/sprockets%2F411e28ad08572cd67fcf1901569c45c8 +0 -0
- data/test/dummy/tmp/cache/assets/CE6/4A0/sprockets%2F9c04b8b8df7217a708732da4982a5f61 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/650/sprockets%2F834b60044436456eefb9ce5cf7144d38 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/970/sprockets%2Fc89cf760b663827c5e771b93d107b2c2 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/A40/sprockets%2F2974c4aef7a04f06738c8f6a2066e292 +0 -0
- data/test/dummy/tmp/cache/assets/CE7/C70/sprockets%2F8627e999f207ce7214e0ab06afe86412 +0 -0
- data/test/dummy/tmp/cache/assets/CE8/AA0/sprockets%2Fd569f5f91016b77401782ef3b42de6a6 +0 -0
- data/test/dummy/tmp/cache/assets/CE8/C90/sprockets%2Fb58b83d1bc902887bc247af8336556c4 +0 -0
- data/test/dummy/tmp/cache/assets/CEA/860/sprockets%2F198736e2441a36cecc857814e7dda932 +0 -0
- data/test/dummy/tmp/cache/assets/CEB/0A0/sprockets%2Fa19152c9838b60787bad54bf0f5f6448 +0 -0
- data/test/dummy/tmp/cache/assets/CEB/B70/sprockets%2F139d9789a1a5e456ca4f796db15c5450 +0 -0
- data/test/dummy/tmp/cache/assets/CEB/B80/sprockets%2Fbd5b638965aac89832c75292e6c1435c +0 -0
- data/test/dummy/tmp/cache/assets/CEC/030/sprockets%2F15d996d59f6c9ce6c21f52604b903c71 +0 -0
- data/test/dummy/tmp/cache/assets/CEC/B30/sprockets%2F7cf9a1c683f008354d7837ea11439f6f +0 -0
- data/test/dummy/tmp/cache/assets/CEC/B60/sprockets%2F9dec0e0f236608a79f6690cf29211e59 +0 -0
- data/test/dummy/tmp/cache/assets/CED/500/sprockets%2F23db1088d6beb9cff9245e1648555294 +0 -0
- data/test/dummy/tmp/cache/assets/CED/5E0/sprockets%2F6e94c3343eb6f33eb4fd9803085d2983 +0 -0
- data/test/dummy/tmp/cache/assets/CED/730/sprockets%2Ffd2399e766d1a513490bd481898b2eb5 +0 -0
- data/test/dummy/tmp/cache/assets/CEE/920/sprockets%2F97c97b08d42738b583ed92b55c540a4f +0 -0
- data/test/dummy/tmp/cache/assets/CEE/C90/sprockets%2Fc66d1d80067892e2b17e3666f8255eec +0 -0
- data/test/dummy/tmp/cache/assets/CEF/160/sprockets%2F74caa14e02046241cad519b5c36c20a6 +0 -0
- data/test/dummy/tmp/cache/assets/CEF/F00/sprockets%2F8ac77338a1dc57bb32999653c561e74e +0 -0
- data/test/dummy/tmp/cache/assets/CF0/950/sprockets%2Fd08f99c34c161881adb05d342e8984f9 +0 -0
- data/test/dummy/tmp/cache/assets/CF1/980/sprockets%2Ffe3e06873a1d9f624947006e38fac498 +0 -0
- data/test/dummy/tmp/cache/assets/CF5/5C0/sprockets%2F64a4190014fe00d17e708fc02dfc2a32 +0 -0
- data/test/dummy/tmp/cache/assets/CF5/760/sprockets%2F681176b164b052212cabffc000e548ae +0 -0
- data/test/dummy/tmp/cache/assets/CF8/130/sprockets%2Fd519234d99322fc8c5e8d16d52e96d78 +0 -0
- data/test/dummy/tmp/cache/assets/CF8/8A0/sprockets%2Fa4144fea021936c315c3e315b56d6c2a +0 -0
- data/test/dummy/tmp/cache/assets/CF9/B70/sprockets%2F8144ebf49f85b18c46d90b897239b56e +0 -0
- data/test/dummy/tmp/cache/assets/CF9/EB0/sprockets%2F6b591f1a73b4b1b13410a5e3d0c2e488 +0 -0
- data/test/dummy/tmp/cache/assets/CFC/7F0/sprockets%2F6158d3ff6993e4c114a894dd371999ec +0 -0
- data/test/dummy/tmp/cache/assets/CFD/160/sprockets%2Fc63d29c7bc89b27fc00430230ba1d383 +0 -0
- data/test/dummy/tmp/cache/assets/CFD/750/sprockets%2Ff86ed3e35003369a86787f9cb98de345 +0 -0
- data/test/dummy/tmp/cache/assets/CFF/FC0/sprockets%2Ff34d34ffdba26c9d04860c02d6412107 +0 -0
- data/test/dummy/tmp/cache/assets/D00/5D0/sprockets%2F02f5e8429793cb8b4b69d38f8a7395e9 +0 -0
- data/test/dummy/tmp/cache/assets/D00/690/sprockets%2F488324fb426a1e3cb3ca16488caf4004 +0 -0
- data/test/dummy/tmp/cache/assets/D01/6F0/sprockets%2F740aff323f074082319acda2a34e781e +0 -0
- data/test/dummy/tmp/cache/assets/D02/320/sprockets%2F95d58a54f71758967c19cec8367ceb83 +0 -0
- data/test/dummy/tmp/cache/assets/D02/4C0/sprockets%2F6386d72b2c51c911a7fd84ba612430cc +0 -0
- data/test/dummy/tmp/cache/assets/D02/9C0/sprockets%2F65be886f420229fb150c2c10ea747c1b +0 -0
- data/test/dummy/tmp/cache/assets/D03/B80/sprockets%2F31dd24009526a39382b08eee51c6ad5c +0 -0
- data/test/dummy/tmp/cache/assets/D05/8A0/sprockets%2Fd1e45653c3a4190fb4dcc1b690781a55 +0 -0
- data/test/dummy/tmp/cache/assets/D06/590/sprockets%2F19c899c20cf5d9b8629878e3add89708 +0 -0
- data/test/dummy/tmp/cache/assets/D06/A70/sprockets%2Ff5da4e04222a35db9d267255424bf5c6 +0 -0
- data/test/dummy/tmp/cache/assets/D07/7F0/sprockets%2F3fb0ed6b32aa83a6878d12a209c38824 +0 -0
- data/test/dummy/tmp/cache/assets/D07/BF0/sprockets%2F47962bb2378ffb6010aaa3c0238f6d66 +0 -0
- data/test/dummy/tmp/cache/assets/D07/DC0/sprockets%2Fcf13f583677aa0343a26a3c58d25b1e8 +0 -0
- data/test/dummy/tmp/cache/assets/D09/020/sprockets%2F5176362c460747d5ebeb6c2ca3e02d84 +0 -0
- data/test/dummy/tmp/cache/assets/D09/7F0/sprockets%2Fa2d67c31222348f16a9812df26da3e8d +0 -0
- data/test/dummy/tmp/cache/assets/D0A/DD0/sprockets%2F00e49bc1f2658a16cb7682a0a8e95c16 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/3E0/sprockets%2F66c11f02337c8851bfab67bbb3b94916 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/E20/sprockets%2Ffabf936c2485109116fb25a3a277b28f +0 -0
- data/test/dummy/tmp/cache/assets/D0C/2E0/sprockets%2Fecb35ec370e250a63784c2f508b76a38 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/010/sprockets%2F797b9e08c55a2106f8e2dace455710d0 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/180/sprockets%2F045e183281dfc37485db513d585c5bdb +0 -0
- data/test/dummy/tmp/cache/assets/D0E/4E0/sprockets%2Fb2cdbc63ab95b474d109990759329a2a +0 -0
- data/test/dummy/tmp/cache/assets/D0E/7B0/sprockets%2Faf821bc72620991b57062886abfc0f8a +0 -0
- data/test/dummy/tmp/cache/assets/D0E/A90/sprockets%2F4ed87cbd33472d8a68d129e7c0a24045 +0 -0
- data/test/dummy/tmp/cache/assets/D0E/E40/sprockets%2Fdc478cae3337db897210c13c9c711e82 +0 -0
- data/test/dummy/tmp/cache/assets/D0F/590/sprockets%2F0602a50a4d729e9be6e2589d62d028bf +0 -0
- data/test/dummy/tmp/cache/assets/D10/890/sprockets%2Fdfa76c032ef4cb2636762a847488e0a2 +0 -0
- data/test/dummy/tmp/cache/assets/D11/FC0/sprockets%2F9bd6c83d367423fe05ef6c3338143aa6 +0 -0
- data/test/dummy/tmp/cache/assets/D12/1C0/sprockets%2F5901cb9faf1725dd2e472ca2965b4287 +0 -0
- data/test/dummy/tmp/cache/assets/D13/520/sprockets%2F3316346df1f7f5ff0202f8d5b4742de7 +0 -0
- data/test/dummy/tmp/cache/assets/D13/690/sprockets%2F305c399e52a63447a7be45c4d5d3dd74 +0 -0
- data/test/dummy/tmp/cache/assets/D13/6B0/sprockets%2F0975ed2a9d299bf1c719b3b1137e581b +0 -0
- data/test/dummy/tmp/cache/assets/D14/340/sprockets%2F4d057c80e80694c2c4d637ecd538bc08 +0 -0
- data/test/dummy/tmp/cache/assets/D14/BD0/sprockets%2Ffc2255112852fb55d96d41a92f8fb6b6 +0 -0
- data/test/dummy/tmp/cache/assets/D15/BD0/sprockets%2Fb15d82cc0a8387b5333c89a746d49f0e +0 -0
- data/test/dummy/tmp/cache/assets/D16/420/sprockets%2Fc1439b84cda5475e55f3d8da6071467c +0 -0
- data/test/dummy/tmp/cache/assets/D17/6C0/sprockets%2F69144d8b21e495ac17e4994fdfa3a803 +0 -0
- data/test/dummy/tmp/cache/assets/D19/680/sprockets%2Fcd3a545b89d274cfd328f4d341f96272 +0 -0
- data/test/dummy/tmp/cache/assets/D19/760/sprockets%2F6cb307be30e1d67f838e8d11a0678d89 +0 -0
- data/test/dummy/tmp/cache/assets/D19/AD0/sprockets%2F113bd6f12a1645dc5cc6a10bb3045b15 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/210/sprockets%2F92ebfed0378e79e9bc22e628733d4042 +0 -0
- data/test/dummy/tmp/cache/assets/D1B/A60/sprockets%2F0f13887548f4f3b551c8c4a4b487e6bd +0 -0
- data/test/dummy/tmp/cache/assets/D1E/360/sprockets%2F4a6a3690f7ffd0ee9f19758978b3a200 +0 -0
- data/test/dummy/tmp/cache/assets/D1E/370/sprockets%2F99ee518676e86a61ec0dca0706665c5d +0 -0
- data/test/dummy/tmp/cache/assets/D1F/5D0/sprockets%2Fce9e23d48e27f794d23915d707fb9b03 +0 -0
- data/test/dummy/tmp/cache/assets/D20/A50/sprockets%2F4783e2bd28795d2da95bb0e195d9735e +0 -0
- data/test/dummy/tmp/cache/assets/D22/0B0/sprockets%2F9dfda36b032e59892637b875d7af392b +0 -0
- data/test/dummy/tmp/cache/assets/D22/2C0/sprockets%2Fe42d5d90d467a803999bdec116955f8b +0 -0
- data/test/dummy/tmp/cache/assets/D22/820/sprockets%2F1bc531079d5acc4c26b027b910b2af42 +0 -0
- data/test/dummy/tmp/cache/assets/D22/D40/sprockets%2Fc4121b103539f9c9fa321f05b1cb0a6b +0 -0
- data/test/dummy/tmp/cache/assets/D23/610/sprockets%2F0e51cca080cc65e62e080941b232a1ed +0 -0
- data/test/dummy/tmp/cache/assets/D25/C00/sprockets%2Ff63d097054df34bc660bdf98f7661b99 +0 -0
- data/test/dummy/tmp/cache/assets/D25/E40/sprockets%2F72fe6a6283eff449a28d79d8c33494d0 +0 -0
- data/test/dummy/tmp/cache/assets/D2A/6F0/sprockets%2Fd6e43c7223231cda4b71e82ba285bd40 +0 -0
- data/test/dummy/tmp/cache/assets/D2D/E40/sprockets%2Faf21fa3d26ad3f68a23532178e20fb15 +0 -0
- data/test/dummy/tmp/cache/assets/D2F/100/sprockets%2F8c0286ee70744ca12c7c12a563de4b2a +0 -0
- data/test/dummy/tmp/cache/assets/D2F/770/sprockets%2F02fc9c6163ec87ca3301a8ed104a5d63 +0 -0
- data/test/dummy/tmp/cache/assets/D30/5C0/sprockets%2F22dfce18279e968c8824f70808e6fce8 +0 -0
- data/test/dummy/tmp/cache/assets/D30/9E0/sprockets%2F0d913be407e5e0c8732bc2c4ed6e2160 +0 -0
- data/test/dummy/tmp/cache/assets/D34/020/sprockets%2F99d101b09145af7ac80cdd219ee4730b +0 -0
- data/test/dummy/tmp/cache/assets/D35/120/sprockets%2Fee634821c4051385267b64ef5dcba3aa +0 -0
- data/test/dummy/tmp/cache/assets/D36/7F0/sprockets%2F78e0c63f0043ae6e6536ec504cc23a9b +0 -0
- data/test/dummy/tmp/cache/assets/D36/E70/sprockets%2F69b00a4118d012bf6d7cf293b5f316ff +0 -0
- data/test/dummy/tmp/cache/assets/D39/3A0/sprockets%2F2e21042d01b594dd46e5a7b2bece9389 +0 -0
- data/test/dummy/tmp/cache/assets/D3A/7B0/sprockets%2Ff812a5e25abeb03b136494656f3b79bc +0 -0
- data/test/dummy/tmp/cache/assets/D3A/A00/sprockets%2F1077cd94fef55fbb01ce529612180bd5 +0 -0
- data/test/dummy/tmp/cache/assets/D3A/ED0/sprockets%2F5ae1cf0266d63b8eb0647535ca93b63d +0 -0
- data/test/dummy/tmp/cache/assets/D3C/640/sprockets%2F42e7a70bb8be9398385afb3c4742aa04 +0 -0
- data/test/dummy/tmp/cache/assets/D3C/BB0/sprockets%2Ff498d519cb8ac1895bb3aa90117d424a +0 -0
- data/test/dummy/tmp/cache/assets/D3D/A60/sprockets%2Fc1ddc173463642dde6a64d0ae5518c79 +0 -0
- data/test/dummy/tmp/cache/assets/D3E/940/sprockets%2F5ed82a03c1de5c34135b67ff053787ec +0 -0
- data/test/dummy/tmp/cache/assets/D3E/CF0/sprockets%2Ffdaaeb4c030471898b22f8c144f76b56 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/050/sprockets%2Fab4aa96dbce1e6b359f2658118291d90 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/350/sprockets%2Fc430fa77be69b17f1c9d6c01d667501f +0 -0
- data/test/dummy/tmp/cache/assets/D3F/6B0/sprockets%2Fd4c6072434f9fab0ef336571f108efb6 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/E10/sprockets%2Ff8492202733ea4a4f67065c95eec1beb +0 -0
- data/test/dummy/tmp/cache/assets/D40/D10/sprockets%2F7af151c9b6080d9285fe058ae6d40c4d +0 -0
- data/test/dummy/tmp/cache/assets/D41/8A0/sprockets%2Fbc7ce77806517ea173350e6a4d8c55db +0 -0
- data/test/dummy/tmp/cache/assets/D42/140/sprockets%2F1cb73727ffa2680da8200ea7abf78669 +0 -0
- data/test/dummy/tmp/cache/assets/D42/DC0/sprockets%2F6c6197617cfb36bcc7bac0477815a3f5 +0 -0
- data/test/dummy/tmp/cache/assets/D43/6F0/sprockets%2F38649a8cba0b6c9788cb58f6e03da040 +0 -0
- data/test/dummy/tmp/cache/assets/D43/FE0/sprockets%2F5d585d195aa6c45453c7d8125fcb1dc8 +0 -0
- data/test/dummy/tmp/cache/assets/D44/4B0/sprockets%2F0eecb09395e147d5b94245d54cc8d6d2 +0 -0
- data/test/dummy/tmp/cache/assets/D45/3B0/sprockets%2Fd26b5a0d570ef57d06df6f032e9b8980 +0 -0
- data/test/dummy/tmp/cache/assets/D46/600/sprockets%2F1c942ecb30874a3f9e9fea418725ab75 +0 -0
- data/test/dummy/tmp/cache/assets/D46/770/sprockets%2F96355435f9ab8090c2d3e4f0ddd9b7c3 +0 -0
- data/test/dummy/tmp/cache/assets/D46/8A0/sprockets%2F49683a7741a9baf859c3aa7ff32a417b +0 -0
- data/test/dummy/tmp/cache/assets/D46/930/sprockets%2F3f7e8c9b45f15625db37da7d7325dc05 +0 -0
- data/test/dummy/tmp/cache/assets/D46/C80/sprockets%2Ff4ba1c28702e084d8c375097c78aea9e +0 -0
- data/test/dummy/tmp/cache/assets/D47/670/sprockets%2F95284b12addf9c46e49d92031ace56d8 +0 -0
- data/test/dummy/tmp/cache/assets/D47/8F0/sprockets%2F1cc6e49382be4f74cbb97821ae1928c4 +0 -0
- data/test/dummy/tmp/cache/assets/D47/AC0/sprockets%2Fcb9189183de4d74faa04d6ad1347964f +0 -0
- data/test/dummy/tmp/cache/assets/D48/250/sprockets%2F84991347702fd5edbb2ebb5515963ece +0 -0
- data/test/dummy/tmp/cache/assets/D48/2F0/sprockets%2F6b79e4839df89b4abb51c2c6105d15e8 +0 -0
- data/test/dummy/tmp/cache/assets/D48/960/sprockets%2F90e2c11ff8fd31e591b9fd39932631bf +0 -0
- data/test/dummy/tmp/cache/assets/D4A/DE0/sprockets%2F45bff385904356cf5b4852a8ef07e1fb +0 -0
- data/test/dummy/tmp/cache/assets/D4E/5A0/sprockets%2Ffb32d449b4bc8d5193d5daf6838f1667 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/6C0/sprockets%2Fedd9cf282af0f00637e5273c8c3888b9 +0 -0
- data/test/dummy/tmp/cache/assets/D50/810/sprockets%2Fee536e389f63f834aece59d21801d36f +0 -0
- data/test/dummy/tmp/cache/assets/D50/ED0/sprockets%2F5332ba66dc2dfa796617ee96ce9d9900 +0 -0
- data/test/dummy/tmp/cache/assets/D51/230/sprockets%2F742ba6ca9f84d98ffc38ca5687c05155 +0 -0
- data/test/dummy/tmp/cache/assets/D53/440/sprockets%2F2def445147b9f5d6363f6f6d497d2f0e +0 -0
- data/test/dummy/tmp/cache/assets/D53/530/sprockets%2F59ee24852d9e4f5fbc71c76d036ec773 +0 -0
- data/test/dummy/tmp/cache/assets/D53/E50/sprockets%2Fb969596338bb3970b4d09a9bf1dd4ff6 +0 -0
- data/test/dummy/tmp/cache/assets/D54/0D0/sprockets%2F448752db3a53dd453db1b01de121ebd2 +0 -0
- data/test/dummy/tmp/cache/assets/D54/210/sprockets%2F685458463f9ac9566ebff2e93bbc920b +0 -0
- data/test/dummy/tmp/cache/assets/D56/140/sprockets%2F20a89c927f3ff593ebf3349f31f39e9a +0 -0
- data/test/dummy/tmp/cache/assets/D56/1F0/sprockets%2F291fcb7a26ff3aac6bc1404e0a247242 +0 -0
- data/test/dummy/tmp/cache/assets/D56/BA0/sprockets%2Fed013a2db663133e834b255e3aff20da +0 -0
- data/test/dummy/tmp/cache/assets/D59/070/sprockets%2F822cd47e69d40ba87f95181fdd698ed5 +0 -0
- data/test/dummy/tmp/cache/assets/D5D/120/sprockets%2F1d71e8cf1b3ca05ca8165a84a90bb615 +0 -0
- data/test/dummy/tmp/cache/assets/D5F/7F0/sprockets%2Fabbcc55042a82b42c900c09d59de4c29 +0 -0
- data/test/dummy/tmp/cache/assets/D5F/A30/sprockets%2F1b6a076e9dfac220107d3ec6b4a3b766 +0 -0
- data/test/dummy/tmp/cache/assets/D61/180/sprockets%2F8d15744bb332d6b8b1ffef2ce0315c04 +0 -0
- data/test/dummy/tmp/cache/assets/D62/2E0/sprockets%2F51a06ddef9bd05b405fd605d37be3154 +0 -0
- data/test/dummy/tmp/cache/assets/D63/D60/sprockets%2Ff791df22a3d7e2f4ef01ad0742f370c1 +0 -0
- data/test/dummy/tmp/cache/assets/D63/DC0/sprockets%2Fc298c2b66150c7f11d95cecf450bb14a +0 -0
- data/test/dummy/tmp/cache/assets/D63/DE0/sprockets%2F73c9e04acfc930681ab170b3e4bfc453 +0 -0
- data/test/dummy/tmp/cache/assets/D64/670/sprockets%2F7dc8c0ad36d436eb56a0824a46e0eb08 +0 -0
- data/test/dummy/tmp/cache/assets/D65/990/sprockets%2Fa2965ca374a00aaceb747e60b654e2f8 +0 -0
- data/test/dummy/tmp/cache/assets/D67/A60/sprockets%2Faa00971b7f5d4b45eb77d656a284a5aa +0 -0
- data/test/dummy/tmp/cache/assets/D67/B70/sprockets%2F93b435826e79fa4e5f6eaa001a7a11bf +0 -0
- data/test/dummy/tmp/cache/assets/D68/000/sprockets%2F39c01fa5c01830f3558eb1c97c4dfb6b +0 -0
- data/test/dummy/tmp/cache/assets/D68/210/sprockets%2Fdc284967860db06c2cb2e1da78bab156 +0 -0
- data/test/dummy/tmp/cache/assets/D69/490/sprockets%2Fec6b9dc7d26370cb16e31c8f051e3e07 +0 -0
- data/test/dummy/tmp/cache/assets/D69/F10/sprockets%2Ff34035624ea8bef910a3f3afdc9f0526 +0 -0
- data/test/dummy/tmp/cache/assets/D6B/200/sprockets%2F5d6139fdef36c3f5380b2a7c2c4fc332 +0 -0
- data/test/dummy/tmp/cache/assets/D6C/AD0/sprockets%2Fdabce05f6e4419832e20d6b7420fe9a7 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/080/sprockets%2F3cc7b7355591babda1661e6c5e9f8c20 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/CF0/sprockets%2Fbbad825b6b477d1967533ee21c454ade +0 -0
- data/test/dummy/tmp/cache/assets/D6D/E80/sprockets%2F9ef00ee94e3b0eed7c4e45b342085d51 +0 -0
- data/test/dummy/tmp/cache/assets/D6E/940/sprockets%2Fb19f43bd8383eeb5e26a4d2b79f1240e +0 -0
- data/test/dummy/tmp/cache/assets/D6E/9F0/sprockets%2F15f61ad82d9ca6cce6a0e42b7249662f +0 -0
- data/test/dummy/tmp/cache/assets/D6F/AB0/sprockets%2Fb9d2a198d05cec1f1f9e110318cdf929 +0 -0
- data/test/dummy/tmp/cache/assets/D71/CA0/sprockets%2F441e444a0921896e5ca39df6bba85daf +0 -0
- data/test/dummy/tmp/cache/assets/D72/C00/sprockets%2Fbcb0957c48f5623c9cd792f05cb0f40f +0 -0
- data/test/dummy/tmp/cache/assets/D73/6E0/sprockets%2F1f4defb0e469096950900f0ad9c3fde4 +0 -0
- data/test/dummy/tmp/cache/assets/D75/6B0/sprockets%2Fec34bca59e6bb0e4ab0ef45953657992 +0 -0
- data/test/dummy/tmp/cache/assets/D76/030/sprockets%2F7e8689ec6a9f3754a4aa660e303cbf4a +0 -0
- data/test/dummy/tmp/cache/assets/D76/C80/sprockets%2F952307811ad5e9e8b540cf5e9cf08cea +0 -0
- data/test/dummy/tmp/cache/assets/D76/CA0/sprockets%2F797920cdabaf2f8431968a34c2cbae79 +0 -0
- data/test/dummy/tmp/cache/assets/D78/D60/sprockets%2Feb6b4ca6b29b6f82ea665a74e67d8621 +0 -0
- data/test/dummy/tmp/cache/assets/D78/DE0/sprockets%2F77704150a5a59b97997ebeeaa8d2aed2 +0 -0
- data/test/dummy/tmp/cache/assets/D79/4D0/sprockets%2Fd9478c98121c5a4bfccf42c262d587fc +0 -0
- data/test/dummy/tmp/cache/assets/D79/E80/sprockets%2F7d329345d1b9f914c87fc5e07ea9ab4b +0 -0
- data/test/dummy/tmp/cache/assets/D7A/D90/sprockets%2F5e731a54c86bfbaa18ba9e489178cf64 +0 -0
- data/test/dummy/tmp/cache/assets/D7C/620/sprockets%2Fa30b274099bbe2af59458e9f9e4d36fa +0 -0
- data/test/dummy/tmp/cache/assets/D7E/2A0/sprockets%2F1ce479f9423e748690a75abbabf8af84 +0 -0
- data/test/dummy/tmp/cache/assets/D80/3B0/sprockets%2Fd574f0ceb59e292506dc7dc2f99d6b91 +0 -0
- data/test/dummy/tmp/cache/assets/D81/B70/sprockets%2F44d160a7cd56a4d4b2e0d23a9c61aab1 +0 -0
- data/test/dummy/tmp/cache/assets/D84/0A0/sprockets%2F07fc0bfe2237a171b813aa147f3ced1a +0 -0
- data/test/dummy/tmp/cache/assets/D85/5A0/sprockets%2Fc2cbee1b5160e0e8b022933feb36ea30 +0 -0
- data/test/dummy/tmp/cache/assets/D8A/2C0/sprockets%2F6ec8da0142f240ce8a7e0b46aea363c1 +0 -0
- data/test/dummy/tmp/cache/assets/D8A/370/sprockets%2Fb4600d72a29aba7a39c2ec58aa04f18b +0 -0
- data/test/dummy/tmp/cache/assets/D8A/B90/sprockets%2F7506f75d60f93f9e8405ffb9cf85ddb2 +0 -0
- data/test/dummy/tmp/cache/assets/D8D/C50/sprockets%2Fa0229d30e2113dbf6d3cd51c5e82ee6c +0 -0
- data/test/dummy/tmp/cache/assets/D8F/4A0/sprockets%2Fec8facf81aea15d619953688978be79c +0 -0
- data/test/dummy/tmp/cache/assets/D8F/8A0/sprockets%2F5dfeb1f78f62586e3d97cb9e77758da0 +0 -0
- data/test/dummy/tmp/cache/assets/D90/2D0/sprockets%2Fac8aa858f328c72e90dff5de97c59939 +0 -0
- data/test/dummy/tmp/cache/assets/D93/0F0/sprockets%2Fbae826e41e4d9c8365bc23eb610dea40 +0 -0
- data/test/dummy/tmp/cache/assets/D94/1A0/sprockets%2Fb4748c092e8a4c127bcfacb06cdc2735 +0 -0
- data/test/dummy/tmp/cache/assets/D94/AD0/sprockets%2Fa1ac4bf342006e1f98def10cf9d7d234 +0 -0
- data/test/dummy/tmp/cache/assets/D95/430/sprockets%2Fcf054ac65aa2c4b72d661fc32c898aa5 +0 -0
- data/test/dummy/tmp/cache/assets/D95/A60/sprockets%2Fcade84652b25a95128cba5721b7bdb5e +0 -0
- data/test/dummy/tmp/cache/assets/D97/4C0/sprockets%2F4d4aea86610bc9652c70455a6beafc4d +0 -0
- data/test/dummy/tmp/cache/assets/D97/680/sprockets%2Fbcae9b5fae1163de31141bd7b94c7448 +0 -0
- data/test/dummy/tmp/cache/assets/D98/280/sprockets%2F1b8bca892cab85afe98307a2b0b394e2 +0 -0
- data/test/dummy/tmp/cache/assets/D99/B10/sprockets%2F4aa8fece5b18d820a44dc266a89d50e0 +0 -0
- data/test/dummy/tmp/cache/assets/D99/CD0/sprockets%2Ffe0c5f4b8b52baa0f91870da12599a6d +0 -0
- data/test/dummy/tmp/cache/assets/D9A/B20/sprockets%2Fcabbfbb982365500b12a89e74dfcb646 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/6B0/sprockets%2Ffd3ec162a92d864e65f1b7ea48a4fa10 +0 -0
- data/test/dummy/tmp/cache/assets/D9D/170/sprockets%2F37f702f1f3ad35b9022fc87fdce7de02 +0 -0
- data/test/dummy/tmp/cache/assets/D9E/C90/sprockets%2F9cd75b38f1c1f85bbdac2576ca9106b5 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/200/sprockets%2F22deb3ee0d99f7b2b283df5382e1ae81 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/3D0/sprockets%2Fc85d1920bbf4d6f3b27723fcd2fb7c55 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/7F0/sprockets%2Fd8fd738fc116ab5c8da0e4922cfb8180 +0 -0
- data/test/dummy/tmp/cache/assets/DA0/1B0/sprockets%2F71e2cd8803aac9fb0bb4c47593cf17e8 +0 -0
- data/test/dummy/tmp/cache/assets/DA1/710/sprockets%2Fcc28e7b96a94b2a571877b147fdecaa0 +0 -0
- data/test/dummy/tmp/cache/assets/DA2/9A0/sprockets%2F4bd1c9899ece1257adec0c553fc087b2 +0 -0
- data/test/dummy/tmp/cache/assets/DA3/9F0/sprockets%2F5122955dfe6694bdc6b69cbea09d2cd1 +0 -0
- data/test/dummy/tmp/cache/assets/DA4/A50/sprockets%2F5ccc3cb812b94b7b60841969a9ecbe7b +0 -0
- data/test/dummy/tmp/cache/assets/DA5/0E0/sprockets%2Fe61590dc98f1e532ea20e296c5fce7bd +0 -0
- data/test/dummy/tmp/cache/assets/DA5/830/sprockets%2Fefce0b2d75e80d1d17b6db8598841ed2 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/920/sprockets%2F17fef15ed3d8c1147570663a93efedea +0 -0
- data/test/dummy/tmp/cache/assets/DAA/420/sprockets%2F6779ef7b8e5c2c362cfd5d5fa472e1b1 +0 -0
- data/test/dummy/tmp/cache/assets/DAB/920/sprockets%2F047a9da6b427dd9d7093799fad63aceb +0 -0
- data/test/dummy/tmp/cache/assets/DB0/BF0/sprockets%2F52e4cdf37aa489ff6c138dedf036588d +0 -0
- data/test/dummy/tmp/cache/assets/DB1/6D0/sprockets%2Fd7990d5c07f95d0ee1cb9d5e6e5b818c +0 -0
- data/test/dummy/tmp/cache/assets/DB1/C80/sprockets%2Fa2d1a10a3cc780fd30127b2be96ddfa2 +0 -0
- data/test/dummy/tmp/cache/assets/DB2/1F0/sprockets%2Fca6346c5717c1efd6fae57773f94ee8a +0 -0
- data/test/dummy/tmp/cache/assets/DB2/480/sprockets%2Fa249ccdcac57daf829713de88e3629f8 +0 -0
- data/test/dummy/tmp/cache/assets/DB2/9D0/sprockets%2F37bbd81e0c7ddf7c7668e674925eaca9 +0 -0
- data/test/dummy/tmp/cache/assets/DB7/670/sprockets%2F14afe7f2ff7c6a35f6f5dd27e95593f4 +0 -0
- data/test/dummy/tmp/cache/assets/DBC/DF0/sprockets%2Fd1ff56754c1bf2a8d4082abe2f00adb4 +0 -0
- data/test/dummy/tmp/cache/assets/DBD/080/sprockets%2F039ace5986a3cbf4cca0b0a753bc71a6 +0 -0
- data/test/dummy/tmp/cache/assets/DBE/430/sprockets%2Fe45190f40a462e86ae1ee01f3bbcad8a +0 -0
- data/test/dummy/tmp/cache/assets/DC1/C20/sprockets%2Fb60b7b3aeb56bd55b67183b6f151ecca +0 -0
- data/test/dummy/tmp/cache/assets/DC4/600/sprockets%2Fa0794a1ac15dbb57b803dbdce2069ff7 +0 -0
- data/test/dummy/tmp/cache/assets/DC5/500/sprockets%2F25ac94fa819bdb1fad28f4420fd4b90a +0 -0
- data/test/dummy/tmp/cache/assets/DC5/660/sprockets%2F637431e1c8fffeaafc23f021bd49fa06 +0 -0
- data/test/dummy/tmp/cache/assets/DC6/7C0/sprockets%2Fb408df7a822c70a0924e0cdf6c8fe2ca +0 -0
- data/test/dummy/tmp/cache/assets/DCC/F40/sprockets%2Fdc3342c548fc7d3c4f4e27732b5acfea +0 -0
- data/test/dummy/tmp/cache/assets/DCD/740/sprockets%2Fc80244c564e19eada1cdddf5f6d0d962 +0 -0
- data/test/dummy/tmp/cache/assets/DCD/8D0/sprockets%2Fbf36f09be83b4d0986ad23ea4d1f32df +0 -0
- data/test/dummy/tmp/cache/assets/DCE/170/sprockets%2F2576bc54ebe0a91592bbdbf3f5c8bb57 +0 -0
- data/test/dummy/tmp/cache/assets/DCE/1C0/sprockets%2F58cc5eb1cb2a47c8067c940caecf449d +0 -0
- data/test/dummy/tmp/cache/assets/DCE/BA0/sprockets%2F57c5ecddc82aa706b1e64691a8a5bcc9 +0 -0
- data/test/dummy/tmp/cache/assets/DCF/4A0/sprockets%2F3efd01a56bae3ae99fd13085f75b9e0d +0 -0
- data/test/dummy/tmp/cache/assets/DCF/900/sprockets%2Fb4dc2a3c5d5822e5cc13ee7098e9ec2e +0 -0
- data/test/dummy/tmp/cache/assets/DCF/E20/sprockets%2Fd24ee80741a60bd4db8f59b784e3ccda +0 -0
- data/test/dummy/tmp/cache/assets/DD5/D40/sprockets%2F8a656fbe5efc00f64f2451fff1c21fe9 +0 -0
- data/test/dummy/tmp/cache/assets/DD7/600/sprockets%2Fcc47edff1a4a983589bb45bce09533ed +0 -0
- data/test/dummy/tmp/cache/assets/DD9/530/sprockets%2Fe9cbd5b6d7b21568cfb4f7990c7b50eb +0 -0
- data/test/dummy/tmp/cache/assets/DDB/140/sprockets%2F7815fdf1a6a74db4fca71ff6537ced67 +0 -0
- data/test/dummy/tmp/cache/assets/DDE/450/sprockets%2Fdc1aabe992a97f95a43ce5d8364ff9d1 +0 -0
- data/test/dummy/tmp/cache/assets/DDF/070/sprockets%2Ffe4d825f88eadf5580f2db2f45c3df28 +0 -0
- data/test/dummy/tmp/cache/assets/DDF/3F0/sprockets%2F06db623ed4f5ff5f487dbcade39f9516 +0 -0
- data/test/dummy/tmp/cache/assets/DE7/550/sprockets%2Ffff04b0980f1fbe9ece54cd8ca779867 +0 -0
- data/test/dummy/tmp/cache/assets/DF0/CB0/sprockets%2F2b2884f2950bbb31aec8a3ef1e16cbdd +0 -0
- data/test/dummy/tmp/cache/assets/DF5/0C0/sprockets%2Faf8105cfdb7ceae04b099c4a2f654ce1 +0 -0
- data/test/dummy/tmp/cache/assets/DFC/9D0/sprockets%2F38fd8e0a2fde3b853f2a24571cd2dfdd +0 -0
- data/test/dummy/tmp/cache/assets/E02/B00/sprockets%2F723ccdfbeacf6c4176de34f371c91af9 +0 -0
- data/test/dummy/tmp/cache/assets/E02/DA0/sprockets%2F9829dec75de6c2a52fdc20d428d2edae +0 -0
- data/test/dummy/tmp/cache/assets/E02/FD0/sprockets%2F3b854b1f189aea494b8d7cbb8bba57bf +0 -0
- data/test/dummy/tmp/cache/assets/E04/860/sprockets%2F972757dbdbdfabfeac8ecb8a15520793 +0 -0
- data/test/dummy/tmp/cache/assets/E07/FD0/sprockets%2F2b98add7bf753973c33fe3b83bdb7abf +0 -0
- data/test/dummy/tmp/cache/assets/E09/EE0/sprockets%2F3a991c15e3b2bb3a1a61f1cad0babc5d +0 -0
- data/test/dummy/tmp/cache/assets/E0B/9C0/sprockets%2F056c4cfcff64c6e7d884bfc5df9a6a30 +0 -0
- data/test/dummy/tmp/cache/assets/E0C/810/sprockets%2Fe74897a12cedd8efea5a559354bd5bfc +0 -0
- data/test/dummy/tmp/cache/assets/E0F/B40/sprockets%2Ff5dfabed7f563e53d4735ef9c4b7a0e9 +0 -0
- data/test/dummy/tmp/cache/assets/E11/DA0/sprockets%2Fe190d6d51f5a7a4d99cb6fcee9aef818 +0 -0
- data/test/dummy/tmp/cache/assets/E1F/5E0/sprockets%2Fedacf71afed14b1da329d30fcaf84091 +0 -0
- data/test/dummy/tmp/cache/assets/E2D/630/sprockets%2F95b2fe9ec24a6321c9aebcc3b7c53dfe +0 -0
- data/test/dummy/tmp/cache/assets/E2F/3D0/sprockets%2Ff740ae8eecbaedadc3c664c62b83e925 +0 -0
- data/test/dummy/tmp/cache/assets/E2F/930/sprockets%2F22b1cbacd98f51adeaab5bd8765e4f97 +0 -0
- data/test/dummy/tmp/cache/assets/E30/C50/sprockets%2Fdaad6c4c7b1429f8de49d81fac6ad18b +0 -0
- data/test/dummy/tmp/cache/assets/E36/230/sprockets%2F56aec75c7f17ef3509d4cadcf2e6fc3d +0 -0
- data/test/dummy/tmp/cache/assets/E3C/680/sprockets%2Fd057ba99f8cc7b032da8ed9e8c0dff7c +0 -0
- data/test/dummy/tmp/cache/assets/E45/7D0/sprockets%2Fb0cc11f8e54af3bf47bfb15dd0a1cd4a +0 -0
- data/test/dummy/tmp/cache/assets/E53/340/sprockets%2Fbad75d3d5f8eba9ceada05fa125a642f +0 -0
- data/test/dummy/tmp/cache/assets/E55/340/sprockets%2Faaeaef87c1531a051fcdb8def54f4c1f +0 -0
- data/test/dummy/tmp/cache/assets/E5E/CA0/sprockets%2Fdf31d095f37e9abda2e4ddb3e0e6fcb9 +0 -0
- data/test/dummy/tmp/cache/assets/E89/BE0/sprockets%2F9bfc41fee1adbc5e0ab3e58eafb550f9 +0 -0
- metadata +163 -32
- data/app/assets/javascripts/Core/package.json +0 -6
- data/app/assets/javascripts/DynamicScene/DynamicScene.profile.js +0 -8
- data/app/assets/javascripts/DynamicScene/package.json +0 -6
- data/app/assets/javascripts/Renderer/Renderer.profile.js +0 -8
- data/app/assets/javascripts/Renderer/package.json +0 -6
- data/app/assets/javascripts/Scene/Scene.profile.js +0 -8
- data/app/assets/javascripts/Scene/TileLoadQueue.js +0 -123
- data/app/assets/javascripts/Scene/package.json +0 -6
- data/app/assets/javascripts/Shaders/ComplexConicSensorVolumeFS.js +0 -454
- data/app/assets/javascripts/Shaders/ComplexConicSensorVolumeVS.js +0 -24
- data/app/assets/javascripts/Shaders/ConstructiveSolidGeometry.js +0 -892
- data/app/assets/javascripts/Shaders/Noise.js +0 -477
- data/app/assets/javascripts/Shaders/PolygonFSPick.js +0 -11
- data/app/assets/javascripts/Shaders/PolygonVSPick.js +0 -36
- data/app/assets/javascripts/Shaders/Ray.js +0 -538
- data/app/assets/javascripts/Shaders/package.json +0 -6
- data/app/assets/javascripts/ThirdParty/ThirdParty.profile.js +0 -8
- data/app/assets/javascripts/ThirdParty/package.json +0 -6
- data/app/assets/javascripts/Widgets/Widgets.profile.js +0 -8
- data/app/assets/javascripts/Widgets/package.json +0 -6
- data/app/assets/javascripts/Workers/Workers.profile.js +0 -8
- data/app/assets/javascripts/copyrightHeader.js +0 -22
- data/app/assets/javascripts/main.js +0 -10
@@ -106,7 +106,7 @@ define([
|
|
106
106
|
if (typeof this._dynamicObjectCollection !== 'undefined') {
|
107
107
|
var dynamicObjects = this._dynamicObjectCollection.getObjects();
|
108
108
|
for ( var i = 0, len = dynamicObjects.length; i < len; i++) {
|
109
|
-
this
|
109
|
+
updateObject(this, time, dynamicObjects[i]);
|
110
110
|
}
|
111
111
|
}
|
112
112
|
};
|
@@ -170,7 +170,7 @@ define([
|
|
170
170
|
};
|
171
171
|
|
172
172
|
var cachedPosition = new Cartesian3();
|
173
|
-
|
173
|
+
function updateObject(dynamicPolylineVisualizer, time, dynamicObject) {
|
174
174
|
var dynamicPolyline = dynamicObject.polyline;
|
175
175
|
if (typeof dynamicPolyline === 'undefined') {
|
176
176
|
return;
|
@@ -189,24 +189,24 @@ define([
|
|
189
189
|
(typeof ellipseProperty === 'undefined' || typeof positionProperty === 'undefined'))) {
|
190
190
|
//Remove the existing primitive if we have one
|
191
191
|
if (typeof polylineVisualizerIndex !== 'undefined') {
|
192
|
-
polyline =
|
192
|
+
polyline = dynamicPolylineVisualizer._polylineCollection.get(polylineVisualizerIndex);
|
193
193
|
polyline.setShow(false);
|
194
194
|
dynamicObject._polylineVisualizerIndex = undefined;
|
195
|
-
|
195
|
+
dynamicPolylineVisualizer._unusedIndexes.push(polylineVisualizerIndex);
|
196
196
|
}
|
197
197
|
return;
|
198
198
|
}
|
199
199
|
|
200
200
|
var uniforms;
|
201
201
|
if (typeof polylineVisualizerIndex === 'undefined') {
|
202
|
-
var unusedIndexes =
|
202
|
+
var unusedIndexes = dynamicPolylineVisualizer._unusedIndexes;
|
203
203
|
var length = unusedIndexes.length;
|
204
204
|
if (length > 0) {
|
205
205
|
polylineVisualizerIndex = unusedIndexes.pop();
|
206
|
-
polyline =
|
206
|
+
polyline = dynamicPolylineVisualizer._polylineCollection.get(polylineVisualizerIndex);
|
207
207
|
} else {
|
208
|
-
polylineVisualizerIndex =
|
209
|
-
polyline =
|
208
|
+
polylineVisualizerIndex = dynamicPolylineVisualizer._polylineCollection.getLength();
|
209
|
+
polyline = dynamicPolylineVisualizer._polylineCollection.add();
|
210
210
|
}
|
211
211
|
dynamicObject._polylineVisualizerIndex = polylineVisualizerIndex;
|
212
212
|
polyline.dynamicObject = dynamicObject;
|
@@ -215,7 +215,7 @@ define([
|
|
215
215
|
polyline.setWidth(1);
|
216
216
|
var material = polyline.getMaterial();
|
217
217
|
if (typeof material === 'undefined' || (material.type !== Material.PolylineOutlineType)) {
|
218
|
-
material = Material.fromType(
|
218
|
+
material = Material.fromType(dynamicPolylineVisualizer._scene.getContext(), Material.PolylineOutlineType);
|
219
219
|
polyline.setMaterial(material);
|
220
220
|
}
|
221
221
|
uniforms = material.uniforms;
|
@@ -223,7 +223,7 @@ define([
|
|
223
223
|
Color.clone(Color.BLACK, uniforms.outlineColor);
|
224
224
|
uniforms.outlineWidth = 0;
|
225
225
|
} else {
|
226
|
-
polyline =
|
226
|
+
polyline = dynamicPolylineVisualizer._polylineCollection.get(polylineVisualizerIndex);
|
227
227
|
uniforms = polyline.getMaterial().uniforms;
|
228
228
|
}
|
229
229
|
|
@@ -253,7 +253,7 @@ define([
|
|
253
253
|
|
254
254
|
property = dynamicPolyline.outlineWidth;
|
255
255
|
if (typeof property !== 'undefined') {
|
256
|
-
uniforms.outlineWidth = property.getValue(time
|
256
|
+
uniforms.outlineWidth = property.getValue(time);
|
257
257
|
}
|
258
258
|
|
259
259
|
property = dynamicPolyline.width;
|
@@ -263,7 +263,7 @@ define([
|
|
263
263
|
polyline.setWidth(width);
|
264
264
|
}
|
265
265
|
}
|
266
|
-
}
|
266
|
+
}
|
267
267
|
|
268
268
|
DynamicPolylineVisualizer.prototype._onObjectsRemoved = function(dynamicObjectCollection, dynamicObjects) {
|
269
269
|
var thisPolylineCollection = this._polylineCollection;
|
@@ -1,7 +1,5 @@
|
|
1
1
|
/*global define*/
|
2
2
|
define([
|
3
|
-
'../Core/Cartesian3',
|
4
|
-
'../Core/Cartographic',
|
5
3
|
'../Core/DeveloperError',
|
6
4
|
'../Core/Ellipsoid',
|
7
5
|
'../Core/Iso8601',
|
@@ -14,8 +12,6 @@ define([
|
|
14
12
|
'./CzmlPosition',
|
15
13
|
'./DynamicProperty'
|
16
14
|
], function(
|
17
|
-
Cartesian3,
|
18
|
-
Cartographic,
|
19
15
|
DeveloperError,
|
20
16
|
Ellipsoid,
|
21
17
|
Iso8601,
|
@@ -111,7 +111,7 @@ define([
|
|
111
111
|
if (typeof this._dynamicObjectCollection !== 'undefined') {
|
112
112
|
var dynamicObjects = this._dynamicObjectCollection.getObjects();
|
113
113
|
for ( var i = 0, len = dynamicObjects.length; i < len; i++) {
|
114
|
-
this
|
114
|
+
updateObject(this, time, dynamicObjects[i]);
|
115
115
|
}
|
116
116
|
}
|
117
117
|
};
|
@@ -178,8 +178,8 @@ define([
|
|
178
178
|
|
179
179
|
var position;
|
180
180
|
var orientation;
|
181
|
-
|
182
|
-
var context =
|
181
|
+
function updateObject(dynamicPyramidVisualizer, time, dynamicObject) {
|
182
|
+
var context = dynamicPyramidVisualizer._scene.getContext();
|
183
183
|
var dynamicPyramid = dynamicObject.pyramid;
|
184
184
|
if (typeof dynamicPyramid === 'undefined') {
|
185
185
|
return;
|
@@ -208,26 +208,26 @@ define([
|
|
208
208
|
if (!show) {
|
209
209
|
//don't bother creating or updating anything else
|
210
210
|
if (typeof pyramidVisualizerIndex !== 'undefined') {
|
211
|
-
pyramid =
|
211
|
+
pyramid = dynamicPyramidVisualizer._pyramidCollection[pyramidVisualizerIndex];
|
212
212
|
pyramid.show = false;
|
213
213
|
dynamicObject._pyramidVisualizerIndex = undefined;
|
214
|
-
|
214
|
+
dynamicPyramidVisualizer._unusedIndexes.push(pyramidVisualizerIndex);
|
215
215
|
}
|
216
216
|
return;
|
217
217
|
}
|
218
218
|
|
219
219
|
if (typeof pyramidVisualizerIndex === 'undefined') {
|
220
|
-
var unusedIndexes =
|
220
|
+
var unusedIndexes = dynamicPyramidVisualizer._unusedIndexes;
|
221
221
|
var length = unusedIndexes.length;
|
222
222
|
if (length > 0) {
|
223
223
|
pyramidVisualizerIndex = unusedIndexes.pop();
|
224
|
-
pyramid =
|
224
|
+
pyramid = dynamicPyramidVisualizer._pyramidCollection[pyramidVisualizerIndex];
|
225
225
|
} else {
|
226
|
-
pyramidVisualizerIndex =
|
226
|
+
pyramidVisualizerIndex = dynamicPyramidVisualizer._pyramidCollection.length;
|
227
227
|
pyramid = new CustomSensorVolume();
|
228
228
|
|
229
|
-
|
230
|
-
|
229
|
+
dynamicPyramidVisualizer._pyramidCollection.push(pyramid);
|
230
|
+
dynamicPyramidVisualizer._primitives.add(pyramid);
|
231
231
|
}
|
232
232
|
dynamicObject._pyramidVisualizerIndex = pyramidVisualizerIndex;
|
233
233
|
pyramid.dynamicObject = dynamicObject;
|
@@ -238,7 +238,7 @@ define([
|
|
238
238
|
pyramid.intersectionColor = Color.YELLOW;
|
239
239
|
pyramid.material = Material.fromType(context, Material.ColorType);
|
240
240
|
} else {
|
241
|
-
pyramid =
|
241
|
+
pyramid = dynamicPyramidVisualizer._pyramidCollection[pyramidVisualizerIndex];
|
242
242
|
}
|
243
243
|
|
244
244
|
pyramid.show = true;
|
@@ -281,7 +281,7 @@ define([
|
|
281
281
|
pyramid.radius = radius;
|
282
282
|
}
|
283
283
|
}
|
284
|
-
}
|
284
|
+
}
|
285
285
|
|
286
286
|
DynamicPyramidVisualizer.prototype._onObjectsRemoved = function(dynamicObjectCollection, dynamicObjects) {
|
287
287
|
var thisPyramidCollection = this._pyramidCollection;
|
@@ -0,0 +1,184 @@
|
|
1
|
+
/*global define*/
|
2
|
+
define([
|
3
|
+
'../Core/TimeInterval',
|
4
|
+
'../Core/defaultValue',
|
5
|
+
'./CzmlBoolean',
|
6
|
+
'./CzmlDirection',
|
7
|
+
'./CzmlNumber',
|
8
|
+
'./CzmlColor',
|
9
|
+
'./DynamicProperty'],
|
10
|
+
function(
|
11
|
+
TimeInterval,
|
12
|
+
defaultValue,
|
13
|
+
CzmlBoolean,
|
14
|
+
CzmlDirection,
|
15
|
+
CzmlNumber,
|
16
|
+
CzmlColor,
|
17
|
+
DynamicProperty) {
|
18
|
+
"use strict";
|
19
|
+
|
20
|
+
/**
|
21
|
+
* Represents a time-dynamic vector, typically used in conjunction with DynamicVectorVisualizer and
|
22
|
+
* DynamicObjectCollection to visualize CZML.
|
23
|
+
*
|
24
|
+
* @alias DynamicVector
|
25
|
+
* @constructor
|
26
|
+
*
|
27
|
+
* @see DynamicObject
|
28
|
+
* @see DynamicProperty
|
29
|
+
* @see DynamicObjectCollection
|
30
|
+
* @see DynamicVectorVisualizer
|
31
|
+
* @see VisualizerCollection
|
32
|
+
* @see CzmlDefaults
|
33
|
+
*/
|
34
|
+
var DynamicVector = function() {
|
35
|
+
/**
|
36
|
+
* A DynamicProperty of type CzmlColor which determines the vector's color.
|
37
|
+
* @type DynamicProperty
|
38
|
+
*/
|
39
|
+
this.color = undefined;
|
40
|
+
/**
|
41
|
+
* A DynamicProperty of type CzmlBoolean which determines the vector's visibility.
|
42
|
+
* @type DynamicProperty
|
43
|
+
*/
|
44
|
+
this.show = undefined;
|
45
|
+
/**
|
46
|
+
* A DynamicProperty of type CzmlNumber which determines the vector's width.
|
47
|
+
* @type DynamicProperty
|
48
|
+
*/
|
49
|
+
this.width = undefined;
|
50
|
+
/**
|
51
|
+
* A DynamicProperty of type CzmlDirection which determines the vector's direction.
|
52
|
+
* @type DynamicProperty
|
53
|
+
*/
|
54
|
+
this.direction = undefined;
|
55
|
+
/**
|
56
|
+
* A DynamicProperty of type CzmlNumber which determines the vector's graphical length.
|
57
|
+
* @type DynamicProperty
|
58
|
+
*/
|
59
|
+
this.length = undefined;
|
60
|
+
};
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Processes a single CZML packet and merges its data into the provided DynamicObject's vector.
|
64
|
+
* If the DynamicObject does not have a vector, one is created. This method is not
|
65
|
+
* normally called directly, but is part of the array of CZML processing functions that is
|
66
|
+
* passed into the DynamicObjectCollection constructor.
|
67
|
+
*
|
68
|
+
* @param {DynamicObject} dynamicObject The DynamicObject which will contain the vector data.
|
69
|
+
* @param {Object} packet The CZML packet to process.
|
70
|
+
* @returns {Boolean} true if any new properties were created while processing the packet, false otherwise.
|
71
|
+
*
|
72
|
+
* @see DynamicObject
|
73
|
+
* @see DynamicProperty
|
74
|
+
* @see DynamicObjectCollection
|
75
|
+
* @see CzmlDefaults#updaters
|
76
|
+
*/
|
77
|
+
DynamicVector.processCzmlPacket = function(dynamicObject, packet) {
|
78
|
+
var vectorData = packet.vector;
|
79
|
+
if (typeof vectorData === 'undefined') {
|
80
|
+
return false;
|
81
|
+
}
|
82
|
+
|
83
|
+
var vectorUpdated = false;
|
84
|
+
var vector = dynamicObject.vector;
|
85
|
+
vectorUpdated = typeof vector === 'undefined';
|
86
|
+
if (vectorUpdated) {
|
87
|
+
dynamicObject.vector = vector = new DynamicVector();
|
88
|
+
}
|
89
|
+
|
90
|
+
var interval = vectorData.interval;
|
91
|
+
if (typeof interval !== 'undefined') {
|
92
|
+
interval = TimeInterval.fromIso8601(interval);
|
93
|
+
}
|
94
|
+
|
95
|
+
if (typeof vectorData.color !== 'undefined') {
|
96
|
+
var color = vector.color;
|
97
|
+
if (typeof color === 'undefined') {
|
98
|
+
vector.color = color = new DynamicProperty(CzmlColor);
|
99
|
+
vectorUpdated = true;
|
100
|
+
}
|
101
|
+
color.processCzmlIntervals(vectorData.color, interval);
|
102
|
+
}
|
103
|
+
|
104
|
+
if (typeof vectorData.width !== 'undefined') {
|
105
|
+
var width = vector.width;
|
106
|
+
if (typeof width === 'undefined') {
|
107
|
+
vector.width = width = new DynamicProperty(CzmlNumber);
|
108
|
+
vectorUpdated = true;
|
109
|
+
}
|
110
|
+
width.processCzmlIntervals(vectorData.width, interval);
|
111
|
+
}
|
112
|
+
|
113
|
+
if (typeof vectorData.direction !== 'undefined') {
|
114
|
+
var direction = vector.direction;
|
115
|
+
if (typeof direction === 'undefined') {
|
116
|
+
vector.direction = direction = new DynamicProperty(CzmlDirection);
|
117
|
+
vectorUpdated = true;
|
118
|
+
}
|
119
|
+
direction.processCzmlIntervals(vectorData.direction, interval);
|
120
|
+
}
|
121
|
+
|
122
|
+
if (typeof vectorData.length !== 'undefined') {
|
123
|
+
var length = vector.length;
|
124
|
+
if (typeof length === 'undefined') {
|
125
|
+
vector.length = length = new DynamicProperty(CzmlNumber);
|
126
|
+
vectorUpdated = true;
|
127
|
+
}
|
128
|
+
length.processCzmlIntervals(vectorData.length, interval);
|
129
|
+
}
|
130
|
+
|
131
|
+
if (typeof vectorData.show !== 'undefined') {
|
132
|
+
var show = vector.show;
|
133
|
+
if (typeof show === 'undefined') {
|
134
|
+
vector.show = show = new DynamicProperty(CzmlBoolean);
|
135
|
+
vectorUpdated = true;
|
136
|
+
}
|
137
|
+
show.processCzmlIntervals(vectorData.show, interval);
|
138
|
+
}
|
139
|
+
return vectorUpdated;
|
140
|
+
};
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Given two DynamicObjects, takes the vector properties from the second
|
144
|
+
* and assigns them to the first, assuming such a property did not already exist.
|
145
|
+
* This method is not normally called directly, but is part of the array of CZML processing
|
146
|
+
* functions that is passed into the CompositeDynamicObjectCollection constructor.
|
147
|
+
*
|
148
|
+
* @param {DynamicObject} targetObject The DynamicObject which will have properties merged onto it.
|
149
|
+
* @param {DynamicObject} objectToMerge The DynamicObject containing properties to be merged.
|
150
|
+
*
|
151
|
+
* @see CzmlDefaults
|
152
|
+
*/
|
153
|
+
DynamicVector.mergeProperties = function(targetObject, objectToMerge) {
|
154
|
+
var vectorToMerge = objectToMerge.vector;
|
155
|
+
if (typeof vectorToMerge !== 'undefined') {
|
156
|
+
|
157
|
+
var targetVector = targetObject.vector;
|
158
|
+
if (typeof targetVector === 'undefined') {
|
159
|
+
targetObject.vector = targetVector = new DynamicVector();
|
160
|
+
}
|
161
|
+
|
162
|
+
targetVector.color = defaultValue(targetVector.color, vectorToMerge.color);
|
163
|
+
targetVector.width = defaultValue(targetVector.width, vectorToMerge.width);
|
164
|
+
targetVector.direction = defaultValue(targetVector.direction, vectorToMerge.direction);
|
165
|
+
targetVector.length = defaultValue(targetVector.length, vectorToMerge.length);
|
166
|
+
targetVector.show = defaultValue(targetVector.show, vectorToMerge.show);
|
167
|
+
}
|
168
|
+
};
|
169
|
+
|
170
|
+
/**
|
171
|
+
* Given a DynamicObject, undefines the vector associated with it.
|
172
|
+
* This method is not normally called directly, but is part of the array of CZML processing
|
173
|
+
* functions that is passed into the CompositeDynamicObjectCollection constructor.
|
174
|
+
*
|
175
|
+
* @param {DynamicObject} dynamicObject The DynamicObject to remove the vector from.
|
176
|
+
*
|
177
|
+
* @see CzmlDefaults
|
178
|
+
*/
|
179
|
+
DynamicVector.undefineProperties = function(dynamicObject) {
|
180
|
+
dynamicObject.vector = undefined;
|
181
|
+
};
|
182
|
+
|
183
|
+
return DynamicVector;
|
184
|
+
});
|
@@ -0,0 +1,267 @@
|
|
1
|
+
/*global define*/
|
2
|
+
define([
|
3
|
+
'../Core/DeveloperError',
|
4
|
+
'../Core/destroyObject',
|
5
|
+
'../Core/Cartesian3',
|
6
|
+
'../Core/Color',
|
7
|
+
'../Scene/Material',
|
8
|
+
'../Scene/PolylineCollection'
|
9
|
+
], function(
|
10
|
+
DeveloperError,
|
11
|
+
destroyObject,
|
12
|
+
Cartesian3,
|
13
|
+
Color,
|
14
|
+
Material,
|
15
|
+
PolylineCollection) {
|
16
|
+
"use strict";
|
17
|
+
|
18
|
+
/**
|
19
|
+
* A DynamicObject visualizer which maps the DynamicPolyline instance
|
20
|
+
* in DynamicObject.vector to a Polyline primitive.
|
21
|
+
* @alias DynamicVectorVisualizer
|
22
|
+
* @constructor
|
23
|
+
*
|
24
|
+
* @param {Scene} scene The scene the primitives will be rendered in.
|
25
|
+
* @param {DynamicObjectCollection} [dynamicObjectCollection] The dynamicObjectCollection to visualize.
|
26
|
+
*
|
27
|
+
* @exception {DeveloperError} scene is required.
|
28
|
+
*
|
29
|
+
* @see DynamicPolyline
|
30
|
+
* @see Scene
|
31
|
+
* @see DynamicObject
|
32
|
+
* @see DynamicObjectCollection
|
33
|
+
* @see CompositeDynamicObjectCollection
|
34
|
+
* @see VisualizerCollection
|
35
|
+
* @see DynamicBillboardVisualizer
|
36
|
+
* @see DynamicConeVisualizer
|
37
|
+
* @see DynamicConeVisualizerUsingCustomSensorr
|
38
|
+
* @see DynamicLabelVisualizer
|
39
|
+
* @see DynamicPointVisualizer
|
40
|
+
* @see DynamicPolygonVisualizer
|
41
|
+
* @see DynamicPyramidVisualizer
|
42
|
+
*
|
43
|
+
*/
|
44
|
+
var DynamicVectorVisualizer = function(scene, dynamicObjectCollection) {
|
45
|
+
if (typeof scene === 'undefined') {
|
46
|
+
throw new DeveloperError('scene is required.');
|
47
|
+
}
|
48
|
+
this._scene = scene;
|
49
|
+
this._unusedIndexes = [];
|
50
|
+
this._primitives = scene.getPrimitives();
|
51
|
+
var polylineCollection = this._polylineCollection = new PolylineCollection();
|
52
|
+
scene.getPrimitives().add(polylineCollection);
|
53
|
+
this._dynamicObjectCollection = undefined;
|
54
|
+
this.setDynamicObjectCollection(dynamicObjectCollection);
|
55
|
+
};
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Returns the scene being used by this visualizer.
|
59
|
+
*
|
60
|
+
* @returns {Scene} The scene being used by this visualizer.
|
61
|
+
*/
|
62
|
+
DynamicVectorVisualizer.prototype.getScene = function() {
|
63
|
+
return this._scene;
|
64
|
+
};
|
65
|
+
|
66
|
+
/**
|
67
|
+
* Gets the DynamicObjectCollection being visualized.
|
68
|
+
*
|
69
|
+
* @returns {DynamicObjectCollection} The DynamicObjectCollection being visualized.
|
70
|
+
*/
|
71
|
+
DynamicVectorVisualizer.prototype.getDynamicObjectCollection = function() {
|
72
|
+
return this._dynamicObjectCollection;
|
73
|
+
};
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Sets the DynamicObjectCollection to visualize.
|
77
|
+
*
|
78
|
+
* @param dynamicObjectCollection The DynamicObjectCollection to visualizer.
|
79
|
+
*/
|
80
|
+
DynamicVectorVisualizer.prototype.setDynamicObjectCollection = function(dynamicObjectCollection) {
|
81
|
+
var oldCollection = this._dynamicObjectCollection;
|
82
|
+
if (oldCollection !== dynamicObjectCollection) {
|
83
|
+
if (typeof oldCollection !== 'undefined') {
|
84
|
+
oldCollection.objectsRemoved.removeEventListener(DynamicVectorVisualizer.prototype._onObjectsRemoved, this);
|
85
|
+
this.removeAllPrimitives();
|
86
|
+
}
|
87
|
+
this._dynamicObjectCollection = dynamicObjectCollection;
|
88
|
+
if (typeof dynamicObjectCollection !== 'undefined') {
|
89
|
+
dynamicObjectCollection.objectsRemoved.addEventListener(DynamicVectorVisualizer.prototype._onObjectsRemoved, this);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Updates all of the primitives created by this visualizer to match their
|
96
|
+
* DynamicObject counterpart at the given time.
|
97
|
+
*
|
98
|
+
* @param {JulianDate} time The time to update to.
|
99
|
+
*
|
100
|
+
* @exception {DeveloperError} time is required.
|
101
|
+
*/
|
102
|
+
DynamicVectorVisualizer.prototype.update = function(time) {
|
103
|
+
if (typeof time === 'undefined') {
|
104
|
+
throw new DeveloperError('time is requied.');
|
105
|
+
}
|
106
|
+
if (typeof this._dynamicObjectCollection !== 'undefined') {
|
107
|
+
var dynamicObjects = this._dynamicObjectCollection.getObjects();
|
108
|
+
for ( var i = 0, len = dynamicObjects.length; i < len; i++) {
|
109
|
+
updateObject(this, time, dynamicObjects[i]);
|
110
|
+
}
|
111
|
+
}
|
112
|
+
};
|
113
|
+
|
114
|
+
/**
|
115
|
+
* Removes all primitives from the scene.
|
116
|
+
*/
|
117
|
+
DynamicVectorVisualizer.prototype.removeAllPrimitives = function() {
|
118
|
+
var i;
|
119
|
+
this._polylineCollection.removeAll();
|
120
|
+
|
121
|
+
if (typeof this._dynamicObjectCollection !== 'undefined') {
|
122
|
+
var dynamicObjects = this._dynamicObjectCollection.getObjects();
|
123
|
+
for (i = dynamicObjects.length - 1; i > -1; i--) {
|
124
|
+
dynamicObjects[i]._vectorVisualizerIndex = undefined;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
this._unusedIndexes = [];
|
129
|
+
};
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Returns true if this object was destroyed; otherwise, false.
|
133
|
+
* <br /><br />
|
134
|
+
* If this object was destroyed, it should not be used; calling any function other than
|
135
|
+
* <code>isDestroyed</code> will result in a {@link DeveloperError} exception.
|
136
|
+
*
|
137
|
+
* @memberof DynamicVectorVisualizer
|
138
|
+
*
|
139
|
+
* @return {Boolean} True if this object was destroyed; otherwise, false.
|
140
|
+
*
|
141
|
+
* @see DynamicVectorVisualizer#destroy
|
142
|
+
*/
|
143
|
+
DynamicVectorVisualizer.prototype.isDestroyed = function() {
|
144
|
+
return false;
|
145
|
+
};
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Destroys the WebGL resources held by this object. Destroying an object allows for deterministic
|
149
|
+
* release of WebGL resources, instead of relying on the garbage collector to destroy this object.
|
150
|
+
* <br /><br />
|
151
|
+
* Once an object is destroyed, it should not be used; calling any function other than
|
152
|
+
* <code>isDestroyed</code> will result in a {@link DeveloperError} exception. Therefore,
|
153
|
+
* assign the return value (<code>undefined</code>) to the object as done in the example.
|
154
|
+
*
|
155
|
+
* @memberof DynamicVectorVisualizer
|
156
|
+
*
|
157
|
+
* @return {undefined}
|
158
|
+
*
|
159
|
+
* @exception {DeveloperError} This object was destroyed, i.e., destroy() was called.
|
160
|
+
*
|
161
|
+
* @see DynamicVectorVisualizer#isDestroyed
|
162
|
+
*
|
163
|
+
* @example
|
164
|
+
* visualizer = visualizer && visualizer.destroy();
|
165
|
+
*/
|
166
|
+
DynamicVectorVisualizer.prototype.destroy = function() {
|
167
|
+
this.removeAllPrimitives();
|
168
|
+
this._scene.getPrimitives().remove(this._polylineCollection);
|
169
|
+
return destroyObject(this);
|
170
|
+
};
|
171
|
+
|
172
|
+
function updateObject(dynamicVectorVisualizer, time, dynamicObject) {
|
173
|
+
var dynamicVector = dynamicObject.vector;
|
174
|
+
if (typeof dynamicVector === 'undefined') {
|
175
|
+
return;
|
176
|
+
}
|
177
|
+
|
178
|
+
var polyline;
|
179
|
+
var showProperty = dynamicVector.show;
|
180
|
+
var positionProperty = dynamicObject.position;
|
181
|
+
var directionProperty = dynamicVector.direction;
|
182
|
+
var lengthProperty = dynamicVector.length;
|
183
|
+
var vectorVisualizerIndex = dynamicObject._vectorVisualizerIndex;
|
184
|
+
var show = dynamicObject.isAvailable(time) && (typeof showProperty === 'undefined' || showProperty.getValue(time));
|
185
|
+
|
186
|
+
if (!show || //
|
187
|
+
(typeof directionProperty === 'undefined' || typeof positionProperty === 'undefined' || typeof lengthProperty === 'undefined')) {
|
188
|
+
//Remove the existing primitive if we have one
|
189
|
+
if (typeof vectorVisualizerIndex !== 'undefined') {
|
190
|
+
polyline = dynamicVectorVisualizer._polylineCollection.get(vectorVisualizerIndex);
|
191
|
+
polyline.setShow(false);
|
192
|
+
dynamicObject._vectorVisualizerIndex = undefined;
|
193
|
+
dynamicVectorVisualizer._unusedIndexes.push(vectorVisualizerIndex);
|
194
|
+
}
|
195
|
+
return;
|
196
|
+
}
|
197
|
+
|
198
|
+
var uniforms;
|
199
|
+
if (typeof vectorVisualizerIndex === 'undefined') {
|
200
|
+
var unusedIndexes = dynamicVectorVisualizer._unusedIndexes;
|
201
|
+
if (unusedIndexes.length > 0) {
|
202
|
+
vectorVisualizerIndex = unusedIndexes.pop();
|
203
|
+
polyline = dynamicVectorVisualizer._polylineCollection.get(vectorVisualizerIndex);
|
204
|
+
} else {
|
205
|
+
vectorVisualizerIndex = dynamicVectorVisualizer._polylineCollection.getLength();
|
206
|
+
polyline = dynamicVectorVisualizer._polylineCollection.add();
|
207
|
+
polyline._visualizerPositions = [new Cartesian3(), new Cartesian3()];
|
208
|
+
}
|
209
|
+
dynamicObject._vectorVisualizerIndex = vectorVisualizerIndex;
|
210
|
+
polyline.dynamicObject = dynamicObject;
|
211
|
+
|
212
|
+
// CZML_TODO Determine official defaults
|
213
|
+
polyline.setWidth(1);
|
214
|
+
var material = polyline.getMaterial();
|
215
|
+
if (typeof material === 'undefined' || (material.type !== Material.PolylineArrowType)) {
|
216
|
+
material = Material.fromType(dynamicVectorVisualizer._scene.getContext(), Material.PolylineArrowType);
|
217
|
+
polyline.setMaterial(material);
|
218
|
+
}
|
219
|
+
uniforms = material.uniforms;
|
220
|
+
Color.clone(Color.WHITE, uniforms.color);
|
221
|
+
} else {
|
222
|
+
polyline = dynamicVectorVisualizer._polylineCollection.get(vectorVisualizerIndex);
|
223
|
+
uniforms = polyline.getMaterial().uniforms;
|
224
|
+
}
|
225
|
+
|
226
|
+
polyline.setShow(true);
|
227
|
+
|
228
|
+
var positions = polyline._visualizerPositions;
|
229
|
+
var position = positionProperty.getValueCartesian(time, positions[0]);
|
230
|
+
var direction = directionProperty.getValue(time, positions[1]);
|
231
|
+
var length = lengthProperty.getValue(time);
|
232
|
+
if (typeof position !== 'undefined' && typeof direction !== 'undefined' && typeof length !== 'undefined') {
|
233
|
+
Cartesian3.add(position, direction.normalize(direction).multiplyByScalar(length, direction), direction);
|
234
|
+
polyline.setPositions(positions);
|
235
|
+
}
|
236
|
+
|
237
|
+
var property = dynamicVector.color;
|
238
|
+
if (typeof property !== 'undefined') {
|
239
|
+
uniforms.color = property.getValue(time, uniforms.color);
|
240
|
+
}
|
241
|
+
|
242
|
+
property = dynamicVector.width;
|
243
|
+
if (typeof property !== 'undefined') {
|
244
|
+
var width = property.getValue(time);
|
245
|
+
if (typeof width !== 'undefined') {
|
246
|
+
polyline.setWidth(width);
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
DynamicVectorVisualizer.prototype._onObjectsRemoved = function(dynamicObjectCollection, dynamicObjects) {
|
252
|
+
var thisPolylineCollection = this._polylineCollection;
|
253
|
+
var thisUnusedIndexes = this._unusedIndexes;
|
254
|
+
for ( var i = dynamicObjects.length - 1; i > -1; i--) {
|
255
|
+
var dynamicObject = dynamicObjects[i];
|
256
|
+
var vectorVisualizerIndex = dynamicObject._vectorVisualizerIndex;
|
257
|
+
if (typeof vectorVisualizerIndex !== 'undefined') {
|
258
|
+
var polyline = thisPolylineCollection.get(vectorVisualizerIndex);
|
259
|
+
polyline.setShow(false);
|
260
|
+
thisUnusedIndexes.push(vectorVisualizerIndex);
|
261
|
+
dynamicObject._vectorVisualizerIndex = undefined;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
};
|
265
|
+
|
266
|
+
return DynamicVectorVisualizer;
|
267
|
+
});
|