Definition at line 487 of file model.cpp.
Public Member Functions | |
void | attach () |
bool | detach () |
Returns true if the object deleted itself. | |
dictionary< mesh *, string > & | get_meshes () |
const int & | get_ref_count () const |
mesh_file (const string &fname) | |
~mesh_file () | |
Private Member Functions | |
void | load_obj_file (const string &fname) |
Private Attributes | |
dictionary< mesh *, string > | meshes |
Definition at line 504 of file model.cpp.
References file::get_full_path(), mesh_file::load_obj_file(), string::make_lower(), string::right_substring(), and string::w_string().
~mesh_file | ( | ) |
void attach | ( | ) | [inherited] |
Definition at line 53 of file shared.cpp.
References shared_object::ref_count.
Referenced by font::font(), material::material(), model_part::model_part(), string::operator=(), string::string(), texture::texture(), and string::unshare().
bool detach | ( | ) | [inherited] |
Returns true if the object deleted itself.
Definition at line 59 of file shared.cpp.
References shared_object::ref_count.
Referenced by string::make_null(), string::unshare(), font::~font(), and texture::~texture().
dictionary<mesh *, string>& get_meshes | ( | ) | [inline] |
const int& get_ref_count | ( | ) | const [inline, inherited] |
void load_obj_file | ( | const string & | fname | ) | [private] |
Definition at line 590 of file model.cpp.
References simple_array::append(), ft_stream::at_end(), file::get_dir_name(), mesh::get_submeshes(), submesh::mat, mesh_file::meshes, list::size(), string::size(), string::split(), string::trim(), and string::w_string().
Referenced by mesh_file::mesh_file().
dictionary<mesh *, string> meshes [private] |
Definition at line 490 of file model.cpp.
Referenced by mesh_file::load_obj_file(), and mesh_file::~mesh_file().