Class ObjReader
Defined in File obj_reader.h
Inheritance Relationships
Base Type
public zmesh::io::BaseReader(Class BaseReader)
Class Documentation
-
class ObjReader : public zmesh::io::BaseReader
从obj文件读入网格
Public Functions
-
inline virtual bool read(Mesh &mesh, const std::filesystem::path &file, const io_options &options)
根据io选项, 从文件读入网格
- 参数
输出网格 -- [out]
输入文件 -- [in]
io选项 -- [in]
-
inline virtual std::string extension() const
返回文件拓展名
-
inline virtual bool read(Mesh &mesh, const std::filesystem::path &file, const io_options &options)