Class Geo
template <typename GridT>
Inherits the following classes: GridT, GeoGridData
Public Functions
| Type | Name |
|---|---|
| Geo (size_t width, size_t height, GeoTransform && transform, GeoProjection && projection) |
|
| Geo (GeoTransform && transform, GeoProjection && projection, Args... args) |
|
| Geo (const std::vector< std::vector< U > > & data, GeoTransform transform=GeoTransform(), GeoProjection projection=GeoProjection()) |
|
| void | draw (const Geo< Grid< RGBColor > > & other, ProgressTracker && progress_tracker, GeoGridCompositeMode composite_mode=GeoGridCompositeMode::AlphaBlend, std::optional< blaze::InterpolationMode > interpolation={}) |
| void | draw_contours (const std::vector< Contour > & contours, const ContourConfigs & configs, double render_scale, bool base_layer_only, ProgressTracker && progress_tracker) |
| void | draw_filled_polygon (const PolygonWithHoles & poly, const ColorVariant & color) |
| void | draw_point (const Coordinate2D< double > & point, const ColorVariant & color, double size) |
| void | draw_streams (const std::vector< Stream > & streams, const WaterConfigs & water, double render_scale, ProgressTracker && progress_tracker) |
| std::unique_ptr< Extent2D > | extent () const |
| void | fill_from (const Geo< U > & other) |
| void | fill_from (const U & other) |
| double | height_m () const |
| Geo | pad (U pad_value={}) const |
| void | rasterize_filled_polygons (const std::vector< PolygonWithHoles > & polygons, const ColorVariant & color, ProgressTracker && progress_tracker) |
| void | save_to (const fs::path & path, const Extent2D & extent, ProgressTracker && progress_tracker) |
| Geo | slice (const Extent2D & extent) |
| double | width_m () const |
Public Functions inherited from GeoGridData
See GeoGridData
| Type | Name |
|---|---|
| GeoGridData (GeoTransform && transform, GeoProjection && projection) |
|
| double | dx () const |
| double | dy () const |
| const GeoProjection & | projection () const |
| const GeoTransform & | transform () const |
Public Static Functions
| Type | Name |
|---|---|
| Geo | FromPoints (const Geo & grid) |
Protected Attributes inherited from GeoGridData
See GeoGridData
| Type | Name |
|---|---|
| GeoProjection | m_projection |
| GeoTransform | m_transform |
Public Functions Documentation
function Geo [1/3]
inline Geo::Geo (
size_t width,
size_t height,
GeoTransform && transform,
GeoProjection && projection
)
function Geo [2/3]
template<typename... Args>
inline Geo::Geo (
GeoTransform && transform,
GeoProjection && projection,
Args... args
)
function Geo [3/3]
template<typename U>
inline Geo::Geo (
const std::vector< std::vector< U > > & data,
GeoTransform transform=GeoTransform (),
GeoProjection projection=GeoProjection ()
)
function draw
inline void Geo::draw (
const Geo < Grid < RGBColor > > & other,
ProgressTracker && progress_tracker,
GeoGridCompositeMode composite_mode=GeoGridCompositeMode::AlphaBlend,
std::optional< blaze::InterpolationMode > interpolation={}
)
function draw_contours
inline void Geo::draw_contours (
const std::vector< Contour > & contours,
const ContourConfigs & configs,
double render_scale,
bool base_layer_only,
ProgressTracker && progress_tracker
)
function draw_filled_polygon
function draw_point
inline void Geo::draw_point (
const Coordinate2D < double > & point,
const ColorVariant & color,
double size
)
function draw_streams
inline void Geo::draw_streams (
const std::vector< Stream > & streams,
const WaterConfigs & water,
double render_scale,
ProgressTracker && progress_tracker
)
function extent
function fill_from [1/2]
function fill_from [2/2]
function height_m
function pad
function rasterize_filled_polygons
inline void Geo::rasterize_filled_polygons (
const std::vector< PolygonWithHoles > & polygons,
const ColorVariant & color,
ProgressTracker && progress_tracker
)
function save_to
inline void Geo::save_to (
const fs::path & path,
const Extent2D & extent,
ProgressTracker && progress_tracker
)
function slice
function width_m
Public Static Functions Documentation
function FromPoints
The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/grid.hpp