zenilib
0.5.3.0
|
A visitor for determining the extents or bounds of a model. More...
#include <Model.h>
Inherits Zeni::Model_Visitor.
Public Member Functions | |
Model_Extents () | |
virtual void | operator() (const Model &model, Lib3dsMeshInstanceNode *const &node, Lib3dsMesh *const &mesh) |
Public Member Functions inherited from Zeni::Model_Visitor | |
Model_Visitor () | |
virtual | ~Model_Visitor () |
virtual void | operator() (const Model &, Lib3dsNode *const &) |
Public Attributes | |
Point3f | lower_bound |
bool | started |
Point3f | upper_bound |
The bounding box of model, first frame only if animated. More... | |
A visitor for determining the extents or bounds of a model.
Contact: bazal d@ze nipex .com
|
virtual |
Reimplemented from Zeni::Model_Visitor.
Definition at line 368 of file Model.cpp.
References lower_bound, Lib3dsMesh::nvertices, started, upper_bound, Lib3dsMesh::vertices, Zeni::Point3f::x, Zeni::Point3f::y, and Zeni::Point3f::z.
Point3f Zeni::Model_Extents::lower_bound |
Definition at line 100 of file Model.h.
Referenced by operator()().
bool Zeni::Model_Extents::started |
Definition at line 101 of file Model.h.
Referenced by operator()().
Point3f Zeni::Model_Extents::upper_bound |
The bounding box of model, first frame only if animated.
Definition at line 100 of file Model.h.
Referenced by operator()().