Biomechanical Joint Model
 Author: Anderson Maciel

VCInternal Class Reference

#include <VInternal.H>

Collaboration diagram for VCInternal:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VCInternal ()
 ~VCInternal ()
int NewObject (int *id)
int AddTri (double v1[], double v2[], double v3[])
int EndObject (void)
int UpdateTrans (int id, double trans[][4])
int ActivateObject (int id)
int DeactivateObject (int id)
int ActivatePair (int id1, int id2)
int DeactivatePair (int id1, int id2)
int DeleteObject (int id)
int Collide (void)
int Report (int size, VCReportType *vcrep)

Private Attributes

int state
int next_id
int current_id
NBody nbody
PairData report_data
PairData disabled
int size
VCObject ** vc_objects

Detailed Description

Definition at line 123 of file VInternal.H.


Constructor & Destructor Documentation

VCInternal::VCInternal  ) 
 

Definition at line 91 of file VInternal.cpp.

References PairData::Clear(), DEFAULT_SIZE, disabled, next_id, size, state, vc_objects, and VCstate_default.

Here is the call graph for this function:

VCInternal::~VCInternal  ) 
 

Definition at line 106 of file VInternal.cpp.

References VCObject::b, size, and vc_objects.


Member Function Documentation

int VCInternal::ActivateObject int  id  ) 
 

Definition at line 250 of file VInternal.cpp.

References VCObject::activation_state, size, state, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::ActivateObject().

int VCInternal::ActivatePair int  id1,
int  id2
 

Definition at line 299 of file VInternal.cpp.

References PairData::DelPair(), disabled, size, state, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::ActivatePair().

Here is the call graph for this function:

int VCInternal::AddTri double  v1[],
double  v2[],
double  v3[]
 

Definition at line 166 of file VInternal.cpp.

References RAPID_model::AddTri(), VCObject::b, current_id, state, VC_ERR_CALL_OUT_OF_SEQUENCE, vc_objects, VC_OK, VCstate_addTri, and VCstate_newObject.

Here is the call graph for this function:

int VCInternal::Collide void   ) 
 

Definition at line 384 of file VInternal.cpp.

References PairData::AddPair(), PairData::arr, VCObject::b, PairData::Clear(), disabled, Elem::id, nbody, Elem::next, NBody::overlapping_pairs, RAPID_Collide(), RAPID_FIRST_CONTACT, RAPID_num_contacts, report_data, PairData::size, state, VCObject::trans, VC_ERR_CALL_OUT_OF_SEQUENCE, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::Collide().

Here is the call graph for this function:

int VCInternal::DeactivateObject int  id  ) 
 

Definition at line 274 of file VInternal.cpp.

References VCObject::activation_state, size, state, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::DeactivateObject().

int VCInternal::DeactivatePair int  id1,
int  id2
 

Definition at line 323 of file VInternal.cpp.

References PairData::AddPair(), disabled, size, state, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::DeactivatePair().

Here is the call graph for this function:

int VCInternal::DeleteObject int  id  ) 
 

Definition at line 350 of file VInternal.cpp.

References VCObject::b, NBody::DeleteObject(), PairData::DelPairsInvolvingId(), disabled, nbody, size, state, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Referenced by VCollide::DeleteObject().

Here is the call graph for this function:

int VCInternal::EndObject void   ) 
 

Definition at line 184 of file VInternal.cpp.

References NBody::AddObject(), VCObject::b, b, current_id, RAPID_model::EndModel(), nbody, state, VCObject::trans, VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_EMPTY_OBJECT, vc_objects, VC_OK, VCstate_addTri, VCstate_default, and VCstate_newObject.

Referenced by VCollide::EndObject().

Here is the call graph for this function:

int VCInternal::NewObject int *  id  ) 
 

Definition at line 124 of file VInternal.cpp.

References VCObject::activation_state, VCObject::b, RAPID_model::BeginModel(), current_id, VCObject::id, next_id, size, state, VC_ERR, VC_ERR_CALL_OUT_OF_SEQUENCE, vc_objects, VC_OK, VCstate_default, and VCstate_newObject.

Referenced by VCollide::NewObject().

Here is the call graph for this function:

int VCInternal::Report int  size,
VCReportType vcrep
 

Definition at line 541 of file VInternal.cpp.

References PairData::arr, Elem::id, VCReportType::id1, VCReportType::id2, Elem::next, report_data, and PairData::size.

Referenced by VCollide::Report().

int VCInternal::UpdateTrans int  id,
double  trans[][4]
 

Definition at line 215 of file VInternal.cpp.

References VCObject::id, nbody, size, state, VCObject::trans, NBody::UpdateTrans(), VC_ERR_CALL_OUT_OF_SEQUENCE, VC_ERR_INVALID_ID, vc_objects, VC_OK, and VCstate_default.

Here is the call graph for this function:


Member Data Documentation

int VCInternal::current_id [private]
 

Definition at line 127 of file VInternal.H.

Referenced by AddTri(), EndObject(), and NewObject().

PairData VCInternal::disabled [private]
 

Definition at line 131 of file VInternal.H.

Referenced by ActivatePair(), Collide(), DeactivatePair(), DeleteObject(), and VCInternal().

NBody VCInternal::nbody [private]
 

Definition at line 129 of file VInternal.H.

Referenced by Collide(), DeleteObject(), EndObject(), and UpdateTrans().

int VCInternal::next_id [private]
 

Definition at line 126 of file VInternal.H.

Referenced by NewObject(), and VCInternal().

PairData VCInternal::report_data [private]
 

Definition at line 130 of file VInternal.H.

Referenced by Collide(), and Report().

int VCInternal::size [private]
 

Definition at line 132 of file VInternal.H.

Referenced by ActivateObject(), ActivatePair(), DeactivateObject(), DeactivatePair(), DeleteObject(), NewObject(), UpdateTrans(), VCInternal(), and ~VCInternal().

int VCInternal::state [private]
 

Definition at line 125 of file VInternal.H.

Referenced by ActivateObject(), ActivatePair(), AddTri(), Collide(), DeactivateObject(), DeactivatePair(), DeleteObject(), EndObject(), NewObject(), UpdateTrans(), and VCInternal().

VCObject** VCInternal::vc_objects [private]
 

Definition at line 133 of file VInternal.H.

Referenced by ActivateObject(), ActivatePair(), AddTri(), Collide(), DeactivateObject(), DeactivatePair(), DeleteObject(), EndObject(), NewObject(), UpdateTrans(), VCInternal(), and ~VCInternal().


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