Loading...
Searching...
No Matches
Namespaces | Functions
fit.h File Reference

read and write BSDF fits to a 'fit' file. More...

#include <map>
#include <fstream>
#include "util/string_util.h"
#include "bbm/bsdf_ptr.h"
#include "bbm/bsdf_import.h"

Go to the source code of this file.

Namespaces

namespace  bbm
 
namespace  bbm::io
 

Functions

template<typename CONF >
requires concepts::config<CONF>
void importFIT (const std::string &filename, std::map< std::string, bsdf_ptr< CONF > > &data)
 Import a 'fit' file.
 
template<typename CONF >
requires concepts::config<CONF>
void exportFIT (const std::string &filename, const std::map< std::string, bsdf_ptr< CONF > > &data, const std::string &comment)
 Export a 'fit' file.
 

Detailed Description

read and write BSDF fits to a 'fit' file.

FIT file format is a text file where: