cgv
|
simple structure to describe a face More...
#include <obj_loader.h>
Public Member Functions | |
face_info (unsigned _nr=0, unsigned _vi0=0, int _ti0=-1, int _ni0=-1, unsigned gi=-1, unsigned mi=-1) | |
construct face info | |
Public Attributes | |
unsigned | degree |
degree of face | |
unsigned | first_vertex_index |
index into vertex index array | |
int | first_texcoord_index |
index into texcoord index array or -1 if not specified | |
int | first_normal_index |
index into normal index array or -1 if not specified | |
int | group_index |
index of group to which the face belongs | |
int | material_index |
material index to which the face belongs | |
simple structure to describe a face
Definition at line 15 of file obj_loader.h.
cgv::media::mesh::face_info::face_info | ( | unsigned | _nr = 0 , |
unsigned | _vi0 = 0 , |
||
int | _ti0 = -1 , |
||
int | _ni0 = -1 , |
||
unsigned | gi = -1 , |
||
unsigned | mi = -1 |
||
) |
construct face info
Definition at line 26 of file obj_loader.cxx.
unsigned cgv::media::mesh::face_info::degree |
degree of face
Definition at line 18 of file obj_loader.h.
int cgv::media::mesh::face_info::first_normal_index |
index into normal index array or -1 if not specified
Definition at line 24 of file obj_loader.h.
int cgv::media::mesh::face_info::first_texcoord_index |
index into texcoord index array or -1 if not specified
Definition at line 22 of file obj_loader.h.
unsigned cgv::media::mesh::face_info::first_vertex_index |
index into vertex index array
Definition at line 20 of file obj_loader.h.
int cgv::media::mesh::face_info::group_index |
index of group to which the face belongs
Definition at line 26 of file obj_loader.h.
int cgv::media::mesh::face_info::material_index |
material index to which the face belongs
Definition at line 28 of file obj_loader.h.