![]() |
TAPs 0.7.7.3
|
#include "TAPsCDFnsGlobalStuff.cpp"
Include dependency graph for TAPsCDFnsGlobalStuff.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | CalFinalForce () |
Variables | |
| BEGIN_NAMESPACE_TAPs__CD__Fn float | CDScaleForSphereBVWithTriangle = 0.025 |
| float | CDScaleForCylinderBVWithTriangle = 0.025 |
| std::vector< Vector3< float > > | ListOfContactPts |
| std::vector< Vector3< float > > | ListOfForces |
| Vector3< float > | forceCentroid (0, 0, 0.2) |
| Vector3< float > | finalForcePos (0, 0, 0) |
| Vector3< float > | finalForce |
Global stuff for collision detection
Definition in file TAPsCDFnsGlobalStuff.hpp.
| void CalFinalForce | ( | ) |
Definition at line 16 of file TAPsCDFnsGlobalStuff.cpp.
References finalForce, ListOfForces, and Vector3< T >::SetXYZ().
{
finalForce.SetXYZ( 0, 0, 0 );
for ( int i = 0; i < static_cast<int>( ListOfForces.size() ); ++i ) {
finalForce += ListOfForces[i];
}
}
Here is the call graph for this function:| float CDScaleForCylinderBVWithTriangle = 0.025 |
Definition at line 19 of file TAPsCDFnsGlobalStuff.hpp.
Referenced by CDR_PolygonalMesh_vs_MBV().
| BEGIN_NAMESPACE_TAPs__CD__Fn float CDScaleForSphereBVWithTriangle = 0.025 |
Definition at line 18 of file TAPsCDFnsGlobalStuff.hpp.
Referenced by CDR_PolygonalMesh_vs_BV(), CDR_PolygonalMesh_vs_MBV(), and CDRigid_PolygonalMesh_vs_MBV().
| Vector3<float> finalForce |
Definition at line 25 of file TAPsCDFnsGlobalStuff.hpp.
Referenced by CalFinalForce().
| Vector3<float> finalForcePos(0, 0, 0) |
| Vector3<float> forceCentroid(0, 0, 0.2) |
| std::vector< Vector3<float> > ListOfContactPts |
Definition at line 20 of file TAPsCDFnsGlobalStuff.hpp.
Referenced by CD_PolygonalMesh_vs_LineSegment(), CDR_PolygonalMesh_vs_BV(), CDR_PolygonalMesh_vs_MBV(), and CDRigid_PolygonalMesh_vs_MBV().
| std::vector< Vector3<float> > ListOfForces |
Definition at line 21 of file TAPsCDFnsGlobalStuff.hpp.
Referenced by CalFinalForce(), CD_PolygonalMesh_vs_LineSegment(), CDR_PolygonalMesh_vs_BV(), CDR_PolygonalMesh_vs_MBV(), and CDRigid_PolygonalMesh_vs_MBV().