Wildmeshing Toolkit
mesh_with_tag_from_image.cpp File Reference
#include "mesh_with_tag_from_image.hpp"
#include <filesystem>
#include <wmtk/utils/mesh_utils.hpp>
#include <stb_image.h>
Include dependency graph for mesh_with_tag_from_image.cpp:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::components
 
 wmtk::components::input
 

Macros

#define STB_IMAGE_IMPLEMENTATION
 

Functions

Eigen::Matrix< int64_t, -1, -1 > wmtk::components::input::tags_from_image (const std::filesystem::path &file)
 
std::shared_ptr< wmtk::TriMeshwmtk::components::input::mesh_with_tag_from_image (const std::filesystem::path &file, const std::string &tag_name)
 Build a tagged triangle mesh from a greyscale image. More...
 

Macro Definition Documentation

◆ STB_IMAGE_IMPLEMENTATION

#define STB_IMAGE_IMPLEMENTATION

Definition at line 6 of file mesh_with_tag_from_image.cpp.