ChartControl(AnalysisWidget &_analysis_widget, const ChartLook &_chart_look, const MapLook &map_look, const CrossSectionLook &_cross_section_look, const ThermalBandLook &_thermal_band_look, const CrossSectionLook &cross_section_look, const AirspaceLook &airspace_look, const Airspaces *airspaces, const RasterTerrain *terrain, const FullBlackboard &_blackboard, const GlideComputer &_glide_computer) :analysis_widget(_analysis_widget), chart_look(_chart_look), cross_section_look(_cross_section_look), thermal_band_renderer(_thermal_band_look, chart_look), fs_renderer(chart_look, map_look), cross_section_renderer(cross_section_look, airspace_look, chart_look), blackboard(_blackboard), glide_computer(_glide_computer) { cross_section_renderer.SetAirspaces(airspaces); cross_section_renderer.SetTerrain(terrain); }
/** * Set airspace database to use * @param _airspace_database Pointer to the airspace database or NULL */ void SetAirspaces(const Airspaces *airspace_database) { renderer.SetAirspaces(airspace_database); }