A model from an OBJ file.
More...
#include <obj.hxx>
A model from an OBJ file.
OBJ::Model::Model |
( |
std::string |
filename | ) |
|
create a Model by loading it from the specified OBJ file
- Parameters
-
filename | the path of the OBJ file to be loaded |
the model's axis-aligned bounding box
std::vector<OBJ::Group>::const_iterator OBJ::Model::beginGroups |
( |
| ) |
const |
|
inline |
iterator for looping over the groups in the module
std::vector<OBJ::Group>::const_iterator OBJ::Model::endGroups |
( |
| ) |
const |
|
inline |
terminator for looping over the groups in the module
const OBJ::Group& OBJ::Model::Group |
( |
int |
i | ) |
const |
|
inline |
int OBJ::Model::NumGroups |
( |
| ) |
const |
|
inline |
the number of groups in this model
int OBJ::Model::NumMaterials |
( |
| ) |
const |
|
inline |
the number of materials associated with this model
The documentation for this class was generated from the following file:
- /Users/jhr/Classes/23700/f2015/code/common/include/obj.hxx