AnimaL |
Tutorial |
Documentation |
#include <ConstrainedVertex.h>
Public Types | |
enum | { POS = 0, VEL, ACC, VELHALF, NB_AUXILIARY_VECTORS } |
Public Member Functions | |
ConstrainedVertex (Vec3d v, CVertex *cv1, CVertex *cv2, CVertex *cv3, CVertex *cv4, CVertex *cv5, CVertex *cv6, CVertex *cv7, CVertex *cv8, Cell *connectedCell) | |
Ensure isFree(). | |
ConstrainedVertex (Vec3d position, Cell *connectedCell) | |
ConstrainedVertex (FloatingPointType x, FloatingPointType y, FloatingPointType z, Cell *connectedCell) | |
ConstrainedVertex (const ConstrainedVertex &cmsv) | |
ConstrainedVertex & | operator= (const ConstrainedVertex &cmsv) |
~ConstrainedVertex () | |
Destructor Require( _childs.size() == 0 ) : no one should be pointing to us ! | |
bool | isFree () const |
Return true iff the ConstrainedVertex is free Info : isFree() <=> _nParents = 0. | |
Vec3d | get_Vec3d () const |
operator const Vec3d () const | |
Vec3d | getPosition () const |
void | addPosition (Vec3d addPos) |
operator const FloatingPointType * () | |
Return a const pointer to FloatingPointTypes for coordinates mainly used with glVertex3fv( (FloatingPointType*)CV ). | |
FloatingPointType | operator[] (int) const |
FloatingPointType * | get_FloatingPointTypePointerCopy () const |
Will return the same result as the "operator const FloatingPointType*()" BUT we DO allocate a NEW FloatingPointType table for x, y and z so you should free the pointer returned here after use. | |
void | updatePosition (ConstrainedVertex *parent, Vec3d v) |
Update our children's position If we changed the position. | |
void | updateChildrensPosition (Vec3d v, unsigned int depth) |
void | updateChildrensPositionOptimized (Vec3d v, unsigned int depth) |
void | updateChildrensPositionOptimizedNotFree (Vec3d v) |
void | updateConstrainedChildrensPosition (Vec3d v, unsigned int depth) |
GeoLink * | getGeoLink () const |
void | freeIt () |
Free the vertex from its parents Require : !isFree() Ensure : isFree(). | |
Vec3d | getParameters (Cell *cStart, unsigned short vId) |
Gives the parameters alpha, beta, gamma In our (grand^n)-father cell, starting from cell cStart until we find a free Vertex of ID vId. | |
Vec3d | getParameters (Cell *cStart, unsigned int depth, unsigned short vId) |
Gives the parameters alpha, beta, gamma In our (grand^n)-father cell, starting from cell cStart until we find the Vertex of ID vId. | |
ConstrainedVertex * | getFathersFreeVertex (Cell *cStart, unsigned short vId) |
Gives the vertex In our (grand^n)-father cell, starting from cell cStart until we find a free Vertex of ID vId. | |
Cell * | getFathersFreeVertexCell (Cell *cStart, unsigned short vId) |
void | softLinkIt (ConstrainedVertex *cv1, ConstrainedVertex *cv2) |
void | softLinkIt (ConstrainedVertex *cv1, ConstrainedVertex *cv2, ConstrainedVertex *cv3, ConstrainedVertex *cv4) |
void | softLinkIt (ConstrainedVertex *cv1, ConstrainedVertex *cv2, ConstrainedVertex *cv3, ConstrainedVertex *cv4, ConstrainedVertex *cv5, ConstrainedVertex *cv6, ConstrainedVertex *cv7, ConstrainedVertex *cv8) |
void | hardLinkIt (ConstrainedVertex *cv1, ConstrainedVertex *cv2, ConstrainedVertex *cv3, ConstrainedVertex *cv4) |
void | hardLinkIt (ConstrainedVertex *cv1, ConstrainedVertex *cv2) |
Link the current vertex to 2 parents. | |
bool | isChild (const ConstrainedVertex *cv) const |
isChild Return true iff cv is in the child list | |
void | addChild (ConstrainedVertex *cv) |
addChild Require : !isChild( cv ) Ensure : isChild( cv ) | |
void | removeChild (ConstrainedVertex *cv) |
removeChild Require : isChild(cv) Ensure : !isChild(cv) | |
unsigned int | getChildPos (ConstrainedVertex *cv) const |
Return the id of the cv child in the list of childs Require : isChild(cv). | |
ConstrainedVertex * | child (const unsigned int pos) const |
Return the "pos" child Require : pos < _childs.size(). | |
unsigned int | nChildren () const |
bool | isParent (const ConstrainedVertex *cv) const |
void | unregisterCell (const Cell *unconnectedCell) |
Let me now that unconnectedCell is no more connected to me. | |
void | registerCell (Cell *connectedCell) |
Let me now that connectedCell is connected to me. | |
unsigned short | nConnectedCells () const |
Return the number of connected cells. | |
bool | isConnected (const Cell *cell) const |
Returns true if cell is in our connectedCells list. | |
Cell * | connectedCell (unsigned short id) const |
Return the connected Cell number id starting from 0 to nConnectedCell(). | |
Cell * | fatherCell () const |
unsigned int | getDepth () const |
void | setData (const ConstrainedVertexData &d) |
ConstrainedVertexData | getData () const |
void | updateFrame () |
Update me then update my free children then my. | |
Frame | computeFrame () |
Frame & | getFrame () |
bool | hasMainCell () const |
void | setMainCell (Cell *mainCell, unsigned int vId) |
Cell * | getMainCell () const |
End alpha, beta, gamma factors. | |
unsigned short | getMainCellVertexId () const |
ConstrainedVertex * | getSmallestCellsFreeVertexSharingFaceForVertex (Cell *neighbour, unsigned int face, unsigned int vertex) |
Cell * | getCellWithFreeVertexConnectedToVertex (Cell *cell, unsigned int direction, unsigned int vertexId) const |
void | setPosition (Vec3d newPos) |
Set the position by modifying _position variable Nothing is done on children !! | |
void | setPositionAndPropagate (Vec3d newPos) |
Set the position by modifying _position variable Also modify our DEPENDANT children recursively to keep geometric coherancy. | |
void | setPositionAndPropagateAll (Vec3d newPos, unsigned int depth) |
Set the position by modifying _position variable Also modify all our children recursively to keep geometric coherancy This is for MR edition purpose only ! This is limited to the given depth. | |
Vec3d | computePosition () const |
Compute the position of the vertex from our parents. | |
Vec3d | getDelta () const |
Same thing for delta. | |
void | setDelta (Vec3d d) |
Vec3d | computeDelta () const |
Vec3d & | value (int value_id) |
Get the auxiliary value tagged by the id. | |
const Vec3d & | value (int value_id) const |
Get the auxiliary value tagged by the id. | |
void | setValue (int value_id, Vec3d newPos) |
Set the auxiliary value tagged by the id. | |
void | setValueAndPropagate (int value_id, Vec3d newPos) |
Set the tagged value, and also modify our DEPENDANT children recursively to keep geometric coherancy. | |
Vec3d | computeValue (int value_id) const |
Compute the tagged value. | |
void | computeValueFromParents (int value_id) |
Compute the tagged value from the corrsponding values of the parents. | |
void | computeValueFromRelatives (int value_id) |
Same as computeValueFromParents( int value_id ) applied to a free node. | |
unsigned int | getConstrainedDepth () const |
Static Public Member Functions | |
FloatingPointType | getAlpha (Cell *cell, unsigned int faceId, unsigned int vId, unsigned int diffDepth) |
FloatingPointType | getBeta (Cell *cell, unsigned int faceId, unsigned int vId, unsigned int diffDepth) |
FloatingPointType | getGamma (Cell *cell, unsigned int faceId, unsigned int vId, unsigned int diffDepth) |
std::set< ConstrainedVertex * > | getFreeParentVertices (Cell *cell) |
Return a set containing the list of free vertices parents of the 8 vertices of the cell. | |
Public Attributes | |
FloatingPointType | _mass |
ConstrainedVertex * | _connectedVertices [3][2] |
FloatingPointType | _connectedVerticesFactors [3][2] |
unsigned int | _lastConstrainedDepth |
Protected Member Functions | |
void | copyAllData (const ConstrainedVertex &cmsv) |
Static Protected Member Functions | |
std::deque< unsigned int > | getAlphaFactors (Cell *cell, unsigned int faceId, unsigned int depthLeft) |
std::deque< unsigned int > | getBetaFactors (Cell *cell, unsigned int faceId, unsigned int depthLeft) |
std::deque< unsigned int > | getGammaFactors (Cell *cell, unsigned int faceId, unsigned int depthLeft) |
Protected Attributes | |
Vec3d | _position |
The space coordinated of the free Vertex Used only if isFree() See the Constructor. | |
Vec3d | _velocity |
FloatingPointType | _positionROPointer [3] |
Used for "operator const FloatingPointType*() const;" function. | |
std::vector< ConstrainedVertex * > | _childs |
Debugging purpose : Keep a trace of who is linking to us. | |
deque< Cell * > | _connectedCells |
Which cell are connected to us Used only by father cells, ie if this vertex is associated to a cell C, it will not be associated to any cell of a different "age" A cell must register itself when : it creates this vertex it's connecting to it A cell must unregister itself when : it deletes this vertex it is no more connected to it See : registerCell(), unregisterCell() important : a maximum of 8 cells are possible. | |
Cell * | _fatherCell |
unsigned short | _vertexId |
Cell * | _mainCell |
ConstrainedVertexData | _data |
GeoLink * | _geoLink |
Frame | _frame |
animal::Array< NB_AUXILIARY_VECTORS, Vec3d > | _aux |
Set the CV to a new position. | |
Vec3d | _delta |
|
Definition at line 368 of file ConstrainedVertex.h. |
|
Ensure isFree().
Definition at line 37 of file ConstrainedVertex.cpp. References _geoLink, animal::octree::Cell, animal::octree::CVertex, Ensure, isFree(), and animal::octree::Vec3d. |
|
Definition at line 65 of file ConstrainedVertex.cpp. References animal::octree::Cell, Ensure, isFree(), nChildren(), and animal::octree::Vec3d. |
|
Definition at line 80 of file ConstrainedVertex.cpp. References animal::octree::Cell, Ensure, animal::octree::FloatingPointType, isFree(), nChildren(), and animal::octree::Vec3d. |
|
Definition at line 93 of file ConstrainedVertex.cpp. References copyAllData(). |
|
Destructor Require( _childs.size() == 0 ) : no one should be pointing to us !
Definition at line 109 of file ConstrainedVertex.cpp. References _geoLink, child(), getDepth(), getMainCell(), getMainCellVertexId(), nChildren(), nConnectedCells(), Require, and unregisterCell(). |
|
addChild Require : !isChild( cv ) Ensure : isChild( cv )
Definition at line 699 of file ConstrainedVertex.cpp. |
|
|
|
Return the "pos" child Require : pos < _childs.size().
Definition at line 738 of file ConstrainedVertex.cpp. References _childs, nChildren(), and Require. Referenced by animal::octree::getWeightsHash(), setPositionAndPropagate(), setValueAndPropagate(), and ~ConstrainedVertex(). |
|
Definition at line 1894 of file ConstrainedVertex.cpp. References getDelta(), getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, and animal::octree::Vec3d. |
|
Definition at line 990 of file ConstrainedVertex.cpp. References _connectedVertices, _connectedVerticesFactors, _mainCell, _vertexId, animal::octree::Cell, connectedCell(), getCellWithFreeVertexConnectedToVertex(), getPosition(), animal::octree::getVertexFreeCell(), hasMainCell(), Require, and animal::octree::Vec3d. Referenced by updateFrame(). |
|
Compute the position of the vertex from our parents.
Definition at line 1794 of file ConstrainedVertex.cpp. References getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getNGeoParents(), getPosition(), isFree(), Require, and animal::octree::Vec3d. Referenced by animal::octree::OctreeEngine::readPositionsFrom(). |
|
Compute the tagged value.
Definition at line 1915 of file ConstrainedVertex.cpp. References getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, value(), and animal::octree::Vec3d. |
|
Compute the tagged value from the corrsponding values of the parents.
Definition at line 1931 of file ConstrainedVertex.cpp. References getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, setValue(), value(), and animal::octree::Vec3d. Referenced by hardLinkIt(), animal::octree::OctreeEngine::v_eq_a_plus_alpha_b(), and animal::octree::OctreeEngine::writePositionsTo(). |
|
Same as computeValueFromParents( int value_id ) applied to a free node. The parents are the would-be parents if the node were not free.
Definition at line 1947 of file ConstrainedVertex.cpp. References getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, setValue(), value(), and animal::octree::Vec3d. Referenced by softLinkIt(). |
|
Return the connected Cell number Require : id < nConnectedCells() Definition at line 824 of file ConstrainedVertex.cpp. References _connectedCells, animal::octree::Cell, nConnectedCells(), and Require. Referenced by computeFrame(), getConstrainedDepth(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), and isConnected(). |
|
Definition at line 158 of file ConstrainedVertex.cpp. References _childs, _connectedCells, _data, _fatherCell, _frame, _geoLink, _mainCell, _position, _positionROPointer, and _vertexId. Referenced by ConstrainedVertex(), and operator=(). |
|
Definition at line 844 of file ConstrainedVertex.cpp. References _fatherCell, and animal::octree::Cell. |
|
Free the vertex from its parents Require : !isFree() Ensure : isFree().
Definition at line 556 of file ConstrainedVertex.cpp. References _geoLink, Ensure, animal::octree::GeoLink::freeIt(), getGeoLink(), isFree(), and Require. |
|
Will return the same result as the "operator const FloatingPointType*()" BUT we DO allocate a NEW FloatingPointType table for x, y and z so you should free the pointer returned here after use.
Definition at line 223 of file ConstrainedVertex.cpp. References animal::octree::FloatingPointType, get_Vec3d(), and animal::octree::Vec3d. |
|
Definition at line 198 of file ConstrainedVertex.cpp. References _position, and animal::octree::Vec3d. Referenced by get_FloatingPointTypePointerCopy(), getPosition(), operator const FloatingPointType *(), operator const Vec3d(), and operator[](). |
|
Definition at line 1541 of file ConstrainedVertex.cpp. References animal::octree::Cell, animal::octree::FloatingPointType, getAlphaFactors(), and Require. |
|
Definition at line 1619 of file ConstrainedVertex.cpp. References animal::octree::Cell, and Require. Referenced by getAlpha(). |
|
Definition at line 1567 of file ConstrainedVertex.cpp. References animal::octree::Cell, animal::octree::FloatingPointType, getBetaFactors(), and Require. |
|
Definition at line 1643 of file ConstrainedVertex.cpp. References animal::octree::Cell, and Require. Referenced by getBeta(). |
|
Definition at line 935 of file ConstrainedVertex.cpp. References animal::octree::Cell, Ensure, and Require. Referenced by computeFrame(). |
|
Return the id of the cv child in the list of childs Require : isChild(cv).
Definition at line 723 of file ConstrainedVertex.cpp. References _childs, isChild(), and Require. Referenced by removeChild(). |
|
Definition at line 1094 of file ConstrainedVertex.cpp. References _vertexId, animal::octree::Cell, connectedCell(), getMainCell(), nConnectedCells(), and Require. |
|
Definition at line 865 of file ConstrainedVertex.cpp. References _data. |
|
Same thing for delta.
Definition at line 1886 of file ConstrainedVertex.cpp. References _delta, and animal::octree::Vec3d. Referenced by computeDelta(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), setPositionAndPropagateAll(), and updateChildrensPositionOptimizedNotFree(). |
|
Definition at line 849 of file ConstrainedVertex.cpp. References getMainCell(). Referenced by animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), and ~ConstrainedVertex(). |
|
Gives the vertex In our (grand^n)-father cell, starting from cell cStart until we find a free Vertex of ID vId.
Definition at line 1450 of file ConstrainedVertex.cpp. References animal::octree::Cell, Ensure, and isFree(). Referenced by getFathersFreeVertexCell(). |
|
Definition at line 1466 of file ConstrainedVertex.cpp. References animal::octree::Cell, getFathersFreeVertex(), and getMainCell(). |
|
Definition at line 1373 of file ConstrainedVertex.cpp. References _frame. Referenced by setPosition(). |
|
Return a set containing the list of free vertices parents of the 8 vertices of the cell.
Definition at line 1703 of file ConstrainedVertex.cpp. References animal::octree::Cell, getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getGeoParentId(), animal::octree::GeoLink::getNGeoParents(), and isFree(). |
|
Definition at line 1593 of file ConstrainedVertex.cpp. References animal::octree::Cell, animal::octree::FloatingPointType, getGammaFactors(), and Require. |
|
Definition at line 1667 of file ConstrainedVertex.cpp. References animal::octree::Cell. Referenced by getGamma(). |
|
Definition at line 876 of file ConstrainedVertex.cpp. References _geoLink, and Require. Referenced by computeDelta(), animal::octree::computeDirectManipulationSkinning(), computePosition(), computeValue(), computeValueFromParents(), computeValueFromRelatives(), freeIt(), getFreeParentVertices(), hardLinkIt(), isParent(), softLinkIt(), updateChildrensPositionOptimizedNotFree(), updateConstrainedChildrensPosition(), and updatePosition(). |
|
End alpha, beta, gamma factors.
Definition at line 1694 of file ConstrainedVertex.cpp. References _mainCell, and animal::octree::Cell. Referenced by getConstrainedDepth(), getDepth(), getFathersFreeVertexCell(), animal::octree::operator<<(), and ~ConstrainedVertex(). |
|
Definition at line 252 of file ConstrainedVertex.h. References _vertexId. Referenced by animal::octree::operator<<(), and ~ConstrainedVertex(). |
|
Gives the parameters alpha, beta, gamma In our (grand^n)-father cell, starting from cell cStart until we find the Vertex of ID vId.
Definition at line 1492 of file ConstrainedVertex.cpp. References animal::octree::Cell, animal::octree::FloatingPointType, and animal::octree::Vec3d. |
|
Gives the parameters alpha, beta, gamma In our (grand^n)-father cell, starting from cell cStart until we find a free Vertex of ID vId.
Definition at line 1406 of file ConstrainedVertex.cpp. References animal::octree::Cell, animal::octree::FloatingPointType, isFree(), and animal::octree::Vec3d. |
|
|
Definition at line 883 of file ConstrainedVertex.cpp. References animal::octree::Cell, Ensure, and Require. |
|
Link the current vertex to 2 parents. Require : isFree() Ensure : !isFree() Definition at line 629 of file ConstrainedVertex.cpp. References _geoLink, computeValueFromParents(), Ensure, getGeoLink(), getPosition(), animal::octree::GeoLink::hardLinkIt(), isFree(), POS, Require, setValue(), and VEL. |
|
Definition at line 605 of file ConstrainedVertex.cpp. References _geoLink, computeValueFromParents(), Ensure, getGeoLink(), getPosition(), animal::octree::GeoLink::hardLinkIt(), isFree(), POS, Require, setValue(), and VEL. |
|
Definition at line 1378 of file ConstrainedVertex.cpp. References _mainCell. Referenced by computeFrame(). |
|
isChild Return true iff
Definition at line 686 of file ConstrainedVertex.cpp. References _childs. Referenced by addChild(), getChildPos(), animal::octree::GeoLink::hardLinkIt(), and removeChild(). |
|
Returns true if
Definition at line 831 of file ConstrainedVertex.cpp. References animal::octree::Cell, connectedCell(), and nConnectedCells(). Referenced by registerCell(), and unregisterCell(). |
|
|
Definition at line 751 of file ConstrainedVertex.cpp. References getGeoLink(), and animal::octree::GeoLink::isParent(). |
|
Definition at line 744 of file ConstrainedVertex.cpp. References _childs. Referenced by child(), ConstrainedVertex(), setPositionAndPropagate(), setValueAndPropagate(), and ~ConstrainedVertex(). |
|
Return the number of connected cells. Ensure : result is <= 8 Definition at line 807 of file ConstrainedVertex.cpp. References _connectedCells. Referenced by connectedCell(), getConstrainedDepth(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), isConnected(), and ~ConstrainedVertex(). |
|
Return a const pointer to FloatingPointTypes for coordinates mainly used with glVertex3fv( (FloatingPointType*)CV ).
Definition at line 207 of file ConstrainedVertex.cpp. References _positionROPointer, get_Vec3d(), and animal::octree::Vec3d. |
|
Definition at line 548 of file ConstrainedVertex.cpp. References get_Vec3d(). |
|
Definition at line 99 of file ConstrainedVertex.cpp. References copyAllData(). |
|
Definition at line 218 of file ConstrainedVertex.cpp. References animal::octree::FloatingPointType, and get_Vec3d(). |
|
Let me now that Require : !isConnected( connectedCell ) Ensure : isConnected( connectedCell ) Definition at line 767 of file ConstrainedVertex.cpp. References _connectedCells, animal::octree::Cell, Ensure, isConnected(), and Require. |
|
removeChild Require : isChild(cv) Ensure : !isChild(cv)
Definition at line 713 of file ConstrainedVertex.cpp. References _childs, Ensure, getChildPos(), isChild(), and Require. |
|
Definition at line 861 of file ConstrainedVertex.cpp. References _data. |
|
Definition at line 1890 of file ConstrainedVertex.cpp. References _delta, and animal::octree::Vec3d. Referenced by animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), setPositionAndPropagateAll(), animal::octree::Octree::setPositionMethod(), and updateChildrensPositionOptimizedNotFree(). |
|
Definition at line 1382 of file ConstrainedVertex.cpp. References _geoLink, _mainCell, _vertexId, animal::octree::Cell, and animal::octree::GeoLink::changeCell(). |
|
Set the position by modifying _position variable Nothing is done on children !!
Definition at line 1814 of file ConstrainedVertex.cpp. References _position, getFrame(), animal::octree::Frame::setOrigin(), and animal::octree::Vec3d. Referenced by animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::postUpdateVerticesPositions(), animal::octree::OctreeEngine::readPositionsFrom(), setPositionAndPropagate(), setPositionAndPropagateAll(), and updateChildrensPositionOptimized(). |
|
Set the position by modifying _position variable Also modify our DEPENDANT children recursively to keep geometric coherancy.
Definition at line 1824 of file ConstrainedVertex.cpp. References child(), isFree(), nChildren(), Require, setPosition(), and animal::octree::Vec3d. |
|
Set the position by modifying _position variable Also modify all our children recursively to keep geometric coherancy This is for MR edition purpose only ! This is limited to the given depth.
Definition at line 1864 of file ConstrainedVertex.cpp. References _position, getDelta(), isFree(), setDelta(), setPosition(), updateChildrensPositionOptimized(), updateChildrensPositionOptimizedNotFree(), and animal::octree::Vec3d. Referenced by X3DTK::X3D::DeformableOctreeNode::slotMoveXMinus(), X3DTK::X3D::DeformableOctreeNode::slotMoveXPlus(), X3DTK::X3D::DeformableOctreeNode::slotMoveYMinus(), X3DTK::X3D::DeformableOctreeNode::slotMoveYPlus(), X3DTK::X3D::DeformableOctreeNode::slotMoveZMinus(), and X3DTK::X3D::DeformableOctreeNode::slotMoveZPlus(). |
|
Set the auxiliary value tagged by the id. Nothing is done on children !! Definition at line 1963 of file ConstrainedVertex.cpp. References _aux, and animal::octree::Vec3d. Referenced by computeValueFromParents(), computeValueFromRelatives(), hardLinkIt(), softLinkIt(), animal::octree::OctreeEngine::v_assign(), animal::octree::OctreeEngine::v_eq(), animal::octree::OctreeEngine::v_eq_a_plus_alpha_b(), and animal::octree::OctreeEngine::writePositionsTo(). |
|
Set the tagged value, and also modify our DEPENDANT children recursively to keep geometric coherancy.
Definition at line 1978 of file ConstrainedVertex.cpp. References _aux, child(), isFree(), nChildren(), Require, and animal::octree::Vec3d. |
|
Definition at line 593 of file ConstrainedVertex.cpp. References _geoLink, computeValueFromRelatives(), getGeoLink(), getPosition(), POS, Require, setValue(), animal::octree::GeoLink::softLinkIt(), and VEL. |
|
Definition at line 582 of file ConstrainedVertex.cpp. References _geoLink, computeValueFromRelatives(), getGeoLink(), getPosition(), POS, Require, setValue(), animal::octree::GeoLink::softLinkIt(), and VEL. |
|
Definition at line 571 of file ConstrainedVertex.cpp. References _geoLink, computeValueFromRelatives(), getGeoLink(), getPosition(), POS, Require, setValue(), animal::octree::GeoLink::softLinkIt(), and VEL. |
|
Let me now that Require : isConnected( unconnectedCell ) Ensure : !isConnected( unconnectedCell ) Definition at line 782 of file ConstrainedVertex.cpp. References _connectedCells, animal::octree::Cell, Ensure, isConnected(), and Require. Referenced by ~ConstrainedVertex(). |
|
Definition at line 496 of file ConstrainedVertex.cpp. References _childs, and animal::octree::Vec3d. Referenced by updatePosition(). |
|
Definition at line 294 of file ConstrainedVertex.cpp. References _childs, _position, setPosition(), and animal::octree::Vec3d. Referenced by setPositionAndPropagateAll(). |
|
Definition at line 382 of file ConstrainedVertex.cpp. References _childs, _position, getDelta(), getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getGeoParentId(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, setDelta(), and animal::octree::Vec3d. Referenced by setPositionAndPropagateAll(). |
|
Definition at line 512 of file ConstrainedVertex.cpp. References _childs, _position, getGeoLink(), animal::octree::GeoLink::getNGeoParents(), isFree(), Require, and animal::octree::Vec3d. |
|
Update me then update my free children then my.
Definition at line 984 of file ConstrainedVertex.cpp. References _frame, and computeFrame(). |
|
Update our children's position If we changed the position.
Definition at line 532 of file ConstrainedVertex.cpp. References _geoLink, _position, getGeoLink(), animal::octree::GeoLink::getNGeoParents(), animal::octree::GeoLink::isGeoLinkParent(), Require, updateChildrensPosition(), and animal::octree::Vec3d. |
|
Get the auxiliary value tagged by the id.
Definition at line 1973 of file ConstrainedVertex.cpp. References _aux, and animal::octree::Vec3d. |
|
Get the auxiliary value tagged by the id.
Definition at line 1968 of file ConstrainedVertex.cpp. References _aux, and animal::octree::Vec3d. Referenced by computeValue(), computeValueFromParents(), computeValueFromRelatives(), animal::octree::OctreeEngine::readPositionsFrom(), animal::octree::OctreeEngine::v_eq(), and animal::octree::OctreeEngine::v_eq_a_plus_alpha_b(). |
|
Set the CV to a new position. Require : isFree Definition at line 432 of file ConstrainedVertex.h. Referenced by setValue(), setValueAndPropagate(), and value(). |
|
Debugging purpose : Keep a trace of who is linking to us.
Definition at line 299 of file ConstrainedVertex.h. Referenced by addChild(), child(), copyAllData(), getChildPos(), isChild(), nChildren(), removeChild(), updateChildrensPosition(), updateChildrensPositionOptimized(), updateChildrensPositionOptimizedNotFree(), and updateConstrainedChildrensPosition(). |
|
Which cell are connected to us Used only by father cells, ie if this vertex is associated to a cell C, it will not be associated to any cell of a different "age" A cell must register itself when : it creates this vertex it's connecting to it A cell must unregister itself when : it deletes this vertex it is no more connected to it See : registerCell(), unregisterCell()
Definition at line 313 of file ConstrainedVertex.h. Referenced by connectedCell(), copyAllData(), nConnectedCells(), registerCell(), and unregisterCell(). |
|
Definition at line 436 of file ConstrainedVertex.h. Referenced by animal::octree::computeDirectManipulationSkinning(), and computeFrame(). |
|
Definition at line 437 of file ConstrainedVertex.h. Referenced by animal::octree::computeDirectManipulationSkinning(), and computeFrame(). |
|
Definition at line 323 of file ConstrainedVertex.h. Referenced by copyAllData(), getData(), and setData(). |
|
Definition at line 433 of file ConstrainedVertex.h. Referenced by getDelta(), and setDelta(). |
|
Definition at line 315 of file ConstrainedVertex.h. Referenced by copyAllData(), and fatherCell(). |
|
Definition at line 327 of file ConstrainedVertex.h. Referenced by copyAllData(), getFrame(), and updateFrame(). |
|
Definition at line 325 of file ConstrainedVertex.h. Referenced by ConstrainedVertex(), copyAllData(), freeIt(), getGeoLink(), hardLinkIt(), isFree(), setMainCell(), softLinkIt(), updatePosition(), and ~ConstrainedVertex(). |
|
Definition at line 441 of file ConstrainedVertex.h. |
|
Definition at line 320 of file ConstrainedVertex.h. Referenced by computeFrame(), copyAllData(), getMainCell(), hasMainCell(), and setMainCell(). |
|
Definition at line 274 of file ConstrainedVertex.h. Referenced by animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::postUpdateVerticesPositions(). |
|
The space coordinated of the free Vertex Used only if isFree() See the Constructor.
Definition at line 286 of file ConstrainedVertex.h. Referenced by copyAllData(), get_Vec3d(), setPosition(), setPositionAndPropagateAll(), updateChildrensPositionOptimized(), updateChildrensPositionOptimizedNotFree(), updateConstrainedChildrensPosition(), and updatePosition(). |
|
Used for "operator const FloatingPointType*() const;" function.
Definition at line 294 of file ConstrainedVertex.h. Referenced by copyAllData(), and operator const FloatingPointType *(). |
|
Definition at line 288 of file ConstrainedVertex.h. |
|
Definition at line 318 of file ConstrainedVertex.h. Referenced by computeFrame(), copyAllData(), getConstrainedDepth(), getMainCellVertexId(), and setMainCell(). |