$search
Specification of BVFitter for RSS bounding volume. More...
#include <BV_fitter.h>
Public Member Functions | |
| void | clear () |
| Clear the geometry primitive data. | |
| RSS | fit (unsigned int *primitive_indices, 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. | |
| void | set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
| Prepare the geometry primitive data for fitting. | |
| void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
| Prepare the geometry primitive data for fitting. | |
Static Public Member Functions | |
| static RSS | fit (Vec3f *ps, int n) |
| Compute a bounding volume that fits a set of n points. | |
Static Private Member Functions | |
| static RSS | fit1 (Vec3f *ps) |
| Fit RSS for one point. | |
| static RSS | fit2 (Vec3f *ps) |
| static RSS | fit3 (Vec3f *ps) |
| static RSS | fitn (Vec3f *ps, int n) |
| Fit RSS for n points. | |
Private Attributes | |
| Vec3f * | prev_vertices |
| Triangle * | tri_indices |
| BVHModelType | type |
| Vec3f * | vertices |
Specification of BVFitter for RSS bounding volume.
Definition at line 213 of file BV_fitter.h.
| void collision_checking::BVFitter< RSS >::clear | ( | void | ) | [inline] |
Clear the geometry primitive data.
Definition at line 244 of file BV_fitter.h.
| RSS collision_checking::BVFitter< RSS >::fit | ( | unsigned int * | primitive_indices, | |
| 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.
Definition at line 1125 of file BV_fitter.cpp.
| RSS collision_checking::BVFitter< RSS >::fit | ( | Vec3f * | ps, | |
| int | n | |||
| ) | [static] |
Compute a bounding volume that fits a set of n points.
Definition at line 1106 of file BV_fitter.cpp.
| RSS collision_checking::BVFitter< RSS >::fit1 | ( | Vec3f * | ps | ) | [static, private] |
Fit RSS for one point.
Definition at line 1187 of file BV_fitter.cpp.
| RSS collision_checking::BVFitter< RSS >::fit2 | ( | Vec3f * | ps | ) | [static, private] |
Definition at line 1201 of file BV_fitter.cpp.
| RSS collision_checking::BVFitter< RSS >::fit3 | ( | Vec3f * | ps | ) | [static, private] |
Definition at line 1248 of file BV_fitter.cpp.
| RSS collision_checking::BVFitter< RSS >::fitn | ( | Vec3f * | ps, | |
| int | n | |||
| ) | [static, private] |
Fit RSS for n points.
Definition at line 1282 of file BV_fitter.cpp.
| void collision_checking::BVFitter< RSS >::set | ( | Vec3f * | vertices_, | |
| Vec3f * | prev_vertices_, | |||
| Triangle * | tri_indices_, | |||
| BVHModelType | type_ | |||
| ) | [inline] |
Prepare the geometry primitive data for fitting.
Definition at line 230 of file BV_fitter.h.
| void collision_checking::BVFitter< RSS >::set | ( | Vec3f * | vertices_, | |
| Triangle * | tri_indices_, | |||
| BVHModelType | type_ | |||
| ) | [inline] |
Prepare the geometry primitive data for fitting.
Definition at line 221 of file BV_fitter.h.
Vec3f* collision_checking::BVFitter< RSS >::prev_vertices [private] |
Definition at line 255 of file BV_fitter.h.
Triangle* collision_checking::BVFitter< RSS >::tri_indices [private] |
Definition at line 256 of file BV_fitter.h.
BVHModelType collision_checking::BVFitter< RSS >::type [private] |
Definition at line 257 of file BV_fitter.h.
Vec3f* collision_checking::BVFitter< RSS >::vertices [private] |
Definition at line 254 of file BV_fitter.h.