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 RasterTerrain to use * @param _terrain Pointer to the RasterTerrain or NULL */ void SetTerrain(const RasterTerrain *terrain) { renderer.SetTerrain(terrain); }