Tatooine
Functions | Variables
tatooine::amira Namespace Reference

Functions

auto read_header (std::ifstream &file)
 
auto read_header (filesystem::path const &path)
 
template<floating_point T = float>
auto read (std::ifstream &file)
 
template<floating_point T = float>
auto read (filesystem::path const &path)
 

Variables

static constexpr auto lattice = std::string_view{"define Lattice"}
 
static constexpr auto boundingbox = std::string_view{"BoundingBox"}
 
static constexpr auto lattice_size = std::string_view{"Lattice { float["}
 
static constexpr auto data_follows = std::string_view{"# Data section follows"}
 
static constexpr auto num_bytes_header = std::size_t(2048)
 

Function Documentation

◆ read() [1/2]

template<floating_point T = float>
auto tatooine::amira::read ( filesystem::path const &  path)

◆ read() [2/2]

template<floating_point T = float>
auto tatooine::amira::read ( std::ifstream &  file)

A simple routine to read an AmiraMesh file that defines a scalar/vector field on a uniform grid.

◆ read_header() [1/2]

auto tatooine::amira::read_header ( filesystem::path const &  path)
inline

◆ read_header() [2/2]

auto tatooine::amira::read_header ( std::ifstream &  file)
inline

Variable Documentation

◆ boundingbox

constexpr auto tatooine::amira::boundingbox = std::string_view{"BoundingBox"}
staticconstexpr

◆ data_follows

constexpr auto tatooine::amira::data_follows = std::string_view{"# Data section follows"}
staticconstexpr

◆ lattice

constexpr auto tatooine::amira::lattice = std::string_view{"define Lattice"}
staticconstexpr

◆ lattice_size

constexpr auto tatooine::amira::lattice_size = std::string_view{"Lattice { float["}
staticconstexpr

◆ num_bytes_header

constexpr auto tatooine::amira::num_bytes_header = std::size_t(2048)
staticconstexpr