The class for the default algorithm fitting a bounding volume to a set of points. More...
#include <BVH_model.h>
Public Member Functions | |
BV | fit (unsigned int *primitive_indices, unsigned int num_primitives) |
Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data. More... | |
Protected Attributes | |
Vec3f * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3f * | vertices |
Private Types | |
typedef BVFitterTpl< BV > | Base |
The class for the default algorithm fitting a bounding volume to a set of points.
Definition at line 57 of file BVH/BVH_model.h.
|
private |
Definition at line 123 of file BV_fitter.h.
|
inline |
Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data.
The primitive is triangle
can fitting both current and previous frame
The primitive is point
can fitting both current and previous frame
Definition at line 129 of file BV_fitter.h.
|
protected |
Definition at line 114 of file BV_fitter.h.
|
protected |
Definition at line 115 of file BV_fitter.h.
|
protected |
Definition at line 116 of file BV_fitter.h.
|
protected |
Definition at line 113 of file BV_fitter.h.