$search

collision_checking::BVFitter< BV > Class Template Reference

A class for fitting a bounding volume to a set of points. More...

#include <BV_fitter.h>

List of all members.

Public Member Functions

void clear ()
 Clear the geometry primitive data.
BV 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 BV fit (Vec3f *ps, int n)
 Compute a bounding volume that fits a set of n points.

Private Attributes

Vec3fprev_vertices
Triangletri_indices
BVHModelType type
Vec3fvertices

Detailed Description

template<typename BV>
class collision_checking::BVFitter< BV >

A class for fitting a bounding volume to a set of points.

Definition at line 54 of file BV_fitter.h.


Member Function Documentation

template<typename BV >
void collision_checking::BVFitter< BV >::clear ( void   )  [inline]

Clear the geometry primitive data.

Definition at line 129 of file BV_fitter.h.

template<typename BV >
BV collision_checking::BVFitter< BV >::fit ( unsigned int *  primitive_indices,
int  num_primitives 
) [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.

Definition at line 91 of file BV_fitter.h.

template<typename BV >
static BV collision_checking::BVFitter< BV >::fit ( Vec3f ps,
int  n 
) [inline, static]

Compute a bounding volume that fits a set of n points.

Definition at line 59 of file BV_fitter.h.

template<typename BV >
void collision_checking::BVFitter< BV >::set ( Vec3f vertices_,
Vec3f prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
) [inline]

Prepare the geometry primitive data for fitting.

Definition at line 80 of file BV_fitter.h.

template<typename BV >
void collision_checking::BVFitter< BV >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
) [inline]

Prepare the geometry primitive data for fitting.

Definition at line 71 of file BV_fitter.h.


Member Data Documentation

template<typename BV >
Vec3f* collision_checking::BVFitter< BV >::prev_vertices [private]

Definition at line 140 of file BV_fitter.h.

template<typename BV >
Triangle* collision_checking::BVFitter< BV >::tri_indices [private]

Definition at line 141 of file BV_fitter.h.

template<typename BV >
BVHModelType collision_checking::BVFitter< BV >::type [private]

Definition at line 142 of file BV_fitter.h.

template<typename BV >
Vec3f* collision_checking::BVFitter< BV >::vertices [private]

Definition at line 139 of file BV_fitter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


collision_checking
Author(s): Jia Pan, Dinesh Manocha (UNC, Chapel Hill)
autogenerated on Fri Mar 1 14:57:00 2013