JS: pull the cacheMiss accounting into the registerCacheMiss function

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: register additional cache miss locations

ColladaModel, ImageModel and GateModel did not register a miss, just incremented
the count of misses.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: pull out a CacheCounter class to avoid boxing/unboxing Integers in the miss accounting

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: explicitly check for matching unit types in the Inputs that still hold a String unit-name

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: cleanup the realtime simulation calculation

Fold the rebasing of the wall clock datum into the calculation function, these
were always called together and only need to take the current simTime as an argument
when the realtime-simtime correspondence needs to be reset.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: begin moving the simulation state into GUIFrame

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: centralize the setting of the Input edited flag in the parser

Rather than relying on each parse() method calling this, just make sure it is
updated whenever parse() is called successfully, and remove the call from all
parse() implementations.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove the reflection-based API for adding events to the Event Stack

Events can be entirely specified using a ProcessTarget, expose this directly.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: separate whether edits are being recorded from the Simulation state

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move the Simulation state to GUIFrame

This state really represents configuration and higher level state controlled outside
of the simulation itself.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move the constant definitions to GUIFrame now that the state is held there

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: consolidate the remaining Reflection use in EventManager

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: kill the EventViewer and associated String-building code

This is getting in the way of factoring out the 'caller' member of Event and moving
to ProcessTarget everywhere, this code is disabled anyway and should likely come
back as a more generic eventListener pattern.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: fold the debugging checks into a single helper

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Cleanup dead code

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Refactored debug code for drawing convex hulls

This is in preparation for the new convex hulls using by the animation
system. Hulls will no longer be static and therefore can not be cached by
the renderer.

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

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Made Renderer bounds checking animation aware

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Updated precise mesh picking to be correct for animated meshes

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add units back to the OutputViewer even for non-numeric outputs (like Vec3d)

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>