Public Types | Public Member Functions | Public Attributes | List of all members
fcl::detail::MeshContinuousCollisionTraversalNode< BV > Class Template Reference

Traversal node for continuous collision between meshes. More...

#include <mesh_continuous_collision_traversal_node.h>

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

Public Types

using S = typename BV::S
 
- Public Types inherited from fcl::detail::BVHCollisionTraversalNode< BV >
using S = typename BV::S
 

Public Member Functions

bool canStop () const
 Whether the traversal process can stop early. More...
 
void leafTesting (int b1, int b2) const
 Intersection testing between leaves (two triangles) More...
 
 MeshContinuousCollisionTraversalNode ()
 
- Public Member Functions inherited from fcl::detail::BVHCollisionTraversalNode< BV >
 BVHCollisionTraversalNode ()
 
bool BVTesting (int b1, int b2) const
 BV culling test in one BVTT node. More...
 
bool firstOverSecond (int b1, int b2) const
 Determine the traversal order, is the first BVTT subtree better. More...
 
int getFirstLeftChild (int b) const
 Obtain the left child of BV node in the first BVH. More...
 
int getFirstRightChild (int b) const
 Obtain the right child of BV node in the first BVH. More...
 
int getSecondLeftChild (int b) const
 Obtain the left child of BV node in the second BVH. More...
 
int getSecondRightChild (int b) const
 Obtain the right child of BV node in the second BVH. More...
 
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf. More...
 
bool isSecondNodeLeaf (int b) const
 Whether the BV node in the second BVH tree is leaf. More...
 
- Public Member Functions inherited from fcl::detail::CollisionTraversalNodeBase< BV::S >
virtual bool canStop () const
 Check whether the traversal can stop. More...
 
 CollisionTraversalNodeBase ()
 
void enableStatistics (bool enable)
 Whether store some statistics information during traversal. More...
 
virtual ~CollisionTraversalNodeBase ()
 
- Public Member Functions inherited from fcl::detail::TraversalNodeBase< BV::S >
virtual void postprocess ()
 
virtual void preprocess ()
 
virtual ~TraversalNodeBase ()
 

Public Attributes

int num_ee_tests
 
int num_vf_tests
 
std::vector< BVHContinuousCollisionPair< S > > pairs
 
Vector3< S > * prev_vertices1
 
Vector3< S > * prev_vertices2
 
S time_of_contact
 
Triangletri_indices1
 
Triangletri_indices2
 
Vector3< S > * vertices1
 
Vector3< S > * vertices2
 
- Public Attributes inherited from fcl::detail::BVHCollisionTraversalNode< BV >
const BVHModel< BV > * model1
 The first BVH model. More...
 
const BVHModel< BV > * model2
 The second BVH model. More...
 
int num_bv_tests
 statistical information More...
 
int num_leaf_tests
 
S query_time_seconds
 
- Public Attributes inherited from fcl::detail::CollisionTraversalNodeBase< BV::S >
bool enable_statistics
 Whether stores statistics. More...
 
CollisionRequest< BV::S > request
 request setting for collision More...
 
CollisionResult< BV::S > * result
 collision result kept during the traversal iteration More...
 
- Public Attributes inherited from fcl::detail::TraversalNodeBase< BV::S >
Transform3< BV::S > tf1
 configuation of first object More...
 
Transform3< BV::S > tf2
 configuration of second object More...
 

Detailed Description

template<typename BV>
class fcl::detail::MeshContinuousCollisionTraversalNode< BV >

Traversal node for continuous collision between meshes.

Definition at line 69 of file mesh_continuous_collision_traversal_node.h.

Member Typedef Documentation

◆ S

template<typename BV >
using fcl::detail::MeshContinuousCollisionTraversalNode< BV >::S = typename BV::S

Definition at line 74 of file mesh_continuous_collision_traversal_node.h.

Constructor & Destructor Documentation

◆ MeshContinuousCollisionTraversalNode()

Member Function Documentation

◆ canStop()

template<typename BV >
bool fcl::detail::MeshContinuousCollisionTraversalNode< BV >::canStop

Whether the traversal process can stop early.

Definition at line 176 of file mesh_continuous_collision_traversal_node-inl.h.

◆ leafTesting()

template<typename BV >
void fcl::detail::MeshContinuousCollisionTraversalNode< BV >::leafTesting ( int  b1,
int  b2 
) const
virtual

Intersection testing between leaves (two triangles)

Reimplemented from fcl::detail::CollisionTraversalNodeBase< BV::S >.

Definition at line 90 of file mesh_continuous_collision_traversal_node-inl.h.

Member Data Documentation

◆ num_ee_tests

template<typename BV >
int fcl::detail::MeshContinuousCollisionTraversalNode< BV >::num_ee_tests
mutable

Definition at line 94 of file mesh_continuous_collision_traversal_node.h.

◆ num_vf_tests

template<typename BV >
int fcl::detail::MeshContinuousCollisionTraversalNode< BV >::num_vf_tests
mutable

Definition at line 93 of file mesh_continuous_collision_traversal_node.h.

◆ pairs

template<typename BV >
std::vector<BVHContinuousCollisionPair<S> > fcl::detail::MeshContinuousCollisionTraversalNode< BV >::pairs
mutable

Definition at line 96 of file mesh_continuous_collision_traversal_node.h.

◆ prev_vertices1

template<typename BV >
Vector3<S>* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::prev_vertices1

Definition at line 90 of file mesh_continuous_collision_traversal_node.h.

◆ prev_vertices2

template<typename BV >
Vector3<S>* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::prev_vertices2

Definition at line 91 of file mesh_continuous_collision_traversal_node.h.

◆ time_of_contact

template<typename BV >
S fcl::detail::MeshContinuousCollisionTraversalNode< BV >::time_of_contact
mutable

Definition at line 98 of file mesh_continuous_collision_traversal_node.h.

◆ tri_indices1

template<typename BV >
Triangle* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::tri_indices1

Definition at line 87 of file mesh_continuous_collision_traversal_node.h.

◆ tri_indices2

template<typename BV >
Triangle* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::tri_indices2

Definition at line 88 of file mesh_continuous_collision_traversal_node.h.

◆ vertices1

template<typename BV >
Vector3<S>* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::vertices1

Definition at line 84 of file mesh_continuous_collision_traversal_node.h.

◆ vertices2

template<typename BV >
Vector3<S>* fcl::detail::MeshContinuousCollisionTraversalNode< BV >::vertices2

Definition at line 85 of file mesh_continuous_collision_traversal_node.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50