Public Member Functions
fcl::BVFitter< kIOS > Class Template Reference

Specification of BVFitter for kIOS bounding volume. More...

#include <hpp/fcl/BVH/BV_fitter.h>

Inheritance diagram for fcl::BVFitter< kIOS >:
[legend]
Collaboration diagram for fcl::BVFitter< kIOS >:
[legend]

List of all members.

Public Member Functions

void set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)
 Prepare the geometry primitive data for fitting.
void set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)
 Prepare the geometry primitive data for fitting.
kIOS fit (unsigned int *primitive_indices, int num_primitives)
 Compute a bounding volume that fits a set of primitives (points or triangles).
void clear ()
 Clear the geometry primitive data.

Detailed Description

template<>
class fcl::BVFitter< kIOS >

Specification of BVFitter for kIOS bounding volume.


Member Function Documentation

void fcl::BVFitter< kIOS >::clear ( ) [inline, virtual]

Clear the geometry primitive data.

Implements fcl::BVFitterBase< kIOS >.

References fcl::BVH_MODEL_UNKNOWN.

kIOS fcl::BVFitter< kIOS >::fit ( unsigned int *  primitive_indices,
int  num_primitives 
) [virtual]

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.

Implements fcl::BVFitterBase< kIOS >.

void fcl::BVFitter< kIOS >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
) [inline, virtual]

Prepare the geometry primitive data for fitting.

Implements fcl::BVFitterBase< kIOS >.

void fcl::BVFitter< kIOS >::set ( Vec3f vertices_,
Vec3f prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
) [inline, virtual]

Prepare the geometry primitive data for fitting.

Implements fcl::BVFitterBase< kIOS >.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines