#include <ParallelBruteForceBroadPhase.h>
Task meant to be executed in parallel, and performing pair-wise collision tests. More...
Task meant to be executed in parallel, and performing pair-wise collision tests.
Public Attributes | |
std::vector< std::pair< sofa::core::CollisionModel *, sofa::core::CollisionModel * > > | m_intersectingPairs |
After this task is executed, this list contains pairs of collision models which are intersecting. More... | |
![]() | |
int | m_id |
Public Member Functions | |
BruteForcePairTest (sofa::simulation::CpuTask::Status *status, PairIterator first, PairIterator last, sofa::core::collision::Intersection *intersectionMethod) | |
~BruteForcePairTest () override=default | |
sofa::simulation::Task::MemoryAlloc | run () final |
![]() | |
Status * | getStatus (void) const override final |
CpuTask (Status *status, int scheduledThread=-1) | |
virtual | ~CpuTask ()=default |
![]() | |
Task (int scheduledThread) | |
virtual | ~Task ()=default |
int | getScheduledThread () const |
Additional Inherited Members | |
![]() | |
int | m_scheduledThread |
![]() | |
static void * | operator new (std::size_t sz) |
static void | operator delete (void *ptr) |
static void | operator delete (void *ptr, std::size_t sz) |
static void * | operator new[] (std::size_t sz)=delete |
static Task::Allocator * | getAllocator () |
static void | setAllocator (Task::Allocator *allocator) |
std::vector<std::pair<sofa::core::CollisionModel*, sofa::core::CollisionModel*> > multithreading::component::collision::detection::algorithm::BruteForcePairTest::m_intersectingPairs |
After this task is executed, this list contains pairs of collision models which are intersecting.
multithreading::component::collision::detection::algorithm::BruteForcePairTest::BruteForcePairTest | ( | sofa::simulation::CpuTask::Status * | status, |
PairIterator | first, | ||
PairIterator | last, | ||
sofa::core::collision::Intersection * | intersectionMethod | ||
) |
|
overridedefault |
|
finalvirtual |
Implements sofa::simulation::Task.