Biomechanical Joint Model
 Author: Anderson Maciel

RAPID_model Class Reference

#include <RAPID.H>

Collaboration diagram for RAPID_model:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int build_hierarchy ()
 RAPID_model ()
 ~RAPID_model ()
int BeginModel ()
int AddTri (const double *p1, const double *p2, const double *p3, int id)
int EndModel ()

Public Attributes

boxb
int num_boxes_alloced
tritris
int num_tris
int num_tris_alloced
int build_state

Friends

int RAPID_Collide (double R1[3][3], double T1[3], double s1, RAPID_model *RAPID_model1, double R2[3][3], double T2[3], double s2, RAPID_model *RAPID_model2, int flag)

Detailed Description

Definition at line 95 of file RAPID.H.


Constructor & Destructor Documentation

RAPID_model::RAPID_model  ) 
 

Definition at line 58 of file RAPID.cpp.

References b, build_state, num_boxes_alloced, num_tris, num_tris_alloced, RAPID_BUILD_STATE_CONST, RAPID_initialize(), RAPID_initialized, and tris.

Here is the call graph for this function:

RAPID_model::~RAPID_model  ) 
 

Definition at line 71 of file RAPID.cpp.

References b, RAPID_initialize(), RAPID_initialized, and tris.

Here is the call graph for this function:


Member Function Documentation

int RAPID_model::AddTri const double *  p1,
const double *  p2,
const double *  p3,
int  id
 

Definition at line 110 of file build.cpp.

References build_state, num_tris, num_tris_alloced, RAPID_BUILD_STATE_PROCESSED, RAPID_ERR_BUILD_OUT_OF_SEQUENCE, RAPID_ERR_MODEL_OUT_OF_MEMORY, RAPID_initialize(), RAPID_initialized, RAPID_OK, and tris.

Referenced by VCInternal::AddTri(), COME_Collide::detectContacts(), and COME_Collide::detectContactsDisplacement().

Here is the call graph for this function:

int RAPID_model::BeginModel  ) 
 

Definition at line 59 of file build.cpp.

References b, build_state, num_boxes_alloced, num_tris, num_tris_alloced, RAPID_BUILD_STATE_ADDTRI, RAPID_BUILD_STATE_BEGIN, RAPID_BUILD_STATE_CONST, RAPID_BUILD_STATE_PROCESSED, RAPID_ERR_BUILD_OUT_OF_SEQUENCE, RAPID_initialize(), RAPID_initialized, RAPID_OK, and tris.

Referenced by COME_Collide::detectContacts(), COME_Collide::detectContactsDisplacement(), and VCInternal::NewObject().

Here is the call graph for this function:

int RAPID_model::build_hierarchy  ) 
 

Definition at line 270 of file build.cpp.

References accum_moment(), b, clear_accum(), compute_moments(), covariance_from_accum(), eigen_and_sort1(), mean_from_accum(), num_boxes_alloced, RAPID_ERR_MODEL_OUT_OF_MEMORY, RAPID_OK, and tris.

Referenced by EndModel().

Here is the call graph for this function:

int RAPID_model::EndModel  ) 
 

Definition at line 89 of file build.cpp.

References build_hierarchy(), build_state, num_tris, RAPID_BUILD_STATE_PROCESSED, RAPID_ERR_BUILD_EMPTY_MODEL, RAPID_initialize(), RAPID_initialized, and RAPID_OK.

Referenced by COME_Collide::detectContacts(), and VCInternal::EndObject().

Here is the call graph for this function:


Friends And Related Function Documentation

int RAPID_Collide double  R1[3][3],
double  T1[3],
double  s1,
RAPID_model RAPID_model1,
double  R2[3][3],
double  T2[3],
double  s2,
RAPID_model RAPID_model2,
int  flag
[friend]
 

Definition at line 237 of file collide.cpp.


Member Data Documentation

box* RAPID_model::b
 

Definition at line 111 of file RAPID.H.

Referenced by BeginModel(), build_hierarchy(), RAPID_Collide(), RAPID_model(), and ~RAPID_model().

int RAPID_model::build_state
 

Definition at line 118 of file RAPID.H.

Referenced by AddTri(), BeginModel(), EndModel(), RAPID_Collide(), and RAPID_model().

int RAPID_model::num_boxes_alloced
 

Definition at line 112 of file RAPID.H.

Referenced by BeginModel(), build_hierarchy(), and RAPID_model().

int RAPID_model::num_tris
 

Definition at line 115 of file RAPID.H.

Referenced by NBody::AddObject(), AddTri(), BeginModel(), EndModel(), and RAPID_model().

int RAPID_model::num_tris_alloced
 

Definition at line 116 of file RAPID.H.

Referenced by AddTri(), BeginModel(), and RAPID_model().

tri* RAPID_model::tris
 

Definition at line 114 of file RAPID.H.

Referenced by NBody::AddObject(), AddTri(), BeginModel(), build_hierarchy(), RAPID_model(), and ~RAPID_model().


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