Biomechanical Joint Model
 Author: Anderson Maciel

PairData Class Reference

#include <PairData.H>

Collaboration diagram for PairData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PairData ()
 ~PairData ()
void AddPair (int id1, int id2)
void DelPair (int id1, int id2)
void DelPairsInvolvingId (int id)
void Clear (void)
int ExistsPair (int id1, int id2)

Public Attributes

int size
Elem ** arr

Private Member Functions

void OrderIds (int &id1, int &id2)

Detailed Description

Definition at line 97 of file PairData.H.


Constructor & Destructor Documentation

PairData::PairData  ) 
 

Definition at line 80 of file PairData.cpp.

References arr, PAIRDATA_DEFAULT_SIZE, and size.

PairData::~PairData  ) 
 

Definition at line 89 of file PairData.cpp.

References arr, Elem::next, and size.


Member Function Documentation

void PairData::AddPair int  id1,
int  id2
 

Definition at line 105 of file PairData.cpp.

References arr, Elem::id, Elem::next, OrderIds(), and size.

Referenced by NBody::add_overlap_pair(), VCInternal::Collide(), and VCInternal::DeactivatePair().

Here is the call graph for this function:

void PairData::Clear void   ) 
 

Definition at line 230 of file PairData.cpp.

References arr, Elem::next, and size.

Referenced by VCInternal::Collide(), and VCInternal::VCInternal().

void PairData::DelPair int  id1,
int  id2
 

Definition at line 164 of file PairData.cpp.

References arr, Elem::id, Elem::next, OrderIds(), and size.

Referenced by VCInternal::ActivatePair(), NBody::del_overlap_pair(), and DelPairsInvolvingId().

Here is the call graph for this function:

void PairData::DelPairsInvolvingId int  id  ) 
 

Definition at line 204 of file PairData.cpp.

References arr, DelPair(), Elem::next, and size.

Referenced by VCInternal::DeleteObject(), and NBody::DeleteObject().

Here is the call graph for this function:

int PairData::ExistsPair int  id1,
int  id2
 

Definition at line 244 of file PairData.cpp.

References arr, Elem::id, Elem::next, OrderIds(), and size.

Here is the call graph for this function:

void PairData::OrderIds int &  id1,
int &  id2
[inline, private]
 

Definition at line 124 of file PairData.H.

Referenced by AddPair(), DelPair(), and ExistsPair().


Member Data Documentation

Elem** PairData::arr
 

Definition at line 105 of file PairData.H.

Referenced by AddPair(), Clear(), VCInternal::Collide(), DelPair(), DelPairsInvolvingId(), ExistsPair(), PairData(), VCInternal::Report(), and ~PairData().

int PairData::size
 

Definition at line 104 of file PairData.H.

Referenced by AddPair(), Clear(), VCInternal::Collide(), DelPair(), DelPairsInvolvingId(), ExistsPair(), PairData(), VCInternal::Report(), and ~PairData().


The documentation for this class was generated from the following files:
Generated on Thu Dec 1 10:14:33 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5