public void Register(IWaypointInfo waypoint, SimulationVisualOutputStation3D visual) { if (!_managedInfoObjects.ContainsKey(waypoint)) { _managedInfoObjects[waypoint] = new SimulationInfoWaypoint(_infoHost, waypoint); } _managed3DVisuals[visual] = _managedInfoObjects[waypoint]; _managed3DVisuals[visual].ManagedVisual3D = visual; }
public void Register(IOutputStationInfo oStation, SimulationVisualOutputStation3D visual) { if (!_managedInfoObjects.ContainsKey(oStation)) { _managedInfoObjects[oStation] = new SimulationInfoOutputStation(_infoHost, oStation); } _managed3DVisuals[visual] = _managedInfoObjects[oStation]; _managed3DVisuals[visual].ManagedVisual3D = visual; }