Documentation


animal::octree::GeoLink Class Reference

#include <GeoLink.h>

List of all members.

Public Member Functions

 GeoLink (vector< ConstrainedVertex * > allParents, vector< unsigned short > geoParentsIds, bool isSoftLink, ConstrainedVertex *vertex)
 ~GeoLink ()
bool isGeoLinkParent (ConstrainedVertex *vertex)
Vec3d getPosition () const
void addVector (Vec3d v)
unsigned short getNGeoParents () const
unsigned short getGeoParentId (unsigned short id)
ConstrainedVertexgetGeoParent (unsigned short i)
 Require i < getNGeoParents().

void changeCell (Cell *cell)
void updateParameters ()
bool isFree () const
void freeIt ()
void hardLinkIt (ConstrainedVertex *v1, ConstrainedVertex *v2)
void hardLinkIt (ConstrainedVertex *v1, ConstrainedVertex *v2, ConstrainedVertex *v3, ConstrainedVertex *v4)
void softLinkIt (ConstrainedVertex *v1, ConstrainedVertex *v2)
void softLinkIt (ConstrainedVertex *v1, ConstrainedVertex *v2, ConstrainedVertex *v3, ConstrainedVertex *v4)
void softLinkIt (ConstrainedVertex *v1, ConstrainedVertex *v2, ConstrainedVertex *v3, ConstrainedVertex *v4, ConstrainedVertex *v5, ConstrainedVertex *v6, ConstrainedVertex *v7, ConstrainedVertex *v8)
void print ()
bool isParent (const ConstrainedVertex *vertex)

Private Attributes

vector< ConstrainedVertex * > _parents
vector< unsigned short > _geoParentsIds
bool _isSoftLink
ConstrainedVertex_vertex
FloatingPointType _alpha
FloatingPointType _beta
FloatingPointType _gamma
FloatingPointType _alpha2
FloatingPointType _beta2
FloatingPointType _gamma2


Constructor & Destructor Documentation

animal::octree::GeoLink::GeoLink vector< ConstrainedVertex * >  allParents,
vector< unsigned short >  geoParentsIds,
bool  isSoftLink,
ConstrainedVertex vertex
 

Definition at line 16 of file GeoLink.cpp.

References _isSoftLink, and _parents.

animal::octree::GeoLink::~GeoLink  ) 
 

Definition at line 29 of file GeoLink.cpp.

References _parents, and Require.


Member Function Documentation

void animal::octree::GeoLink::addVector Vec3d  v  ) 
 

void animal::octree::GeoLink::changeCell Cell cell  ) 
 

Definition at line 282 of file GeoLink.cpp.

References _geoParentsIds, _isSoftLink, _parents, animal::octree::Cell, getGeoParent(), getGeoParentId(), getNGeoParents(), isFree(), Require, and softLinkIt().

Referenced by animal::octree::ConstrainedVertex::setMainCell().

void animal::octree::GeoLink::freeIt  ) 
 

Definition at line 81 of file GeoLink.cpp.

References _isSoftLink, Ensure, isFree(), and Require.

Referenced by animal::octree::ConstrainedVertex::freeIt().

ConstrainedVertex* animal::octree::GeoLink::getGeoParent unsigned short  i  )  [inline]
 

Require i < getNGeoParents().

Definition at line 83 of file GeoLink.h.

References _parents, isGeoLinkParent(), and Require.

Referenced by changeCell(), animal::octree::ConstrainedVertex::computeDelta(), animal::octree::computeDirectManipulationSkinning(), animal::octree::ConstrainedVertex::computePosition(), animal::octree::ConstrainedVertex::computeValue(), animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::ConstrainedVertex::computeValueFromRelatives(), animal::octree::ConstrainedVertex::getFreeParentVertices(), and animal::octree::ConstrainedVertex::updateChildrensPositionOptimizedNotFree().

unsigned short animal::octree::GeoLink::getGeoParentId unsigned short  id  )  [inline]
 

Definition at line 74 of file GeoLink.h.

References _geoParentsIds, getNGeoParents(), and Require.

Referenced by changeCell(), animal::octree::computeDirectManipulationSkinning(), animal::octree::ConstrainedVertex::getFreeParentVertices(), and animal::octree::ConstrainedVertex::updateChildrensPositionOptimizedNotFree().

unsigned short animal::octree::GeoLink::getNGeoParents  )  const
 

Definition at line 59 of file GeoLink.cpp.

References _geoParentsIds.

Referenced by changeCell(), animal::octree::ConstrainedVertex::computeDelta(), animal::octree::computeDirectManipulationSkinning(), animal::octree::ConstrainedVertex::computePosition(), animal::octree::ConstrainedVertex::computeValue(), animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::ConstrainedVertex::computeValueFromRelatives(), animal::octree::ConstrainedVertex::getFreeParentVertices(), getGeoParentId(), animal::octree::ConstrainedVertex::updateChildrensPositionOptimizedNotFree(), animal::octree::ConstrainedVertex::updateConstrainedChildrensPosition(), and animal::octree::ConstrainedVertex::updatePosition().

Vec3d animal::octree::GeoLink::getPosition  )  const
 

void animal::octree::GeoLink::hardLinkIt ConstrainedVertex v1,
ConstrainedVertex v2,
ConstrainedVertex v3,
ConstrainedVertex v4
 

Definition at line 214 of file GeoLink.cpp.

References _isSoftLink, Ensure, animal::octree::ConstrainedVertex::isChild(), isFree(), isParent(), and Require.

void animal::octree::GeoLink::hardLinkIt ConstrainedVertex v1,
ConstrainedVertex v2
 

Definition at line 176 of file GeoLink.cpp.

References _isSoftLink, Ensure, animal::octree::ConstrainedVertex::isChild(), isFree(), isParent(), and Require.

Referenced by animal::octree::ConstrainedVertex::hardLinkIt().

bool animal::octree::GeoLink::isFree  )  const
 

Definition at line 70 of file GeoLink.cpp.

Referenced by changeCell(), freeIt(), hardLinkIt(), animal::octree::ConstrainedVertex::isFree(), and softLinkIt().

bool animal::octree::GeoLink::isGeoLinkParent ConstrainedVertex vertex  ) 
 

Definition at line 47 of file GeoLink.cpp.

References _geoParentsIds, _parents, isParent(), and Require.

Referenced by getGeoParent(), and animal::octree::ConstrainedVertex::updatePosition().

bool animal::octree::GeoLink::isParent const ConstrainedVertex vertex  ) 
 

Definition at line 261 of file GeoLink.cpp.

References _parents.

Referenced by hardLinkIt(), isGeoLinkParent(), animal::octree::ConstrainedVertex::isParent(), and softLinkIt().

void animal::octree::GeoLink::print  ) 
 

Definition at line 270 of file GeoLink.cpp.

References _geoParentsIds, and _parents.

void animal::octree::GeoLink::softLinkIt ConstrainedVertex v1,
ConstrainedVertex v2,
ConstrainedVertex v3,
ConstrainedVertex v4,
ConstrainedVertex v5,
ConstrainedVertex v6,
ConstrainedVertex v7,
ConstrainedVertex v8
 

Definition at line 145 of file GeoLink.cpp.

References _geoParentsIds, Ensure, isFree(), isParent(), and Require.

void animal::octree::GeoLink::softLinkIt ConstrainedVertex v1,
ConstrainedVertex v2,
ConstrainedVertex v3,
ConstrainedVertex v4
 

Definition at line 119 of file GeoLink.cpp.

References _geoParentsIds, _parents, Ensure, isFree(), isParent(), and Require.

void animal::octree::GeoLink::softLinkIt ConstrainedVertex v1,
ConstrainedVertex v2
 

Definition at line 94 of file GeoLink.cpp.

References _geoParentsIds, _parents, Ensure, isFree(), isParent(), and Require.

Referenced by changeCell(), and animal::octree::ConstrainedVertex::softLinkIt().

void animal::octree::GeoLink::updateParameters  ) 
 


Member Data Documentation

FloatingPointType animal::octree::GeoLink::_alpha [private]
 

Definition at line 155 of file GeoLink.h.

FloatingPointType animal::octree::GeoLink::_alpha2 [private]
 

Definition at line 156 of file GeoLink.h.

FloatingPointType animal::octree::GeoLink::_beta [private]
 

Definition at line 155 of file GeoLink.h.

FloatingPointType animal::octree::GeoLink::_beta2 [private]
 

Definition at line 156 of file GeoLink.h.

FloatingPointType animal::octree::GeoLink::_gamma [private]
 

Definition at line 155 of file GeoLink.h.

FloatingPointType animal::octree::GeoLink::_gamma2 [private]
 

Definition at line 156 of file GeoLink.h.

vector<unsigned short> animal::octree::GeoLink::_geoParentsIds [private]
 

Definition at line 147 of file GeoLink.h.

Referenced by changeCell(), getGeoParentId(), getNGeoParents(), isGeoLinkParent(), print(), and softLinkIt().

bool animal::octree::GeoLink::_isSoftLink [private]
 

Definition at line 148 of file GeoLink.h.

Referenced by changeCell(), freeIt(), GeoLink(), and hardLinkIt().

vector<ConstrainedVertex*> animal::octree::GeoLink::_parents [private]
 

Definition at line 146 of file GeoLink.h.

Referenced by changeCell(), GeoLink(), getGeoParent(), isGeoLinkParent(), isParent(), print(), softLinkIt(), and ~GeoLink().

ConstrainedVertex* animal::octree::GeoLink::_vertex [private]
 

Definition at line 150 of file GeoLink.h.


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:32 2004 by doxygen 1.3.6