Biomechanical Joint Model
 Author: Anderson Maciel

come.h File Reference

#include <stdio.h>
#include <string.h>
#include <list>
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <zthread/Mutex.h>

Include dependency graph for come.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Classes

class  COME

Defines

#define _MODELJOINT_APP
#define MALE   true
 patient gender
#define FEMALE   false
#define PAST   false
 simulation direction
#define FUTURE   true
#define MARCHING_CUBES   0
 iv file loading and converting to molecules
#define VERTICES   1
#define BEST   2
#define IMPLICIT   true
 mesh generation deformation
#define DEFORM   false
#define MESH   0
 collision detection
#define SPHERES   1
#define HYBRID   2
#define DISPLACEMENT   3
#define NO_COLLISION   4
#define NEIGHBORS   5
#define SPHERICAL_SLIDING   6
#define ENVELOPE   0
 first level of collision detection
#define VCOLLIDE   1
#define CARTILAGE   0
 type of tissue
#define BONE   1
#define LIGAMENT   2
#define MUSCLE   3
#define TENDON   4
#define CLAMP   5
#define CONTAINER   6
#define NONE   0
 mode of hookes calculation
#define VOLUME_TETRAS   1
#define NUM_CONNECTIONS   2
#define ANGLES   3
#define NUMERICALLY   4
#define NEVER   0
 frequency of hookes calculation
#define ONCE   1
#define EVERY_ITERATION   2
#define NEW   0
 file open modes
#define UPDATE   1
#define OFFLINE   0
 simulation types
#define ONLINE   1
#define FREE   0
 molecules freedom
#define CLAMPFIX   1
#define CLAMPMOBILE   2
#define M_PI   3.14159265358979323846
 mathematical constants
#define INFINITE   1.6E+308
#define EULER   0
 numerical integration
#define RUNGE_KUTTA4   1


Define Documentation

#define _MODELJOINT_APP
 

Compilation specials - to avoid slow code when performance is key, comment constants of other applications.

Definition at line 58 of file come.h.

#define ANGLES   3
 

Definition at line 104 of file come.h.

#define BEST   2
 

Definition at line 71 of file come.h.

Referenced by COME_MoleculesCartilage::discretize(), and COME_Discretizer::updateSampling().

#define BONE   1
 

Definition at line 93 of file come.h.

Referenced by COME_Xml::loadMoleculeOrgan(), and COME_Scenario::loadOrganMesh().

#define CARTILAGE   0
 

type of tissue

Definition at line 92 of file come.h.

Referenced by COME_Discretizer::fileOpen(), COME_Xml::loadMoleculeOrgan(), and COME_Scenario::loadOrganMesh().

#define CLAMP   5
 

Definition at line 97 of file come.h.

Referenced by COME_Mechatester::COME_Mechatester(), and COME_Scenario::loadOrganMesh().

#define CLAMPFIX   1
 

Definition at line 122 of file come.h.

Referenced by COME_Molecule::intersectClampFix(), and COME_Mechatester::updateClampIntersections().

#define CLAMPMOBILE   2
 

Definition at line 123 of file come.h.

Referenced by COME_Molecule::intersectClampMobile(), and COME_Mechatester::updateClampIntersections().

#define CONTAINER   6
 

Definition at line 98 of file come.h.

#define DEFORM   false
 

Definition at line 76 of file come.h.

#define DISPLACEMENT   3
 

Definition at line 82 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment().

#define ENVELOPE   0
 

first level of collision detection

Definition at line 88 of file come.h.

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

#define EULER   0
 

numerical integration

Definition at line 130 of file come.h.

Referenced by COME_ModelJoint::changedNumIntegration(), and COME_Mechatester::changedNumIntegration().

#define EVERY_ITERATION   2
 

Definition at line 110 of file come.h.

#define FEMALE   false
 

Definition at line 62 of file come.h.

#define FREE   0
 

molecules freedom

Definition at line 121 of file come.h.

Referenced by COME_Molecule::intersectClamp(), and COME_Mechatester::updateClampIntersections().

#define FUTURE   true
 

Definition at line 66 of file come.h.

Referenced by COME_Simulator::run().

#define HYBRID   2
 

Definition at line 81 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment(), and COME_Collide::detectContacts().

#define IMPLICIT   true
 

mesh generation deformation

Definition at line 75 of file come.h.

Referenced by COME_MoleculesCartilage::initializeSkinning(), COME_MoleculesBone::initializeSkinning(), and COME_MoleculesCartilage::updateSurface().

#define INFINITE   1.6E+308
 

Definition at line 127 of file come.h.

Referenced by COME_Mesh::anchorToMolecules(), COME_BioStructure::fillHashHoles(), COME_Face::getClosestVertexPt(), COME_BioStructure::initializeHashStructure(), and COME_BioStructure::initializeHashStructureRayCasting().

#define LIGAMENT   2
 

Definition at line 94 of file come.h.

Referenced by COME_BioStructure::globalToLocal(), COME_Xml::loadMoleculeOrgan(), and COME_Scenario::loadOrganMesh().

#define M_PI   3.14159265358979323846
 

mathematical constants

Definition at line 126 of file come.h.

Referenced by CalculateAngle(), COME_MoleculesTissue::flow(), COME_Face::geoSolidAngle(), COME_Vector3D::getAngle(), COME_PolyaxialJoint::getCurrentAngles(), COME_BioStructure::getHashElement(), COME_Molecule::getLiquidLevel(), COME_Molecule::getPressureArea(), COME_Molecule::getVolume(), COME_Xml::loadIntegrationFile(), geom::polynomial_solve_cubic(), geom::quat_to_axis_angle(), COME_ModelJoint::rotateSelected(), COME_Mechatester::rotateSelected(), and geom::safe_acos().

#define MALE   true
 

patient gender

Definition at line 61 of file come.h.

Referenced by COME_Patient::COME_Patient(), and COME_Xml::exportIntegrationFile().

#define MARCHING_CUBES   0
 

iv file loading and converting to molecules

Definition at line 69 of file come.h.

#define MESH   0
 

collision detection

Definition at line 79 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment().

#define MUSCLE   3
 

Definition at line 95 of file come.h.

#define NEIGHBORS   5
 

Definition at line 84 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment(), COME_Collide::COME_Collide(), and COME_ModelJoint::fileLoad_scene().

#define NEVER   0
 

frequency of hookes calculation

Definition at line 108 of file come.h.

Referenced by COME_Simulator::COME_Simulator().

#define NEW   0
 

file open modes

Definition at line 113 of file come.h.

Referenced by COME_Scenario::createPrecalculatedFiles(), COME_MoleculesTissue::saveDeformationFile(), and COME_Scenario::saveJointIntoFile().

#define NO_COLLISION   4
 

Definition at line 83 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment().

#define NONE   0
 

mode of hookes calculation

Definition at line 101 of file come.h.

Referenced by COME_Simulator::COME_Simulator().

#define NUM_CONNECTIONS   2
 

Definition at line 103 of file come.h.

#define NUMERICALLY   4
 

Definition at line 105 of file come.h.

Referenced by COME_MoleculesTissue::recalculateAllSpringConstants().

#define OFFLINE   0
 

simulation types

Definition at line 117 of file come.h.

Referenced by COME_ModelJoint::exportPrecalculationChanged().

#define ONCE   1
 

Definition at line 109 of file come.h.

#define ONLINE   1
 

Definition at line 118 of file come.h.

#define PAST   false
 

simulation direction

Definition at line 65 of file come.h.

#define RUNGE_KUTTA4   1
 

Definition at line 131 of file come.h.

Referenced by COME_ModelJoint::changedNumIntegration(), COME_Mechatester::changedNumIntegration(), and COME_MoleculesCartilage::update().

#define SPHERES   1
 

Definition at line 80 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment().

#define SPHERICAL_SLIDING   6
 

Definition at line 85 of file come.h.

Referenced by COME_ModelJoint::changedCollisionTreatment().

#define TENDON   4
 

Definition at line 96 of file come.h.

#define UPDATE   1
 

Definition at line 114 of file come.h.

#define VCOLLIDE   1
 

Definition at line 89 of file come.h.

#define VERTICES   1
 

Definition at line 70 of file come.h.

#define VOLUME_TETRAS   1
 

Definition at line 102 of file come.h.

Referenced by COME_MoleculeLink::recalculateSpring().


Generated on Thu Dec 1 10:13:44 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5