AnimaL |
Tutorial |
Documentation |
#include <SFVec3fCellConstrained.h>
Public Member Functions | |
SFVec3fCellConstrained (X3DTK::SFVec3f *q, Cell *cell, int vertexID, X3DTK::SFVec3f normal) | |
SFVec3fCellConstrained (X3DTK::SFVec3f *q, Cell *cell, Vec3d params, int vertexID, Vec3d normal) | |
~SFVec3fCellConstrained () | |
FloatingPointType | getAlpha () const |
FloatingPointType | getBeta () const |
FloatingPointType | getGamma () const |
Vec3d | getLocalParams () const |
void | setParams (const Vec3d params) |
Set the {alpha,beta,gamma} parameters. | |
void | updatePosition (PositionMethod method) |
Vec3d | computePosition (PositionMethod method) const |
Return the position given the method. | |
std::vector< Vec3d > | computeDerivative () const |
X3DTK::SFVec3f * | getSFVec3f () const |
Cell * | getCell () const |
Vec3d | getParameters (unsigned short vId) const |
void | clearRelativeWeights () |
Clear the relative parameters field. | |
void | setRelativeWeight (ConstrainedVertex *cv, FloatingPointType w) |
Set the relative weight of the vertex cv . | |
const FloatingPointType | getRelativeWeight (ConstrainedVertex *cv) const |
Get the relative weight for the vertex cv . | |
void | clearRelativePositions () |
void | setRelativePosition (ConstrainedVertex *cv, Vec3d Q) |
const Vec3d | getRelativePosition (ConstrainedVertex *cv) const |
void | updateSkinningInformations (CellInfluenceData &influence) |
Function used to update the vertex information given the CellInfluenceData. | |
Vec3d | getInitNormal () const |
Vec3d | getInitNormalParameters (unsigned short vId) const |
void | clearInitNormalRelativeWeights () |
void | setInitNormalRelativeWeight (ConstrainedVertex *cv, FloatingPointType w) |
const FloatingPointType | getInitNormalRelativeWeight (ConstrainedVertex *cv) const |
int | getVertexID () const |
void | setVertexID (int id) |
Static Public Member Functions | |
FloatingPointType | computeWeight (Vec3d w, PositionMethod method) |
Return the weight computed given the method. | |
void | globalLinearUpdatePositions (Cell *cStart) |
This function is used for the GLOBAL_LIBEAR method. | |
Vec3d | translateParameters (Cell *cStart, Vec3d params, Cell *cDest, unsigned short vId) |
Translates the parameters given by params expressed in the cell cstart from the first vertex. | |
Private Member Functions | |
void | computeParameters () |
Compute the {alpha,beta,gamma} parameters in the cell. | |
Private Attributes | |
FloatingPointType | _alpha |
FloatingPointType | _beta |
FloatingPointType | _gamma |
X3DTK::SFVec3f * | _vec |
Cell * | _cell |
std::map< ConstrainedVertex *, Vec3d > | _relativePositions |
std::map< ConstrainedVertex *, FloatingPointType > | _relativeWeights |
Vec3d | _normal |
FloatingPointType | _alphaNormal |
FloatingPointType | _betaNormal |
FloatingPointType | _gammaNormal |
std::map< ConstrainedVertex *, FloatingPointType > | _initNormalRelativeWeights |
int | _vertexID |
|
Definition at line 44 of file SFVec3fCellConstrained.cpp. References _alphaNormal, _betaNormal, _gammaNormal, _normal, animal::octree::Cell, computeParameters(), computeWeight(), getParameters(), animal::octree::LINEAR, setRelativePosition(), setRelativeWeight(), and animal::octree::Vec3d. |
|
Definition at line 64 of file SFVec3fCellConstrained.cpp. References _alphaNormal, _betaNormal, _gammaNormal, animal::octree::Cell, and animal::octree::Vec3d. |
|
Definition at line 76 of file SFVec3fCellConstrained.cpp. |
|
Definition at line 142 of file SFVec3fCellConstrained.h. References _initNormalRelativeWeights. |
|
Definition at line 104 of file SFVec3fCellConstrained.h. References _relativePositions. Referenced by updateSkinningInformations(). |
|
Clear the relative parameters field.
Definition at line 88 of file SFVec3fCellConstrained.h. References _relativeWeights. Referenced by updateSkinningInformations(). |
|
Definition at line 310 of file SFVec3fCellConstrained.cpp. References computePosition(), animal::octree::FloatingPointType, animal::octree::LOCAL_SKINNING, setParams(), updateSkinningInformations(), and animal::octree::Vec3d. Referenced by animal::octree::Octree::subdivideDeformed(). |
|
Compute the {alpha,beta,gamma} parameters in the cell.
Definition at line 113 of file SFVec3fCellConstrained.cpp. References _vec, animal::octree::Vec3< DataType >::norm(), and animal::octree::Vec3d. Referenced by SFVec3fCellConstrained(). |
|
Return the position given the method.
Referenced by computeDerivative(), and animal::octree::Octree::subdivideDeformed(). |
|
Return the weight computed given the method.
Referenced by animal::octree::Octree::directManipulation(), SFVec3fCellConstrained(), and updateSkinningInformations(). |
|
Definition at line 38 of file SFVec3fCellConstrained.h. References animal::octree::FloatingPointType. |
|
Definition at line 39 of file SFVec3fCellConstrained.h. References animal::octree::FloatingPointType. |
|
Definition at line 72 of file SFVec3fCellConstrained.h. References animal::octree::Cell. Referenced by animal::octree::Octree::directManipulation(). |
|
Definition at line 40 of file SFVec3fCellConstrained.h. References animal::octree::FloatingPointType. |
|
Definition at line 140 of file SFVec3fCellConstrained.h. References _normal, and animal::octree::Vec3d. |
|
Definition at line 533 of file SFVec3fCellConstrained.cpp. References _alphaNormal, _betaNormal, _gammaNormal, LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, Require, and animal::octree::Vec3d. |
|
Definition at line 144 of file SFVec3fCellConstrained.h. References _initNormalRelativeWeights, animal::octree::FloatingPointType, and Require. |
|
Definition at line 41 of file SFVec3fCellConstrained.h. References animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), and updateSkinningInformations(). |
|
Definition at line 449 of file SFVec3fCellConstrained.cpp. References LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, Require, and animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), SFVec3fCellConstrained(), and updateSkinningInformations(). |
|
Definition at line 107 of file SFVec3fCellConstrained.h. References _relativePositions, Require, and animal::octree::Vec3d. Referenced by animal::octree::Octree::directManipulation(), and X3DTK::X3D::DeformableOctreeNode::drawCellsPoints(). |
|
Get the relative weight for the vertex
Definition at line 101 of file SFVec3fCellConstrained.h. References _relativeWeights, animal::octree::FloatingPointType, and Require. Referenced by animal::octree::Octree::directManipulation(), and X3DTK::X3D::DeformableOctreeNode::drawCellsPoints(). |
|
Definition at line 67 of file SFVec3fCellConstrained.h. References _vec. Referenced by animal::octree::Octree::directManipulation(), animal::octree::ManipulatedMeshVertex::draw(), X3DTK::X3D::DeformableOctreeNode::drawCellsPoints(), and X3DTK::X3D::DeformableOctreeNode::slotButtonDirectManipulation(). |
|
Definition at line 148 of file SFVec3fCellConstrained.h. References _vertexID. |
|
This function is used for the GLOBAL_LIBEAR method.
Definition at line 491 of file SFVec3fCellConstrained.cpp. References animal::octree::Cell, animal::octree::ConstrainedVertex::connectedCell(), animal::octree::FloatingPointType, animal::octree::ConstrainedVertex::getDelta(), animal::octree::ConstrainedVertex::getDepth(), animal::octree::ConstrainedVertex::isFree(), LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, animal::octree::ConstrainedVertex::nConnectedCells(), animal::octree::OctreeDataPoints, animal::octree::ConstrainedVertex::setDelta(), and animal::octree::Vec3d. |
|
Definition at line 143 of file SFVec3fCellConstrained.h. References _initNormalRelativeWeights, and animal::octree::FloatingPointType. |
|
Set the {alpha,beta,gamma} parameters.
Definition at line 80 of file SFVec3fCellConstrained.cpp. References animal::octree::Vec3d. Referenced by computeDerivative(), and animal::octree::Octree::subdivideDeformed(). |
|
Definition at line 105 of file SFVec3fCellConstrained.h. References _relativePositions, and animal::octree::Vec3d. Referenced by SFVec3fCellConstrained(), and updateSkinningInformations(). |
|
Set the relative weight of the vertex
Definition at line 94 of file SFVec3fCellConstrained.h. References _relativeWeights, and animal::octree::FloatingPointType. Referenced by SFVec3fCellConstrained(), and updateSkinningInformations(). |
|
Definition at line 149 of file SFVec3fCellConstrained.h. References _vertexID. |
|
Translates the parameters given by
Definition at line 547 of file SFVec3fCellConstrained.cpp. References animal::octree::Cell, LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, and animal::octree::Vec3d. Referenced by updateSkinningInformations(). |
|
|
|
Function used to update the vertex information given the CellInfluenceData.
Definition at line 456 of file SFVec3fCellConstrained.cpp. References animal::octree::Cell, clearRelativePositions(), clearRelativeWeights(), computeWeight(), animal::octree::FloatingPointType, getLocalParams(), getParameters(), animal::octree::CellInfluenceData::influenceMaps, animal::octree::LINEAR, animal::octree::LOCAL_SKINNING, animal::octree::CellInfluenceData::parents, setRelativePosition(), setRelativeWeight(), translateParameters(), animal::octree::Vec3d, animal::octree::CellInfluenceData::vertices, and animal::octree::CellInfluenceData::verticesId. Referenced by computeDerivative(), and animal::octree::Octree::subdivideDeformed(). |
|
Definition at line 152 of file SFVec3fCellConstrained.h. |
|
Definition at line 163 of file SFVec3fCellConstrained.h. Referenced by getInitNormalParameters(), and SFVec3fCellConstrained(). |
|
Definition at line 152 of file SFVec3fCellConstrained.h. |
|
Definition at line 163 of file SFVec3fCellConstrained.h. Referenced by getInitNormalParameters(), and SFVec3fCellConstrained(). |
|
Definition at line 154 of file SFVec3fCellConstrained.h. |
|
Definition at line 152 of file SFVec3fCellConstrained.h. |
|
Definition at line 163 of file SFVec3fCellConstrained.h. Referenced by getInitNormalParameters(), and SFVec3fCellConstrained(). |
|
Definition at line 164 of file SFVec3fCellConstrained.h. Referenced by clearInitNormalRelativeWeights(), getInitNormalRelativeWeight(), and setInitNormalRelativeWeight(). |
|
Definition at line 162 of file SFVec3fCellConstrained.h. Referenced by getInitNormal(), and SFVec3fCellConstrained(). |
|
Definition at line 157 of file SFVec3fCellConstrained.h. Referenced by clearRelativePositions(), getRelativePosition(), and setRelativePosition(). |
|
Definition at line 158 of file SFVec3fCellConstrained.h. Referenced by clearRelativeWeights(), getRelativeWeight(), and setRelativeWeight(). |
|
Definition at line 153 of file SFVec3fCellConstrained.h. Referenced by computeParameters(), and getSFVec3f(). |
|
Definition at line 167 of file SFVec3fCellConstrained.h. Referenced by getVertexID(), and setVertexID(). |