AnimaL |
Tutorial |
Documentation |
Classes | |
struct | CellInfluenceData |
class | CellData |
Data in a cell. More... | |
struct | CGData |
class | CGRenderingMachine |
struct | UpdateChildrensPositionOptimizedData |
Set the CV to a new position. More... | |
struct | UpdateChildrensPositionOptimizedDataLess |
class | ConstrainedVertex |
class | Cell::vertex_connected_iterator |
For each vertex connected to this vertex in a cell connected to this vertex At a maximum of the given depth Get the cell of minimum depth superior to the one given. More... | |
struct | VertexWeight |
class | FastOctree |
struct | FastOctree::dfs_iterator_data |
class | FastOctree::Cell |
class | FastOctree::Cell::vertex_iterator |
To iterate through all the cell vertices. More... | |
class | FastOctree::Cell::vertex_width_iterator |
class | FastOctree::Cell::vertex_width_neighbours_iterator |
class | FastOctree::Face |
class | FastOctree::dfs_iterator |
class | FastOctree::dfs_leaf_iterator |
class | Frame |
class | GeoLink |
class | HermiteFunction |
class | ManipulatedMeshVertex |
Direct manipulation of a mesh vertex in an octree's cell. More... | |
class | ManipulatedMeshVertexAnimated |
class | Octree |
struct | ConstrainedVertexData |
class | OctreeEngine |
Octree with animation capabilities. More... | |
class | OctreeODEEngine |
Base class of a physically-based octree. More... | |
class | OctreeParticleSystemEngine |
class | OctreeSpringEngine |
Octree with springs in the cells. More... | |
class | ParametersCalculus |
class | SFVec3fCellConstrained |
struct | Vec3 |
Typedefs | |
typedef std::deque< SFVec3fCellConstrained * > | OctreeDataPoints |
typedef ConstrainedVertex | CVertex |
typedef float | FloatingPointType |
Declaration du type de floatant utilise. | |
typedef Vec3< FloatingPointType > | Vec3d |
Definition du type Vec3 avec le type floatant. | |
typedef animal::Matrix< FloatingPointType > | HMat |
Definition d'une matrice de flotants. | |
typedef animal::VectorVec< FloatingPointType > | HVec |
Definition d'un vecteur de flotants. | |
typedef ConstrainedVertex | OctreeVertex |
typedef CellData | OctreeData |
typedef FastOctree< OctreeVertex, OctreeData, Vec3d > | TempOctree |
typedef TempOctree::Cell | Cell |
typedef animal::Matrix< FloatingPointType > | Mat |
typedef int | PositionMethod |
Enumerations | |
enum | { OCTREE_DM_NOTHING = 0, OCTREE_DM_VERTICES = 1, OCTREE_DM_FRAMES = 2 } |
enum | { DATA_INSIDE, DATA_OUTSIDE, DATA_MIXED } |
enum | { LINEAR, GLOBAL_LINEAR, LOCAL_SKINNING } |
Functions | |
void | cgErrorCallback (void) |
void | cleanExit (int exitval) |
Functions. | |
void | drawTest (void) |
void | InitializeCgGL (void) |
bool | operator< (const UpdateChildrensPositionOptimizedData &d1, const UpdateChildrensPositionOptimizedData &d2) |
bool | operator!= (const UpdateChildrensPositionOptimizedData &d1, const UpdateChildrensPositionOptimizedData &d2) |
std::ostream & | operator<< (std::ostream &s, const ConstrainedVertex &v) |
std::vector< Vec3d > | computeDirectManipulationResultPseudoInverse (std::vector< FloatingPointType > weights, Vec3d deltaQ) |
Details : P = B^{+} q. | |
void | computeDirectManipulationSkinning (Vec3d deltaQ, std::vector< FloatingPointType > weights, std::vector< Vec3d > relPos, std::vector< ConstrainedVertex * > framesVertices, std::vector< ConstrainedVertex * > &verticesToMove, std::vector< Vec3d > &deltaP) |
Fills the verticesToMove vector of cv with pointers to constrained vertex that must be moved This is different from framesVertices because we use 2x3+1 vertices to define a frame for each vertex On of those vertices can be non free and then we'll use its free parents to compute its position. | |
void | computeDirectManipulationSkinningFrames (Vec3d deltaQ, std::vector< FloatingPointType > weights, std::vector< Vec3d > relPos, std::vector< ConstrainedVertex * > framesVertices, std::vector< std::vector< Vec3d > > &deltaFrames) |
void | computeDirectManipulationSkinningVerticesAndFrames (Vec3d deltaQ, std::vector< FloatingPointType > weights, std::vector< Vec3d > relPos, std::vector< ConstrainedVertex * > framesVertices, std::vector< Vec3d > &deltas) |
void | computeDirectManipulationSkinningVertices (Vec3d deltaQ, std::vector< FloatingPointType > weights, std::vector< Vec3d > relPos, std::vector< ConstrainedVertex * > framesVertices, std::vector< Vec3d > &deltas) |
Vec3d | HVecToVec3d (const HVec v) |
Conversions entre un HVec et un Vec3. | |
HVec | Vec3dToHVec (const Vec3d v) |
FloatingPointType * | getMatrixInverse (unsigned short size, FloatingPointType *data) |
Get and return a double array where : array[i+j*size] is the Matrix(i,j) element (j'th line and i'th row). | |
HMat | getMatrixInverse (HMat A) |
Vec3d | getFirstVertexParametersInCell (Cell *cStart, Cell *cEnd) |
Return the parameters of the vertex(0) located in the cell cStart In the cell cEnd coordinates. | |
unsigned short | getVertexPositionInCell (ConstrainedVertex *cv, Cell *cell) |
Get the ID of the vertex in the cell. | |
Cell * | getVertexFreeCell (Cell *cStart, const ConstrainedVertex *cv) |
Get the a grandfather cell of _cell that contains the vertex cv so that it's not constrained in any direction. | |
std::map< ConstrainedVertex *, Vec3d > | getWeightsHash (Cell *cell, ConstrainedVertex *vertex, unsigned short vId) |
void | printOctree (Cell *cell, unsigned int depth) |
bool | isLeaf (Cell *cell) |
std::ostream & | operator<< (std::ostream &s, const TempOctree::Cell &cell) |
Vec3d | getNewParametersInCell (Vec3d vParams, Vec3d originalParams, unsigned int diffDepth) |
Get the new parameters in the cell given the parameters of the vertex(0) in the original cell, the local parameters of the point and the difference of depth between the original and big cell. | |
Vec3d | getParametersInFrame (Vec3d params, unsigned short vId) |
Get the parameters of the point in the vertex frame of the cell Require that the vertex is a vertex of the cell. | |
template<class DataType> Vec3< DataType > | operator+ (const Vec3< DataType > &a, const Vec3< DataType > &b) |
template<class DataType> Vec3< DataType > | operator- (const Vec3< DataType > &a, const Vec3< DataType > &b) |
template<class DataType> Vec3< DataType > | operator- (const Vec3< DataType > &a) |
template<class DataType> DataType | operator * (const Vec3< DataType > &a, const Vec3< DataType > &b) |
template<class DataType> Vec3< DataType > | operator * (const DataType &k, const Vec3< DataType > &a) |
template<class DataType> Vec3< DataType > | operator/ (const Vec3< DataType > &a, const DataType &k) |
template<class DataType> Vec3< DataType > | operator^ (const Vec3< DataType > &a, const Vec3< DataType > &b) |
Variables | |
CGcontext | vContext |
Global variables. | |
CGprogram | vProgram |
CGprofile | vProfile |
CGparameter | ModelViewProj |
CGparameter | ModelView |
CGparameter | ModelViewIT |
CGparameter | CellVerticesID |
CGparameter | CellID |
int | _globalPositionMethod |
const animal::octree::FloatingPointType | hermitianCoeffs [] = {1,0,-3,2} |
const unsigned int | nCoeffs = 4 |
const animal::octree::HermiteFunction | hf = animal::octree::HermiteFunction(hermitianCoeffs,nCoeffs) |
|
|
Definition at line 34 of file ConstrainedVertex.h. Referenced by animal::octree::ConstrainedVertex::ConstrainedVertex(). |
|
|
Definition d'une matrice de flotants.
Definition at line 55 of file global.h. Referenced by animal::octree::Frame::getInvMatrix(), animal::octree::Frame::getMatrix(), and getMatrixInverse(). |
|
Definition d'un vecteur de flotants.
Definition at line 60 of file global.h. Referenced by animal::octree::Frame::getLocalCoordinates(), getMatrixInverse(), HVecToVec3d(), and Vec3dToHVec(). |
|
Definition at line 7419 of file ParametersCalculus.h. |
|
Definition at line 68 of file octree_instanciation.h. |
|
|
Definition at line 46 of file octree_instanciation.h. Referenced by X3DTK::X3D::DeformableOctreeNode::drawVertex(), and X3DTK::X3D::DeformableOctreeNode::getSelectedVertex(). |
|
Definition at line 24 of file SFVec3fCellConstrained.h. |
|
Definition at line 82 of file octree_instanciation.h. Referenced by animal::octree::Octree::Octree(). |
|
|
|
|
Definition at line 70 of file octree_instanciation.h. |
|
Definition at line 25 of file SFVec3fCellConstrained.h. |
|
Definition at line 273 of file CGRenderingMachine.cpp. References cleanExit(), and vContext. Referenced by InitializeCgGL(). |
|
Functions.
Referenced by cgErrorCallback(), and InitializeCgGL(). |
|
Details : P = B^{+} q.
Definition at line 16 of file DirectManipulation.cpp. References FloatingPointType, Require, and Vec3d. Referenced by computeDirectManipulationSkinning(), computeDirectManipulationSkinningFrames(), computeDirectManipulationSkinningVertices(), computeDirectManipulationSkinningVerticesAndFrames(), and animal::octree::Octree::directManipulation(). |
|
Fills the
Definition at line 158 of file DirectManipulation.cpp. References animal::octree::ConstrainedVertex::_connectedVertices, animal::octree::ConstrainedVertex::_connectedVerticesFactors, animal::octree::VertexWeight::_vert, animal::octree::VertexWeight::_w, computeDirectManipulationResultPseudoInverse(), FloatingPointType, animal::octree::ConstrainedVertex::getGeoLink(), animal::octree::GeoLink::getGeoParent(), animal::octree::GeoLink::getGeoParentId(), animal::octree::GeoLink::getNGeoParents(), animal::octree::ConstrainedVertex::isFree(), Require, and Vec3d. Referenced by animal::octree::Octree::directManipulation(). |
|
Definition at line 331 of file DirectManipulation.cpp. References computeDirectManipulationResultPseudoInverse(), and Vec3d. Referenced by animal::octree::Octree::directManipulation(). |
|
Definition at line 382 of file DirectManipulation.cpp. References computeDirectManipulationResultPseudoInverse(), and Vec3d. Referenced by animal::octree::Octree::directManipulation(). |
|
Definition at line 362 of file DirectManipulation.cpp. References computeDirectManipulationResultPseudoInverse(), and Vec3d. Referenced by animal::octree::Octree::directManipulation(). |
|
Definition at line 294 of file CGRenderingMachine.cpp. References ModelViewProj, vProfile, and vProgram. |
|
Return the parameters of the vertex(0) located in the cell cStart In the cell cEnd coordinates.
Definition at line 50 of file Octree.cpp. Referenced by animal::octree::Octree::updateInfluenceMaps(). |
|
Definition at line 66 of file octree_instanciation.cpp. References HMat, HVec, animal::m_eq_ludcmp(), animal::m_eq_luinv(), animal::Matrix< T >::ncols(), animal::Matrix< T >::nrows(), and Require. |
|
Get and return a double array where : array[i+j*size] is the Matrix(i,j) element (j'th line and i'th row).
Definition at line 35 of file octree_instanciation.cpp. References FloatingPointType, HMat, HVec, animal::m_eq_ludcmp(), and animal::m_eq_luinv(). Referenced by animal::octree::Frame::getLocalCoordinates(). |
|
Get the new parameters in the cell given the parameters of the vertex(0) in the original cell, the local parameters of the point and the difference of depth between the original and big cell.
Definition at line 18 of file SFVec3fCellConstrained.cpp. References FloatingPointType, and Vec3d. |
|
Get the parameters of the point in the vertex frame of the cell Require that the vertex is a vertex of the cell.
Definition at line 32 of file SFVec3fCellConstrained.cpp. References LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, and Vec3d. |
|
Get the a grandfather cell of _cell that contains the vertex cv so that it's not constrained in any direction.
Definition at line 100 of file Octree.cpp. References Cell, Ensure, animal::octree::ConstrainedVertex::isFree(), and Require. Referenced by animal::octree::ConstrainedVertex::computeFrame(), and animal::octree::Octree::updateInfluenceMaps(). |
|
Get the ID of the vertex in the cell.
Definition at line 79 of file Octree.cpp. Referenced by animal::octree::Octree::updateInfluenceMaps(). |
|
Definition at line 211 of file Octree.cpp. References Cell, animal::octree::ConstrainedVertex::child(), animal::octree::ConstrainedVertex::isFree(), Require, and Vec3d. Referenced by animal::octree::Octree::updateInfluenceMaps(). |
|
Conversions entre un HVec et un Vec3.
Definition at line 9 of file octree_instanciation.cpp. References HVec, Require, and Vec3d. Referenced by animal::octree::Frame::getLocalCoordinates(). |
|
Definition at line 321 of file CGRenderingMachine.cpp. References CellID, CellVerticesID, cgErrorCallback(), cleanExit(), ModelViewProj, vContext, vProfile, and vProgram. Referenced by animal::octree::CGRenderingMachine::initializeCg(). |
|
Definition at line 148 of file Octree.h. References Cell. |
|
Definition at line 193 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 188 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 287 of file ConstrainedVertex.cpp. References animal::octree::UpdateChildrensPositionOptimizedData::_vertex. |
|
Definition at line 167 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 179 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 173 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 199 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 282 of file ConstrainedVertex.cpp. References animal::octree::UpdateChildrensPositionOptimizedData::_vertex. |
|
Definition at line 92 of file octree_instanciation.h. |
|
Definition at line 466 of file ConstrainedVertex.h. References animal::octree::ConstrainedVertex::getMainCell(), and animal::octree::ConstrainedVertex::getMainCellVertexId(). |
|
Return the inner product of 2 vectors Definition at line 210 of file Vec3.cpp. References animal::octree::Vec3< DataType >::x, animal::octree::Vec3< DataType >::y, and animal::octree::Vec3< DataType >::z. |
|
Definition at line 472 of file Octree.cpp. References Cell. |
|
Definition at line 22 of file octree_instanciation.cpp. Referenced by animal::octree::Frame::getLocalCoordinates(). |
|
Definition at line 43 of file Octree.cpp. Referenced by animal::octree::Octree::moved(), and animal::octree::Octree::movedRecLeaves(). |
|
Definition at line 31 of file CGRenderingMachine.cpp. Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), and InitializeCgGL(). |
|
Definition at line 30 of file CGRenderingMachine.cpp. Referenced by InitializeCgGL(). |
|
Definition at line 7394 of file ParametersCalculus.h. |
|
Definition at line 7406 of file ParametersCalculus.h. |
|
Definition at line 27 of file CGRenderingMachine.cpp. |
|
Definition at line 28 of file CGRenderingMachine.cpp. |
|
Definition at line 26 of file CGRenderingMachine.cpp. Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), InitializeCgGL(), and animal::octree::CGRenderingMachine::loadCGParameters(). |
|
Definition at line 7395 of file ParametersCalculus.h. |
|
Global variables.
Definition at line 22 of file CGRenderingMachine.cpp. Referenced by cgErrorCallback(), and InitializeCgGL(). |
|
Definition at line 24 of file CGRenderingMachine.cpp. Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), and InitializeCgGL(). |
|
Definition at line 23 of file CGRenderingMachine.cpp. Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), and InitializeCgGL(). |