sofa::core::componentmodel::collision::GPUDetectionOutputVector Class Reference

Abstract description of a set of contact point using GPU. More...

#include <CudaCollisionDetection.h>

Inheritance diagram for sofa::core::componentmodel::collision::GPUDetectionOutputVector:

Inheritance graph
[legend]
Collaboration diagram for sofa::core::componentmodel::collision::GPUDetectionOutputVector:

Collaboration graph
[legend]

Data Structures

struct  TestEntry

Public Member Functions

 ~GPUDetectionOutputVector ()
unsigned int size () const
 Current size (number of detected contacts.
void clear ()
 Clear the content of this vector.
unsigned int nbTests ()
const TestEntry & rtest (int i)
TestEntry & wtest (int i)
int addTest (std::pair< int, int > elems, int maxSize)
const GPUDetectionOutput * get (int i)

Data Fields

sofa::gpu::cuda::CudaVector
< GPUDetectionOutput > 
results
sofa::gpu::cuda::CudaVector
< TestEntry > 
tests

Detailed Description

Abstract description of a set of contact point using GPU.

Definition at line 75 of file CudaCollisionDetection.h.


Constructor & Destructor Documentation

sofa::core::componentmodel::collision::GPUDetectionOutputVector::~GPUDetectionOutputVector (  )  [inline]

Definition at line 90 of file CudaCollisionDetection.h.


Member Function Documentation

int sofa::core::componentmodel::collision::GPUDetectionOutputVector::addTest ( std::pair< int, int >  elems,
int  maxSize 
) [inline]

void sofa::core::componentmodel::collision::GPUDetectionOutputVector::clear (  )  [inline, virtual]

const GPUDetectionOutput* sofa::core::componentmodel::collision::GPUDetectionOutputVector::get ( int  i  )  [inline]

unsigned int sofa::core::componentmodel::collision::GPUDetectionOutputVector::nbTests (  )  [inline]

const TestEntry& sofa::core::componentmodel::collision::GPUDetectionOutputVector::rtest ( int  i  )  [inline]

unsigned int sofa::core::componentmodel::collision::GPUDetectionOutputVector::size (  )  const [inline, virtual]

TestEntry& sofa::core::componentmodel::collision::GPUDetectionOutputVector::wtest ( int  i  )  [inline]

Definition at line 112 of file CudaCollisionDetection.h.

References tests.

Referenced by sofa::gpu::cuda::CudaCollisionDetection::endNarrowPhase().


Field Documentation


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

Generated on Sun Nov 23 04:23:38 2008 for Sofa by  doxygen 1.5.7.1