-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor DyanmicScene Properties #1080
Merged
Merged
Changes from 83 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
000e6ba
DynamicPositionProperty and DynamicVertexPositionsProperty cleanup
mramato 1bf2157
Merge branch 'geojson' into dynamicScene-cleanup
mramato 81e2be0
Merge branch 'geojson' into dynamicScene-cleanup
mramato 5260bde
Merge branch 'geojson' into dynamicScene-cleanup
mramato ebdf1a4
Remove getValueSpherical and make it the default result of getValue f…
mramato d501fcb
Merge branch 'master' into dynamicScene-cleanup
mramato 3242803
Some boilerplate code for a new property system that's not at all rea…
mramato e712d0d
Merge branch 'master' into dynamicScene-cleanup
mramato fe597df
More Property prototyping.
mramato a89f2ef
Merge branch 'master' into dynamicScene-cleanup
mramato 32394ca
Merge branch 'master' into dynamicScene-cleanup
mramato 958aae1
Specs for ConstantProperty and TimeIntervalCollectionProperty.
mramato e12c104
Merge branch 'master' into dynamicScene-cleanup
mramato 9af1532
Add a simple CompositeProperty
mramato 9f00ea8
Start of SampledProperty, no where near done.
mramato cbfe74d
Merge branch 'master' into dynamicScene-cleanup
mramato 6f9d62d
Ongoing SampledProperty work.
mramato d457ff6
Start major overhaul of CZML processing to use new property system.
mramato 13ae99b
Merge branch 'master' into dynamicScene-cleanup
mramato 393236a
Remove almost all DynamicProperty usage.
mramato b576cc7
Ongoing Property work.
mramato 62cbcfd
Merge branch 'master' into dynamicScene-cleanup
mramato 13bc5c9
Update new code to use `defined`
mramato b90ecd4
Remove `DynamicPoperty` and related specs.
mramato 01194be
Ongoing property work
mramato 04ae4c0
Merge branch 'master' into dynamicScene-cleanup
mramato 5a9cc33
Ongoing CZML cleanup
mramato cedc72a
Get rid of all CzmlXXXX types.
mramato 3619d0e
Merge branch 'master' into dynamicScene-cleanup
mramato baf7a02
Rename length to packedLength and other minor cleanup.
mramato a1ce45a
Fix and clarify `mergeNewSamples`.
mramato 81df997
Start of settable interpolation algorithm for SampledProperty.
mramato 178bbc9
Add getter/setter for SampledProperty interpolation algorithm
mramato b3ee399
Have Property implementaions use ES5 properties.
mramato 7711dcf
Add position properties.
mramato 6f01113
Start fleshing out position processing.
mramato c412d84
Merge branch 'master' into dynamicScene-cleanup
mramato 7966abc
Fix Path visualization.
mramato 8b3df8c
Fix minor issue with path sampling and position packets.
mramato 724a66c
Merge branch 'master' into dynamicScene-cleanup
mramato 8d6ace7
Flesh out property specs and fix some bugs found in doing so.
mramato 8910267
Specs for ConstantPositionProperty.
mramato c73ae04
Merge branch 'master' into dynamicScene-cleanup
mramato edaa098
Doc and cleanup.
mramato fd4db23
Specs for Packable implementations
mramato 9332eea
Start refactoring DynamicScene material handling
mramato 1b56273
Merge branch 'master' into dynamicScene-cleanup
mramato cfc4a20
Ongoing material refactor.
mramato 7d1a22a
Delete DynamicMaterialProperty.js
mramato 68353a2
Consolidate most (all?) CZML processing into CzmlDataSource.
mramato 39727d3
Put back file I accidentally deleted.
mramato 301977b
Move all CZML specs into CzmlDataSourceSpec.js
mramato cc5c7f9
Merge branch 'master' into dynamicScene-properties
mramato f7ccbbf
Delete MockProperty
mramato 4ac6bee
Specs for CompositePositionProperty
mramato cd965d3
TimeIntervalCollectionPositionProperty specs
mramato a2d046c
Specs for SampledPositionProperty and other cleanup.
mramato ba22d00
Fix CZML processing after recent property changes.
mramato 9ef60ca
Merge branch 'master' into dynamicScene-properties
mramato 453f55a
Fix DynamicPathVisualizer specs and add fallback for generic sampling…
mramato fe86ec5
Handle all property types.
mramato 2f86f64
Remove delete `CzmlDefaults`.
mramato dd4f2a7
Fix some broken specs
mramato d2b65c4
Refactoring DynamicScene Material support.
mramato 923d85b
Merge branch 'master' into dynamicScene-properties
mramato 4469079
Merge branch 'master' into dynamicScene-properties
mramato 10d3ebb
Misc fixes.
mramato 830bbc2
Tweak Material properties.
mramato eb996a5
ColorMaterialProperty specs
mramato ca363bc
Material property specs.
mramato 153f356
Merge branch 'master' into dynamicScene-properties
mramato 1959583
Fix remaining spec failures.
mramato 0c272fe
Remove `isTimeVarying` from Property objects since we're not using it…
mramato 506d0c6
Clean up module imports.
mramato 1f883bc
Document top-level Property implementations.
mramato e6c82dc
Finish Property documentation.
mramato 54f49f2
Merge branch 'master' into dynamicScene-properties
mramato 83da53d
Fix copy/paste error.
mramato 440a573
Clean up doc for Dynamic objects.
mramato 17b81e1
Remove `CzmlDataSource.processCzml` as it's no longer needed.
mramato b817bcb
Update CHANGES
mramato e801dd5
Fix bad markdown.
mramato acede72
Merge branch 'master' into dynamicScene-properties
mramato 8a8e07d
Changes after review.
mramato 69b098c
Minor whitespace cleanup.
shunter 210359b
Rename `SampledProperty._updateTables` to `SampledProperty._updateTab…
mramato 34c1a5b
Merge branch 'master' into dynamicScene-properties
mramato 9d40815
modify CHANGES so everything is in the b20 release
mramato 21558ab
Fix documentation build.
mramato 68a95e8
Merge branch 'master' into dynamicScene-properties
mramato 48581d9
Merge branch 'master' into dynamicScene-properties
mramato b7a000d
Fix CHANGES after merge.
mramato 84ee687
Merge branch 'master' into dynamicScene-properties
mramato File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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,57 @@ | ||
/*global define*/ | ||
define(['./DeveloperError'], function(DeveloperError) { | ||
"use strict"; | ||
|
||
/** | ||
* The interface for interpolation algorithms. | ||
* @exports InterpolationAlgorithm | ||
* | ||
* @see LagrangePolynomialApproximation | ||
* @see LinearApproximation | ||
* @see HermitePolynomialApproximation | ||
*/ | ||
var InterpolationAlgorithm = {}; | ||
|
||
/** | ||
* Gets the name of this interpolation algorithm. | ||
* @type {String} | ||
*/ | ||
InterpolationAlgorithm.type = undefined; | ||
|
||
/** | ||
* Given the desired degree, returns the number of data points required for interpolation. | ||
* @memberof InterpolationAlgorithm | ||
* | ||
* @param degree The desired degree of interpolation. | ||
* | ||
* @returns The number of required data points needed for the desired degree of interpolation. | ||
*/ | ||
InterpolationAlgorithm.getRequiredDataPoints = function(degree) { | ||
throw new DeveloperError('This function defines an interface and should not be called directly.'); | ||
}; | ||
|
||
/** | ||
* Interpolates values. | ||
* @memberof InterpolationAlgorithm | ||
* | ||
* @param {Number} x The independent variable for which the dependent variables will be interpolated. | ||
* | ||
* @param {Array} xTable The array of independent variables to use to interpolate. The values | ||
* in this array must be in increasing order and the same value must not occur twice in the array. | ||
* | ||
* @param {Array} yTable The array of dependent variables to use to interpolate. For a set of three | ||
* dependent values (p,q,w) at time 1 and time 2 this should be as follows: {p1, q1, w1, p2, q2, w2}. | ||
* | ||
* @param {Number} yStride The number of dependent variable values in yTable corresponding to | ||
* each independent variable value in xTable. | ||
* | ||
* @param {Array} [result] An existing array into which to store the result. | ||
* | ||
* @returns The array of interpolated values, or the result parameter if one was provided. | ||
*/ | ||
InterpolationAlgorithm.interpolateOrderZero = function(x, xTable, yTable, yStride, result) { | ||
throw new DeveloperError('This function defines an interface and should not be called directly.'); | ||
}; | ||
|
||
return InterpolationAlgorithm; | ||
}); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing word here:
a whose value