#include <loader_obj.h>
◆ MaterialVector
◆ ObjectIterator
◆ ObjectVector
◆ ~LoaderObj()
ug::LoaderObj::~LoaderObj |
( |
| ) |
|
◆ clear()
void ug::LoaderObj::clear |
( |
| ) |
|
◆ get_material()
const Material& ug::LoaderObj::get_material |
( |
int |
index | ) |
const |
|
inline |
◆ get_material_index_by_name()
int ug::LoaderObj::get_material_index_by_name |
( |
const char * |
name | ) |
const |
|
protected |
◆ get_object()
const Object* ug::LoaderObj::get_object |
( |
int |
index | ) |
const |
|
inline |
◆ load_file()
bool ug::LoaderObj::load_file |
( |
const char * |
strFilename, |
|
|
bool |
convertQuadsToTris = true |
|
) |
| |
References ug::extract_path(), ug::LoaderObj::Material::m_fAlpha, ug::LoaderObj::Object::m_iMaterialIndex, ug::LoaderObj::Object::m_strMaterialName, ug::LoaderObj::Object::m_strName, ug::LoaderObj::Material::m_strName, ug::LoaderObj::Material::m_strTextureDiffuse, ug::LoaderObj::Material::m_vDiffuse, ug::LoaderObj::Object::m_vEdgeList, ug::LoaderObj::Object::m_vQuadList, ug::LoaderObj::Object::m_vQuadListTex, ug::LoaderObj::Object::m_vTriangleList, ug::LoaderObj::Object::m_vTriangleListTex, ug::replace_chars(), ug::split_parameters(), and UG_LOG.
Referenced by ug::LoadGridFromOBJ().
◆ num_materials()
int ug::LoaderObj::num_materials |
( |
| ) |
const |
|
inline |
◆ num_objects()
int ug::LoaderObj::num_objects |
( |
| ) |
const |
|
inline |
◆ num_points()
int ug::LoaderObj::num_points |
( |
| ) |
|
|
inline |
◆ num_uvs()
int ug::LoaderObj::num_uvs |
( |
| ) |
|
|
inline |
◆ objects_begin()
◆ objects_end()
◆ point()
const ug::vector3* ug::LoaderObj::point |
( |
int |
index | ) |
const |
|
inline |
◆ points_begin()
std::vector<ug::vector3>::const_iterator ug::LoaderObj::points_begin |
( |
| ) |
|
|
inline |
◆ points_end()
std::vector<ug::vector3>::const_iterator ug::LoaderObj::points_end |
( |
| ) |
|
|
inline |
◆ uv()
const ug::vector2* ug::LoaderObj::uv |
( |
int |
index | ) |
const |
|
inline |
◆ uv_begin()
std::vector<ug::vector2>::const_iterator ug::LoaderObj::uv_begin |
( |
| ) |
|
|
inline |
◆ uv_end()
std::vector<ug::vector2>::const_iterator ug::LoaderObj::uv_end |
( |
| ) |
|
|
inline |
◆ m_vMaterials
◆ m_vObjects
◆ m_vPoints
◆ m_vTexCoords
The documentation for this class was generated from the following files: