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 | |
Vec3s * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3s * | 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 59 of file coal/BVH/BVH_model.h.
|
private |
Definition at line 122 of file coal/internal/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 128 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 113 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 114 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 115 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 112 of file coal/internal/BV_fitter.h.