Public Member Functions | Public Attributes
BVTCache Struct Reference

#include <OPC_TreeCollider.h>

Inheritance diagram for BVTCache:
Inheritance graph
[legend]

List of all members.

Public Member Functions

inline_ BVTCache ()
 Constructor.
void ResetCache ()
inline_ void ResetCountDown ()

Public Attributes

const ModelModel0
 Model for first object.
const ModelModel1
 Model for second object.

Detailed Description

This structure holds cached information used by the algorithm. Two model pointers and two colliding primitives are cached. Model pointers are assigned to their respective meshes, and the pair of colliding primitives is used for temporal coherence. That is, in case temporal coherence is enabled, those two primitives are tested for overlap before everything else. If they still collide, we're done before even entering the recursive collision code.

Definition at line 30 of file OPC_TreeCollider.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 33 of file OPC_TreeCollider.h.


Member Function Documentation

void BVTCache::ResetCache ( ) [inline]

Definition at line 39 of file OPC_TreeCollider.h.

Definition at line 53 of file OPC_TreeCollider.h.


Member Data Documentation

Model for first object.

Definition at line 60 of file OPC_TreeCollider.h.

Model for second object.

Definition at line 61 of file OPC_TreeCollider.h.


The documentation for this struct 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