Public Member Functions | Protected Attributes
AABBOptimizedTree Class Reference

#include <OPC_OptimizedTree.h>

Inheritance diagram for AABBOptimizedTree:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AABBOptimizedTree ()
virtual bool Build (AABBTree *tree)=0
inline_ udword GetNbNodes () const
virtual udword GetUsedBytes () const =0
virtual bool Refit (const MeshInterface *mesh_interface)=0
virtual bool Walk (GenericWalkingCallback callback, void *user_data) const =0
virtual ~AABBOptimizedTree ()

Protected Attributes

udword mNbNodes

Detailed Description

Definition at line 147 of file OPC_OptimizedTree.h.


Constructor & Destructor Documentation

Definition at line 151 of file OPC_OptimizedTree.h.

virtual AABBOptimizedTree::~AABBOptimizedTree ( ) [inline, virtual]

Definition at line 154 of file OPC_OptimizedTree.h.


Member Function Documentation

virtual bool AABBOptimizedTree::Build ( AABBTree tree) [pure virtual]

Builds the collision tree from a generic AABB tree.

Parameters:
tree[in] generic AABB tree
Returns:
true if success

Definition at line 186 of file OPC_OptimizedTree.h.

virtual udword AABBOptimizedTree::GetUsedBytes ( ) const [pure virtual]
virtual bool AABBOptimizedTree::Refit ( const MeshInterface mesh_interface) [pure virtual]

Refits the collision tree after vertices have been modified.

Parameters:
mesh_interface[in] mesh interface for current model
Returns:
true if success
virtual bool AABBOptimizedTree::Walk ( GenericWalkingCallback  callback,
void user_data 
) const [pure virtual]

Walks the tree and call the user back for each node.

Parameters:
callback[in] walking callback
user_data[in] callback's user data
Returns:
true if success

Member Data Documentation

Definition at line 189 of file OPC_OptimizedTree.h.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:20