Wildmeshing Toolkit
load_image_exr.cpp File Reference
#include "load_image_exr.hpp"
#include <tinyexr.h>
#include <cassert>
#include <wmtk/utils/Logger.hpp>
Include dependency graph for load_image_exr.cpp:

Go to the source code of this file.

Macros

#define TINYEXR_USE_STB_ZLIB   1
 
#define TINYEXR_USE_MINIZ   0
 
#define TINYEXR_IMPLEMENTATION
 

Functions

auto load_image_exr_red_channel (const std::filesystem::path &path) -> std::tuple< size_t, size_t, std::vector< float >>
 
auto load_image_exr_split_3channels (const std::filesystem::path &path) -> std::tuple< size_t, size_t, int, int, int, std::vector< float >, std::vector< float >, std::vector< float >>
 

Macro Definition Documentation

◆ TINYEXR_IMPLEMENTATION

#define TINYEXR_IMPLEMENTATION

Definition at line 5 of file load_image_exr.cpp.

◆ TINYEXR_USE_MINIZ

#define TINYEXR_USE_MINIZ   0

Definition at line 4 of file load_image_exr.cpp.

◆ TINYEXR_USE_STB_ZLIB

#define TINYEXR_USE_STB_ZLIB   1

Definition at line 3 of file load_image_exr.cpp.

Function Documentation

◆ load_image_exr_red_channel()

auto load_image_exr_red_channel ( const std::filesystem::path &  path) -> std::tuple<size_t, size_t, std::vector<float>>

Definition at line 10 of file load_image_exr.cpp.

References wmtk::logger().

Here is the call graph for this function:

◆ load_image_exr_split_3channels()

auto load_image_exr_split_3channels ( const std::filesystem::path &  path) -> std:: tuple<size_t, size_t, int, int, int, std::vector<float>, std::vector<float>, std::vector<float>>

Definition at line 163 of file load_image_exr.cpp.

References wmtk::logger().

Here is the call graph for this function: