Class BaseReader

Inheritance Relationships

Derived Type

Class Documentation

class BaseReader

所有Reader的基类

Subclassed by zmesh::io::ObjReader

Public Functions

virtual bool read(Mesh &mesh, const std::filesystem::path &file, const io_options &options) = 0

根据io选项, 从文件读入网格

参数
  • 输出网格 -- [out]

  • 输入文件 -- [in]

  • io选项 -- [in]

virtual std::string extension() const = 0

返回文件拓展名