Пример #1
0
 protected Instrument(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen)
 {
     this.renderer   = Renderer;
     this.dataSource = DataSource;
     this.LinePen    = LinePen;
     this.BackPen    = BackPen;
     this.TextPen    = TextPen;
 }
Пример #2
0
        private void setupInstrumentsAndWidgets(int FrameRate)
        {
            instrumentDataSource   = new InstrumentDataSource(this, physics, camera, projector);
            azimuthInstrument      = new InstrumentAzimuth(renderer, instrumentDataSource, instrumentLinePen, instrumentOutlinePen, instrumentDataPen);
            inclinometerInstrument = new InstrumentInclinometer(renderer, instrumentDataSource, instrumentLinePen, instrumentOutlinePen, instrumentDataPen);
            attitudeInstrument     = new InstrumentAttitude(renderer, instrumentDataSource, instrumentLinePen, instrumentOutlinePen, instrumentDataPen);
            fieldOfViewInstrument  = new InstrumentFieldOfView(renderer, instrumentDataSource, instrumentLinePen, instrumentOutlinePen, instrumentDataPen);

            messageWidget = new WidgetMessage(renderer, FrameRate * 2, defaultPen, borderPen);
            messageWidget.SetMessage("Computing Starting Locations...", true);
            dataWidget = new WidgetData(this, renderer, physics, camera, defaultPen);
        }
Пример #3
0
 public InstrumentFieldOfView(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen)
     : base(Renderer, DataSource, LinePen, BackPen, TextPen)
 {
 }
Пример #4
0
 public InstrumentAttitude(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen)
     : base(Renderer, DataSource, LinePen, BackPen, TextPen)
 {
 }
Пример #5
0
 public InstrumentInclinometer(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen)
     : base(Renderer, DataSource, LinePen, BackPen, TextPen)
 {
 }