예제 #1
0
 public OrbitAnalyser(PrincipiaPluginAdapter adapter,
                      PredictedVessel predicted_vessel) : base(
         adapter,
         predicted_vessel,
         UnityEngine.GUILayout.MinWidth(0))
 {
     adapter_ = adapter;
 }
예제 #2
0
 protected VesselSupervisedWindowRenderer(ISupervisor supervisor,
                                          PredictedVessel predicted_vessel,
                                          params UnityEngine.GUILayoutOption[]
                                          options) : base(
         supervisor,
         options)
 {
     predicted_vessel_ = predicted_vessel;
 }
예제 #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();
 }
예제 #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);
 }
예제 #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);
 }
예제 #6
0
 public PlannedOrbitAnalyser(PrincipiaPluginAdapter adapter,
                             PredictedVessel predicted_vessel)
     : base(adapter, predicted_vessel)
 {
 }