Beispiel #1
0
 public OrbitAnalyser(PrincipiaPluginAdapter adapter,
                      PredictedVessel predicted_vessel) : base(
         adapter,
         predicted_vessel,
         UnityEngine.GUILayout.MinWidth(0))
 {
     adapter_ = adapter;
 }
Beispiel #2
0
 protected VesselSupervisedWindowRenderer(ISupervisor supervisor,
                                          PredictedVessel predicted_vessel,
                                          params UnityEngine.GUILayoutOption[]
                                          options) : base(
         supervisor,
         options)
 {
     predicted_vessel_ = predicted_vessel;
 }
Beispiel #3
0
 public MainWindow(PrincipiaPluginAdapter adapter,
                   FlightPlanner flight_planner,
                   ReferenceFrameSelector plotting_frame_selector,
                   PredictedVessel predicted_vessel)
     : base(adapter)
 {
     adapter_                 = adapter;
     flight_planner_          = flight_planner;
     plotting_frame_selector_ = plotting_frame_selector;
     predicted_vessel_        = predicted_vessel;
     Show();
 }
Beispiel #4
0
 public FlightPlanner(PrincipiaPluginAdapter adapter,
                      PredictedVessel predicted_vessel)
     : base(adapter, predicted_vessel)
 {
     adapter_    = adapter;
     final_time_ = new DifferentialSlider(
         label: "Plan length",
         unit: null,
         log10_lower_rate: log10_time_lower_rate_,
         log10_upper_rate: log10_time_upper_rate_,
         min_value: 10,
         max_value: double.PositiveInfinity,
         formatter: FormatPlanLength,
         parser: TryParsePlanLength,
         field_width: 7);
 }
Beispiel #5
0
 public FlightPlanner(PrincipiaPluginAdapter adapter,
                      PredictedVessel predicted_vessel) : base(
         adapter,
         predicted_vessel)
 {
     adapter_          = adapter;
     predicted_vessel_ = predicted_vessel;
     final_time_       = new DifferentialSlider(
         label: L10N.CacheFormat("#Principia_FlightPlan_PlanLength"),
         unit: null,
         log10_lower_rate: log10_time_lower_rate,
         log10_upper_rate: log10_time_upper_rate,
         min_value: 10,
         max_value: double.PositiveInfinity,
         formatter: FormatPlanLength,
         parser: TryParsePlanLength,
         field_width: 7);
     final_trajectory_analyser_ =
         new PlannedOrbitAnalyser(adapter, predicted_vessel);
 }
 public PlannedOrbitAnalyser(PrincipiaPluginAdapter adapter,
                             PredictedVessel predicted_vessel)
     : base(adapter, predicted_vessel)
 {
 }