Skip to content

File tif.cpp

FileList > lib > tif > tif.cpp

Go to the source code of this file

  • #include "tif.hpp"
  • #include <gdal.h>
  • #include <optional>
  • #include <type_traits>
  • #include "assert/gdal_assert.hpp"
  • #include "gdal_priv.h"
  • #include "io/gdal_init.hpp"
  • #include "isom/colors.hpp"
  • #include "utilities/timer.hpp"

Classes

Type Name
struct is_std_optional <typename T>
struct is_std_optional< std::optional< T > > <typename T>

Public Attributes

Type Name
constexpr bool is_std_optional_v = [**is\_std\_optional**](structis__std__optional.md)&lt;T&gt;::value

Public Functions

Type Name
constexpr GDALDataType gdal_type ()
Geo< MultiBand< FlexGrid > > read_tif (const fs::path & filename)
void write_to_image_tif (const GeoGrid< T > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_image_tif (const GeoGrid< double > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
void write_to_tif (const Geo< GridT > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< double > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< float > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< std::byte > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< RGBColor > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< CMYKColor > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< std::optional< std::byte > > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< std::optional< double > > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const GeoGrid< std::optional< float > > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)
template void write_to_tif (const Geo< MultiBand< FlexGrid > > & grid, const fs::path & filename, std::optional< ProgressTracker > progress_tracker)

Public Attributes Documentation

variable is_std_optional_v

constexpr bool is_std_optional_v;

Public Functions Documentation

function gdal_type

template<typename T>
constexpr  GDALDataType gdal_type () 

function read_tif

Geo < MultiBand < FlexGrid > > read_tif (
    const fs::path & filename
) 

function write_to_image_tif

template<typename T>
void write_to_image_tif (
    const  GeoGrid < T > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_image_tif

template  void write_to_image_tif (
    const  GeoGrid < double > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template<typename GridT>
void write_to_tif (
    const  Geo < GridT > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < double > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < float > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < std::byte > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < RGBColor > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < CMYKColor > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < std::optional< std::byte > > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < std::optional< double > > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  GeoGrid < std::optional< float > > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 

function write_to_tif

template  void write_to_tif (
    const  Geo < MultiBand < FlexGrid > > & grid,
    const fs::path & filename,
    std::optional< ProgressTracker > progress_tracker
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/tif/tif.cpp