Blender V2.61 - r43446
|
Classes | |
struct | eStatus |
struct | sFace |
struct | sHorizon |
struct | sList |
Public Types | |
typedef GJK::sSV | sSV |
Public Member Functions | |
EPA () | |
void | Initialize () |
eStatus::_ | Evaluate (GJK &gjk, const btVector3 &guess) |
sFace * | newface (sSV *a, sSV *b, sSV *c, bool forced) |
sFace * | findbest () |
bool | expand (U pass, sSV *w, sFace *f, U e, sHorizon &horizon) |
Static Public Member Functions | |
static void | bind (sFace *fa, U ea, sFace *fb, U eb) |
static void | append (sList &list, sFace *face) |
static void | remove (sList &list, sFace *face) |
Public Attributes | |
eStatus::_ | m_status |
GJK::sSimplex | m_result |
btVector3 | m_normal |
btScalar | m_depth |
sSV | m_sv_store [EPA_MAX_VERTICES] |
sFace | m_fc_store [EPA_MAX_FACES] |
U | m_nextsv |
sList | m_hull |
sList | m_stock |
Definition at line 507 of file btGjkEpa2.cpp.
typedef GJK::sSV gjkepa2_impl::EPA::sSV |
Definition at line 510 of file btGjkEpa2.cpp.
gjkepa2_impl::EPA::EPA | ( | ) | [inline] |
Definition at line 557 of file btGjkEpa2.cpp.
References Initialize().
Definition at line 568 of file btGjkEpa2.cpp.
Referenced by Evaluate(), expand(), Initialize(), and newface().
Definition at line 563 of file btGjkEpa2.cpp.
References fb().
Referenced by Evaluate(), and expand().
eStatus::_ gjkepa2_impl::EPA::Evaluate | ( | GJK & | gjk, |
const btVector3 & | guess | ||
) | [inline] |
Definition at line 596 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::eStatus::AccuraryReached, append(), bind(), btCross(), btDot(), btSwap(), gjkepa2_impl::GJK::sSimplex::c, gjkepa2_impl::EPA::sFace::c, gjkepa2_impl::EPA::sHorizon::cf, gjkepa2_impl::EPA::sList::count, gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::GJK::det(), gjkepa2_impl::EPA::sFace::e, gjkepa2_impl::GJK::EncloseOrigin(), EPA_ACCURACY, EPA_MAX_ITERATIONS, EPA_MAX_VERTICES, expand(), gjkepa2_impl::EPA::sFace::f, gjkepa2_impl::EPA::eStatus::FallBack, gjkepa2_impl::EPA::sHorizon::ff, findbest(), gjkepa2_impl::GJK::getsupport(), gjkepa2_impl::EPA::eStatus::InvalidHull, m_depth, m_hull, m_nextsv, m_normal, m_result, gjkepa2_impl::GJK::m_simplex, m_status, m_stock, m_sv_store, gjkepa2_impl::EPA::sFace::n, newface(), gjkepa2_impl::EPA::sHorizon::nf, gjkepa2_impl::EPA::eStatus::OutOfVertices, gjkepa2_impl::GJK::sSimplex::p, gjkepa2_impl::EPA::sFace::p, gjkepa2_impl::EPA::sFace::pass, gjkepa2_impl::GJK::sSimplex::rank, gjkepa2_impl::EPA::sList::root, sum(), U, gjkepa2_impl::EPA::eStatus::Valid, gjkepa2_impl::GJK::sSV::w, and simple_enum_gen::w.
Referenced by btGjkEpaSolver2::Penetration().
Definition at line 753 of file btGjkEpa2.cpp.
References append(), bind(), btDot(), credits_svn_gen::e, EPA_PLANE_EPS, m_hull, m_stock, newface(), and U.
Referenced by Evaluate().
sFace* gjkepa2_impl::EPA::findbest | ( | ) | [inline] |
Definition at line 736 of file btGjkEpa2.cpp.
References gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::EPA::sFace::l, m_hull, minf(), gjkepa2_impl::EPA::sFace::p, and gjkepa2_impl::EPA::sList::root.
Referenced by Evaluate().
void gjkepa2_impl::EPA::Initialize | ( | ) | [inline] |
Definition at line 585 of file btGjkEpa2.cpp.
References append(), EPA_MAX_FACES, gjkepa2_impl::EPA::eStatus::Failed, i, m_depth, m_fc_store, m_nextsv, m_normal, m_status, m_stock, and U.
Referenced by EPA().
Definition at line 700 of file btGjkEpa2.cpp.
References append(), btCross(), btDot(), btMin(), gjkepa2_impl::EPA::sFace::c, gjkepa2_impl::EPA::sFace::d, gjkepa2_impl::EPA::eStatus::Degenerated, EPA_ACCURACY, EPA_INSIDE_EPS, EPA_PLANE_EPS, m_hull, m_status, m_stock, gjkepa2_impl::EPA::sFace::n, gjkepa2_impl::EPA::eStatus::NonConvex, gjkepa2_impl::EPA::eStatus::OutOfFaces, gjkepa2_impl::EPA::eStatus::OutOfVertices, gjkepa2_impl::EPA::sFace::p, gjkepa2_impl::EPA::sFace::pass, and gjkepa2_impl::EPA::sList::root.
Referenced by Evaluate(), and expand().
Definition at line 576 of file btGjkEpa2.cpp.
Definition at line 550 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::Penetration().
sFace gjkepa2_impl::EPA::m_fc_store[EPA_MAX_FACES] |
Definition at line 552 of file btGjkEpa2.cpp.
Referenced by Initialize().
Definition at line 554 of file btGjkEpa2.cpp.
Referenced by Evaluate(), expand(), findbest(), and newface().
Definition at line 553 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and Initialize().
btVector3 gjkepa2_impl::EPA::m_normal |
Definition at line 549 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and btGjkEpaSolver2::Penetration().
Definition at line 548 of file btGjkEpa2.cpp.
Referenced by Evaluate(), and btGjkEpaSolver2::Penetration().
Definition at line 547 of file btGjkEpa2.cpp.
Referenced by Evaluate(), Initialize(), and newface().
Definition at line 555 of file btGjkEpa2.cpp.
Referenced by Evaluate(), expand(), Initialize(), and newface().
sSV gjkepa2_impl::EPA::m_sv_store[EPA_MAX_VERTICES] |
Definition at line 551 of file btGjkEpa2.cpp.
Referenced by Evaluate().