OpenMesh.Core.IO.reader.BaseReader
- class
BaseReader
;
- Base class for reader modules.
Reader modules access persistent data and pass them to the desired
data structure by the means of a BaseImporter derivative.
All reader modules must be derived from this class.
- abstract char[]
get_description
();
- Returns a brief description of the file type that can be parsed.
- abstract char[]
get_extensions
();
- Returns a string with the accepted file extensions separated by a
whitespace and in small caps.
- char[]
get_magic
();
- Return magic bits used to determine file format
- abstract bool
read
(char[] _filename, BaseImporter _bi, ref Options _opt);
- Reads a mesh given by a filename. Usually this method opens a stream
and passes it to stream
read
method. Acceptance checks by filename
extension can be placed here.
- bool
can_u_read
(char[] _filename);
- Returns true if reader can parse filename (checks extension)
|