Collaboration diagram for MTLReader:
Reader State | |
typedef map< string, long > | mtl_name2id_map_t |
vector< OBJMtl > | materials |
mtl_name2id_map_t | mtl_name2id |
Element Reading Functions | |
bool | exists_current_material () |
static bool | read_newmtl (istream &in, MTLReader *self) |
static bool | read_Ka (istream &in, MTLReader *self) |
static bool | read_Kd (istream &in, MTLReader *self) |
static bool | read_Ks (istream &in, MTLReader *self) |
static bool | read_d (istream &in, MTLReader *self) |
static bool | read_Tr (istream &in, MTLReader *self) |
static bool | read_Ns (istream &in, MTLReader *self) |
static bool | read_illum (istream &in, MTLReader *self) |
static bool | read_map_Kd (istream &in, MTLReader *self) |
Public Member Functions | |
MTLReader () | |
bool | read (istream &in) |
bool | has_material (const string &mtl_name) const |
const OBJMtl & | get_material (const string &mtl_name) const |
Private Attributes | |
Reader< MTLReader > | reader |
Definition at line 492 of file objreader.C.
|
Definition at line 533 of file objreader.C. |
|
Definition at line 540 of file objreader.C. References Reader< T >::add_reader_function(), read_d(), read_illum(), read_Ka(), read_Kd(), read_Ks(), read_map_Kd(), read_newmtl(), read_Ns(), read_Tr(), and reader. |
|
Definition at line 724 of file objreader.C. References materials. |
|
Definition at line 503 of file objreader.C. References has_material(), materials, and mtl_name2id. Referenced by OBJReaderImpl::read_mtl_files(). |
|
Definition at line 500 of file objreader.C. References mtl_name2id. Referenced by get_material(), and OBJReaderImpl::read_mtl_files(). |
|
Definition at line 556 of file objreader.C. References materials, mtl_name2id, Reader< T >::read(), and reader. Referenced by OBJReaderImpl::read_mtl_files(). |
|
Definition at line 644 of file objreader.C. References read_Tr(). Referenced by MTLReader(). |
|
Definition at line 688 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 590 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 608 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 626 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 706 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 569 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 670 of file objreader.C. Referenced by MTLReader(). |
|
Definition at line 652 of file objreader.C. Referenced by MTLReader(), and read_d(). |
|
Definition at line 531 of file objreader.C. Referenced by exists_current_material(), get_material(), and read(). |
|
Definition at line 534 of file objreader.C. Referenced by get_material(), has_material(), and read(). |
|
Definition at line 509 of file objreader.C. Referenced by MTLReader(), and read(). |