JS: rename NewProbabilityDistribution -> Distribution

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add the infrastructure for a SampledObject

This can be extended to TimeSeries, calculationObjects, and likely Outputs in the future.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: verify the type of units passed to a SampleInput

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fix for AMD compressed texture crash

Do not attempt to load a proxy texture, instead simply catch the out of
memory error.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Reworked reading in arrays of numbers in XML parser

This is a performance optimization, the code is not quite as clean but
does run faster.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Limit the convex hulls generated for 3d assets to max 100 points

This is less mathematically precise, but way faster and close enough to
accurate.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add an input type that allows a type of unit to be selected

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the keyword selecting the non-zero sampling probability

If sampling is to be done conditionally, best done with a separate random variable
to avoid perturbing any internal state.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the scaling factor from Distibution preparing to use actual units

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: adjust SampleProvider interface to only require a sampling function

It is now the caller's responsibility to save the value he sampled.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: modify Vec3dListInput to work only in terms of unitType, no longer reference the unitString

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: convert Vec3dInput to work only with unitType, remove all unitString references

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: push the unitString down into all subclasses that require it

Now we can incrementally remove this from each subclass as we kill the final users.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: directly use unitType in KeyedVec3dInput

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add a few more mass rate units

Signed-off-by: Geoffrey Savinkoff <Geoffrey.Savinkoff@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pass a callback time from eventManager in seconds rather than hours

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pass the simulation time in seconds to all updateGraphics callbacks

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pass simTime in seconds to all collectProxy calls

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: FindBugs fix, prevent possible race condition

This singleton might not have cached correctly.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: FindBugs fix, actually start a thread

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>