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; }
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); }
public InstrumentFieldOfView(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen) : base(Renderer, DataSource, LinePen, BackPen, TextPen) { }
public InstrumentAttitude(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen) : base(Renderer, DataSource, LinePen, BackPen, TextPen) { }
public InstrumentInclinometer(IRenderer Renderer, InstrumentDataSource DataSource, QPen LinePen, QPen BackPen, QPen TextPen) : base(Renderer, DataSource, LinePen, BackPen, TextPen) { }