All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
fcl::BVNode< BV > Struct Template Reference

A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and also the geometry data provided in BV template parameter. More...

#include <BV_node.h>

Inheritance diagram for fcl::BVNode< BV >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

FCL_REAL distance (const BVNode &other, Vec3f *P1=NULL, Vec3f *P2=NULL) const
 Compute the distance between two BVNode. P1 and P2, if not NULL and the underlying BV supports distance, return the nearest points.
Vec3f getCenter () const
 Access the center of the BV.
Matrix3f getOrientation () const
 Access the orientation of the BV.
template<>
Matrix3f getOrientation () const
template<>
Matrix3f getOrientation () const
template<>
Matrix3f getOrientation () const
bool overlap (const BVNode &other) const
 Check whether two BVNode collide.

Public Attributes

BV bv
 bounding volume storing the geometry

Detailed Description

template<typename BV>
struct fcl::BVNode< BV >

A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and also the geometry data provided in BV template parameter.

Definition at line 81 of file BV_node.h.


Member Function Documentation

template<typename BV>
FCL_REAL fcl::BVNode< BV >::distance ( const BVNode< BV > &  other,
Vec3f P1 = NULL,
Vec3f P2 = NULL 
) const [inline]

Compute the distance between two BVNode. P1 and P2, if not NULL and the underlying BV supports distance, return the nearest points.

Definition at line 93 of file BV_node.h.

template<typename BV>
Vec3f fcl::BVNode< BV >::getCenter ( ) const [inline]

Access the center of the BV.

Definition at line 99 of file BV_node.h.

template<typename BV>
Matrix3f fcl::BVNode< BV >::getOrientation ( ) const [inline]

Access the orientation of the BV.

Definition at line 102 of file BV_node.h.

template<>
Matrix3f fcl::BVNode< OBB >::getOrientation ( ) const [inline]

Definition at line 106 of file BV_node.h.

template<>
Matrix3f fcl::BVNode< RSS >::getOrientation ( ) const [inline]

Definition at line 114 of file BV_node.h.

template<>
Matrix3f fcl::BVNode< OBBRSS >::getOrientation ( ) const [inline]

Definition at line 122 of file BV_node.h.

template<typename BV>
bool fcl::BVNode< BV >::overlap ( const BVNode< BV > &  other) const [inline]

Check whether two BVNode collide.

Definition at line 87 of file BV_node.h.


Member Data Documentation

template<typename BV>
BV fcl::BVNode< BV >::bv

bounding volume storing the geometry

Definition at line 84 of file BV_node.h.


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


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31