17#ifndef __surface_scalar_h__
18#define __surface_scalar_h__
30 class Scalar :
public Eigen::Array<default_type, Eigen::Dynamic, 1>
34 using Base = Eigen::Array<default_type, Eigen::Dynamic, 1>;
41 Base (std::move (that)),
42 name (std::move (that.name)) { }
48 name = std::move (that.name);
65 void save (
const std::string&)
const;
67 const std::string& get_name()
const {
return name; }
68 void set_name (
const std::string& s) { name = s; }
74 void load_fs_w (
const std::string&,
const Mesh&);
75 void load_fs_curv (
const std::string&,
const Mesh&);
Array & operator=(const MR::Helper::ConstRow< ImageType > &row)
void resize(const std::string &filename, int64_t size)