Logo Search packages:      
Sourcecode: blender version File versions  Download package

GIM_TREE_TREE_COLLIDER< BOX_SET_CLASS0, BOX_SET_CLASS1 > Class Template Reference

#include <gim_box_set.h>

List of all members.


Detailed Description

template<typename BOX_SET_CLASS0, typename BOX_SET_CLASS1>
class GIM_TREE_TREE_COLLIDER< BOX_SET_CLASS0, BOX_SET_CLASS1 >

GIM_BOX_SET collision methods.

Definition at line 462 of file gim_box_set.h.


Public Member Functions

void find_collision (BOX_SET_CLASS0 *boxset1, const btTransform &trans1, BOX_SET_CLASS1 *boxset2, const btTransform &trans2, gim_pair_set &collision_pairs, bool complete_primitive_tests=true)

Public Attributes

GUINT current_node0
GUINT current_node1
GIM_AABB m_box0
GIM_AABB m_box1
BOX_SET_CLASS0 * m_boxset0
BOX_SET_CLASS1 * m_boxset1
gim_pair_setm_collision_pairs
GIM_TRIANGLE m_tri0
btVector4 m_tri0_plane
GIM_TRIANGLE m_tri1
btVector4 m_tri1_plane
bool node0_has_triangle
bool node0_is_leaf
bool node1_has_triangle
bool node1_is_leaf
bool t0_is_trimesh
bool t1_is_trimesh
btTransform trans_cache_0to1
GIM_BOX_BOX_TRANSFORM_CACHE trans_cache_1to0

Protected Member Functions

void find_collision_pairs ()
SIMD_FORCE_INLINE bool node_collision (GUINT node0, GUINT node1)
SIMD_FORCE_INLINE void retrieve_node0_info (GUINT node0)
SIMD_FORCE_INLINE void retrieve_node0_triangle (GUINT node0)
SIMD_FORCE_INLINE void retrieve_node1_info (GUINT node1)
SIMD_FORCE_INLINE void retrieve_node1_triangle (GUINT node1)

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

Generated by  Doxygen 1.6.0   Back to index