Documentation


animal::octree Namespace Reference


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< FloatingPointTypeVec3d
 Definition du type Vec3 avec le type floatant.

typedef animal::Matrix< FloatingPointTypeHMat
 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< FloatingPointTypeMat
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< Vec3dcomputeDirectManipulationResultPseudoInverse (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)
FloatingPointTypegetMatrixInverse (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.

CellgetVertexFreeCell (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)


Typedef Documentation

typedef TempOctree::Cell animal::octree::Cell
 

Definition at line 83 of file octree_instanciation.h.

Referenced by animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::allLevelsPreUpdateVerticesPositions(), animal::octree::GeoLink::changeCell(), animal::octree::CGRenderingMachine::computeCGData(), animal::octree::ConstrainedVertex::computeFrame(), animal::octree::ConstrainedVertex::connectedCell(), animal::octree::ConstrainedVertex::ConstrainedVertex(), animal::octree::Octree::createOctree(), animal::octree::Octree::directManipulation(), animal::octree::ConstrainedVertex::fatherCell(), animal::octree::ConstrainedVertex::getAlpha(), animal::octree::ConstrainedVertex::getAlphaFactors(), animal::octree::ConstrainedVertex::getBeta(), animal::octree::ConstrainedVertex::getBetaFactors(), animal::octree::SFVec3fCellConstrained::getCell(), animal::octree::ConstrainedVertex::getCellWithFreeVertexConnectedToVertex(), animal::octree::ConstrainedVertex::getConstrainedDepth(), animal::octree::ConstrainedVertex::getFathersFreeVertex(), animal::octree::ConstrainedVertex::getFathersFreeVertexCell(), getFirstVertexParametersInCell(), animal::octree::ConstrainedVertex::getFreeParentVertices(), animal::octree::ConstrainedVertex::getGamma(), animal::octree::ConstrainedVertex::getGammaFactors(), animal::octree::ConstrainedVertex::getMainCell(), animal::octree::Octree::getNormals(), animal::octree::ConstrainedVertex::getParameters(), animal::octree::ConstrainedVertex::getSmallestCellsFreeVertexSharingFaceForVertex(), getVertexFreeCell(), getVertexPositionInCell(), getWeightsHash(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), animal::octree::ConstrainedVertex::isConnected(), isLeaf(), animal::octree::Octree::isLeaf(), animal::octree::ManipulatedMeshVertex::ManipulatedMeshVertex(), animal::octree::Octree::moved(), animal::octree::Octree::movedRecLeaves(), animal::octree::ParametersCalculus::ParametersCalculus(), animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::preUpdateVerticesPositions(), printOctree(), animal::octree::ConstrainedVertex::registerCell(), animal::octree::ConstrainedVertex::setMainCell(), animal::octree::SFVec3fCellConstrained::SFVec3fCellConstrained(), animal::octree::Octree::simplify(), animal::octree::Octree::structureChanged(), animal::octree::Octree::structureChangedRecLeaves(), animal::octree::Octree::subdivideDeformed(), animal::octree::Octree::subdivideRecDeformed(), animal::octree::SFVec3fCellConstrained::translateParameters(), animal::octree::ConstrainedVertex::unregisterCell(), animal::octree::Octree::updateCellsData(), animal::octree::Octree::updateFrame(), animal::octree::Octree::updateFrames(), animal::octree::Octree::updateHierarchy(), animal::octree::Octree::updateInfluenceMaps(), animal::octree::Octree::updateInfluenceMapsRecLeaves(), animal::octree::SFVec3fCellConstrained::updateSkinningInformations(), animal::octree::Octree::updateVertexInformations(), animal::octree::Octree::updateVertexInformationsRec(), and animal::octree::Octree::updateVertexInformationsRecLeaves().

typedef ConstrainedVertex animal::octree::CVertex
 

Definition at line 34 of file ConstrainedVertex.h.

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

typedef float animal::octree::FloatingPointType
 

Declaration du type de floatant utilise.

Definition at line 38 of file global.h.

Referenced by animal::octree::animal::octree::FastOctree< T, S, U >::Cell::Cell(), animal::octree::animal::octree::HermiteFunction::compute(), animal::octree::SFVec3fCellConstrained::computeDerivative(), animal::octree::animal::octree::HermiteFunction::computeDerivative(), computeDirectManipulationResultPseudoInverse(), computeDirectManipulationSkinning(), animal::octree::ConstrainedVertex::ConstrainedVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::contains(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::createFreeVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::createRootVertex(), animal::octree::animal::octree::FastOctree< T, S, U >::FastOctree(), animal::octree::ConstrainedVertex::get_FloatingPointTypePointerCopy(), animal::octree::SFVec3fCellConstrained::getAlpha(), animal::octree::ConstrainedVertex::getAlpha(), animal::octree::SFVec3fCellConstrained::getBeta(), animal::octree::ConstrainedVertex::getBeta(), animal::octree::SFVec3fCellConstrained::getGamma(), animal::octree::ConstrainedVertex::getGamma(), animal::octree::SFVec3fCellConstrained::getInitNormalRelativeWeight(), getMatrixInverse(), getNewParametersInCell(), animal::octree::ParametersCalculus::getParameters(), animal::octree::ConstrainedVertex::getParameters(), animal::octree::SFVec3fCellConstrained::getRelativeWeight(), X3DTK::X3D::DeformableOctreeNode::getToolsSize(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), animal::octree::animal::octree::HermiteFunction::HermiteFunction(), animal::octree::OctreeODEEngine::integrate_VVerlet(), animal::octree::animal::octree::FastOctree< T, S, U >::Cell::locate(), animal::octree::animal::octree::FastOctree< T, S, U >::Face::normal(), animal::octree::animal::octree::HermiteFunction::operator=(), animal::octree::ConstrainedVertex::operator[](), animal::octree::SFVec3fCellConstrained::setInitNormalRelativeWeight(), animal::octree::SFVec3fCellConstrained::setRelativeWeight(), animal::octree::SFVec3fCellConstrained::updateSkinningInformations(), and animal::octree::OctreeEngine::v_eq_a_plus_alpha_b().

typedef animal::Matrix<FloatingPointType> animal::octree::HMat
 

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().

typedef animal::VectorVec<FloatingPointType> animal::octree::HVec
 

Definition d'un vecteur de flotants.

Definition at line 60 of file global.h.

Referenced by animal::octree::Frame::getLocalCoordinates(), getMatrixInverse(), HVecToVec3d(), and Vec3dToHVec().

typedef animal::Matrix<FloatingPointType> animal::octree::Mat
 

Definition at line 7419 of file ParametersCalculus.h.

typedef CellData animal::octree::OctreeData
 

Definition at line 68 of file octree_instanciation.h.

typedef std::deque<SFVec3fCellConstrained*> animal::octree::OctreeDataPoints
 

Definition at line 25 of file CellData.h.

Referenced by animal::octree::CGRenderingMachine::computeCGData(), X3DTK::X3D::DeformableOctreeNode::drawCellsPoints(), animal::octree::Octree::getMeshVertices(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), animal::octree::Octree::moved(), and animal::octree::Octree::updateCellsData().

typedef ConstrainedVertex animal::octree::OctreeVertex
 

Definition at line 46 of file octree_instanciation.h.

Referenced by X3DTK::X3D::DeformableOctreeNode::drawVertex(), and X3DTK::X3D::DeformableOctreeNode::getSelectedVertex().

typedef int animal::octree::PositionMethod
 

Definition at line 24 of file SFVec3fCellConstrained.h.

typedef FastOctree<OctreeVertex,OctreeData,Vec3d> animal::octree::TempOctree
 

Definition at line 82 of file octree_instanciation.h.

Referenced by animal::octree::Octree::Octree().

typedef Vec3<FloatingPointType> animal::octree::Vec3d
 

Definition du type Vec3 avec le type floatant.

Definition at line 43 of file global.h.

Referenced by animal::octree::ConstrainedVertex::computeDelta(), animal::octree::SFVec3fCellConstrained::computeDerivative(), computeDirectManipulationResultPseudoInverse(), computeDirectManipulationSkinning(), computeDirectManipulationSkinningFrames(), computeDirectManipulationSkinningVertices(), computeDirectManipulationSkinningVerticesAndFrames(), animal::octree::ConstrainedVertex::computeFrame(), animal::octree::SFVec3fCellConstrained::computeParameters(), animal::octree::ParametersCalculus::computePosition(), animal::octree::Frame::computePosition(), animal::octree::ConstrainedVertex::computePosition(), animal::octree::ConstrainedVertex::computeValue(), animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::ConstrainedVertex::computeValueFromRelatives(), animal::octree::ConstrainedVertex::ConstrainedVertex(), X3DTK::X3D::DeformableOctreeParticleSystemNode::createOctree(), X3DTK::X3D::DeformableOctreeNode::createOctree(), animal::octree::Octree::directManipulation(), X3DTK::X3D::DeformableOctreeNode::drawCellsPoints(), X3DTK::X3D::DeformableOctreeNode::drawFrame(), X3DTK::X3D::DeformableOctreeNode::drawVector(), X3DTK::X3D::DeformableOctreeNode::drawVertex(), animal::octree::Frame::Frame(), animal::octree::ConstrainedVertex::get_FloatingPointTypePointerCopy(), animal::octree::ConstrainedVertex::get_Vec3d(), X3DTK::X3D::DeformableOctreeNode::getBoundingBox(), animal::octree::ConstrainedVertex::getDelta(), getFirstVertexParametersInCell(), animal::octree::SFVec3fCellConstrained::getInitNormal(), animal::octree::SFVec3fCellConstrained::getInitNormalParameters(), animal::octree::Frame::getLocalCoordinates(), animal::octree::SFVec3fCellConstrained::getLocalParams(), getNewParametersInCell(), animal::octree::Frame::getOrigin(), animal::octree::SFVec3fCellConstrained::getParameters(), animal::octree::ParametersCalculus::getParameters(), animal::octree::ConstrainedVertex::getParameters(), getParametersInFrame(), animal::octree::ConstrainedVertex::getPosition(), animal::octree::SFVec3fCellConstrained::getRelativePosition(), animal::octree::Frame::getVector(), getWeightsHash(), animal::octree::SFVec3fCellConstrained::globalLinearUpdatePositions(), HVecToVec3d(), animal::octree::OctreeEngine::init(), animal::octree::ManipulatedMeshVertex::ManipulatedMeshVertex(), animal::octree::ManipulatedMeshVertexAnimated< t_Vector, t_Real, t_VecReal >::moveTo(), animal::octree::ManipulatedMeshVertex::moveTo(), animal::octree::Octree::Octree(), animal::octree::OctreeEngine::OctreeEngine(), animal::octree::OctreeODEEngine::OctreeODEEngine(), animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::OctreeParticleSystemEngine(), animal::octree::ConstrainedVertex::operator const FloatingPointType *(), animal::octree::Frame::operator[](), animal::octree::OctreeParticleSystemEngine< t_Vector, t_Real, t_Masses >::postUpdateVerticesPositions(), animal::octree::ConstrainedVertex::setDelta(), animal::octree::Frame::setOrigin(), animal::octree::SFVec3fCellConstrained::setParams(), animal::octree::ConstrainedVertex::setPosition(), animal::octree::ConstrainedVertex::setPositionAndPropagate(), animal::octree::ConstrainedVertex::setPositionAndPropagateAll(), animal::octree::Octree::setPositionMethod(), animal::octree::SFVec3fCellConstrained::setRelativePosition(), animal::octree::ConstrainedVertex::setValue(), animal::octree::ConstrainedVertex::setValueAndPropagate(), animal::octree::Frame::setVector(), animal::octree::SFVec3fCellConstrained::SFVec3fCellConstrained(), X3DTK::X3D::DeformableOctreeNode::slotButtonDirectManipulation(), X3DTK::X3D::DeformableOctreeNode::slotMoveXMinus(), X3DTK::X3D::DeformableOctreeNode::slotMoveXPlus(), X3DTK::X3D::DeformableOctreeNode::slotMoveYMinus(), X3DTK::X3D::DeformableOctreeNode::slotMoveYPlus(), X3DTK::X3D::DeformableOctreeNode::slotMoveZMinus(), X3DTK::X3D::DeformableOctreeNode::slotMoveZPlus(), animal::octree::Octree::subdivideDeformed(), animal::octree::SFVec3fCellConstrained::translateParameters(), animal::octree::ConstrainedVertex::updateChildrensPosition(), animal::octree::ConstrainedVertex::updateChildrensPositionOptimized(), animal::octree::ConstrainedVertex::updateChildrensPositionOptimizedNotFree(), animal::octree::ConstrainedVertex::updateConstrainedChildrensPosition(), animal::octree::ConstrainedVertex::updatePosition(), animal::octree::SFVec3fCellConstrained::updateSkinningInformations(), animal::octree::OctreeEngine::v_assign(), animal::octree::ConstrainedVertex::value(), and Vec3dToHVec().


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
OCTREE_DM_NOTHING 
OCTREE_DM_VERTICES 
OCTREE_DM_FRAMES 

Definition at line 30 of file Octree.h.

anonymous enum
 

Enumeration values:
DATA_INSIDE 
DATA_OUTSIDE 
DATA_MIXED 

Definition at line 70 of file octree_instanciation.h.

anonymous enum
 

Enumeration values:
LINEAR 
GLOBAL_LINEAR 
LOCAL_SKINNING 

Definition at line 25 of file SFVec3fCellConstrained.h.


Function Documentation

void animal::octree::cgErrorCallback void   ) 
 

Definition at line 273 of file CGRenderingMachine.cpp.

References cleanExit(), and vContext.

Referenced by InitializeCgGL().

void cleanExit int  exitval  ) 
 

Functions.

Referenced by cgErrorCallback(), and InitializeCgGL().

std::vector<Vec3d> computeDirectManipulationResultPseudoInverse std::vector< FloatingPointType >  weights,
Vec3d  deltaQ
 

Details : P = B^{+} q.

Parameters:
the weights associated to each control point
the vector giving the difference between the actual position and the wanted position
Returns:
the list of vectors to add to the control points

Definition at line 16 of file DirectManipulation.cpp.

References FloatingPointType, Require, and Vec3d.

Referenced by computeDirectManipulationSkinning(), computeDirectManipulationSkinningFrames(), computeDirectManipulationSkinningVertices(), computeDirectManipulationSkinningVerticesAndFrames(), and animal::octree::Octree::directManipulation().

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.

Precondition:
framesVertices[i]->isFree()

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().

void animal::octree::computeDirectManipulationSkinningFrames Vec3d  deltaQ,
std::vector< FloatingPointType >  weights,
std::vector< Vec3d >  relPos,
std::vector< ConstrainedVertex * >  framesVertices,
std::vector< std::vector< Vec3d > > &  deltaFrames
 

Definition at line 331 of file DirectManipulation.cpp.

References computeDirectManipulationResultPseudoInverse(), and Vec3d.

Referenced by animal::octree::Octree::directManipulation().

void animal::octree::computeDirectManipulationSkinningVertices Vec3d  deltaQ,
std::vector< FloatingPointType >  weights,
std::vector< Vec3d >  relPos,
std::vector< ConstrainedVertex * >  framesVertices,
std::vector< Vec3d > &  delta
 

Definition at line 382 of file DirectManipulation.cpp.

References computeDirectManipulationResultPseudoInverse(), and Vec3d.

Referenced by animal::octree::Octree::directManipulation().

void animal::octree::computeDirectManipulationSkinningVerticesAndFrames Vec3d  deltaQ,
std::vector< FloatingPointType >  weights,
std::vector< Vec3d >  relPos,
std::vector< ConstrainedVertex * >  framesVertices,
std::vector< Vec3d > &  delta
 

Definition at line 362 of file DirectManipulation.cpp.

References computeDirectManipulationResultPseudoInverse(), and Vec3d.

Referenced by animal::octree::Octree::directManipulation().

void animal::octree::drawTest void   ) 
 

Definition at line 294 of file CGRenderingMachine.cpp.

References ModelViewProj, vProfile, and vProgram.

Vec3d getFirstVertexParametersInCell Cell *  cStart,
Cell *  cEnd
 

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.

References Cell, and Vec3d.

Referenced by animal::octree::Octree::updateInfluenceMaps().

HMat animal::octree::getMatrixInverse HMat  A  ) 
 

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.

FloatingPointType * animal::octree::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).

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().

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.

Definition at line 18 of file SFVec3fCellConstrained.cpp.

References FloatingPointType, and Vec3d.

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.

Definition at line 32 of file SFVec3fCellConstrained.cpp.

References LINEARFACTORALPHA, LINEARFACTORBETA, LINEARFACTORGAMMA, and Vec3d.

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.

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().

unsigned short getVertexPositionInCell ConstrainedVertex *  cv,
Cell *  cell
 

Get the ID of the vertex in the cell.

Definition at line 79 of file Octree.cpp.

References Cell, and Require.

Referenced by animal::octree::Octree::updateInfluenceMaps().

std::map<ConstrainedVertex*,Vec3d> getWeightsHash Cell *  cell,
ConstrainedVertex *  vertex,
unsigned short  vId
 

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().

Vec3d animal::octree::HVecToVec3d const HVec  v  ) 
 

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().

void animal::octree::InitializeCgGL void   )  [static]
 

Definition at line 321 of file CGRenderingMachine.cpp.

References CellID, CellVerticesID, cgErrorCallback(), cleanExit(), ModelViewProj, vContext, vProfile, and vProgram.

Referenced by animal::octree::CGRenderingMachine::initializeCg().

bool isLeaf Cell *  cell  )  [inline, static]
 

Definition at line 148 of file Octree.h.

References Cell.

template<class DataType>
Vec3<DataType> operator * const DataType &  k,
const Vec3< DataType > &  a
 

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.

template<class DataType>
DataType operator * const Vec3< DataType > &  a,
const Vec3< DataType > &  b
 

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.

bool operator!= const UpdateChildrensPositionOptimizedData &  d1,
const UpdateChildrensPositionOptimizedData &  d2
 

Definition at line 287 of file ConstrainedVertex.cpp.

References animal::octree::UpdateChildrensPositionOptimizedData::_vertex.

template<class DataType>
Vec3<DataType> operator+ const Vec3< DataType > &  a,
const Vec3< DataType > &  b
 

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.

template<class DataType>
Vec3<DataType> operator- const Vec3< DataType > &  a  ) 
 

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.

template<class DataType>
Vec3<DataType> operator- const Vec3< DataType > &  a,
const Vec3< DataType > &  b
 

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.

template<class DataType>
Vec3<DataType> operator/ const Vec3< DataType > &  a,
const DataType &  k
 

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.

bool operator< const UpdateChildrensPositionOptimizedData &  d1,
const UpdateChildrensPositionOptimizedData &  d2
 

Definition at line 282 of file ConstrainedVertex.cpp.

References animal::octree::UpdateChildrensPositionOptimizedData::_vertex.

std::ostream& operator<< std::ostream &  s,
const TempOctree::Cell &  cell
[static]
 

Definition at line 92 of file octree_instanciation.h.

std::ostream& operator<< std::ostream &  s,
const ConstrainedVertex &  v
[static]
 

Definition at line 466 of file ConstrainedVertex.h.

References animal::octree::ConstrainedVertex::getMainCell(), and animal::octree::ConstrainedVertex::getMainCellVertexId().

template<class DataType>
Vec3<DataType> operator^ const Vec3< DataType > &  a,
const Vec3< DataType > &  b
 

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.

void printOctree Cell *  cell,
unsigned int  depth
 

Definition at line 472 of file Octree.cpp.

References Cell.

HVec animal::octree::Vec3dToHVec const Vec3d  v  ) 
 

Definition at line 22 of file octree_instanciation.cpp.

References HVec, and Vec3d.

Referenced by animal::octree::Frame::getLocalCoordinates().


Variable Documentation

int animal::octree::_globalPositionMethod [static]
 

Definition at line 43 of file Octree.cpp.

Referenced by animal::octree::Octree::moved(), and animal::octree::Octree::movedRecLeaves().

CGparameter animal::octree::CellID
 

Definition at line 31 of file CGRenderingMachine.cpp.

Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), and InitializeCgGL().

CGparameter animal::octree::CellVerticesID
 

Definition at line 30 of file CGRenderingMachine.cpp.

Referenced by InitializeCgGL().

const animal::octree::FloatingPointType animal::octree::hermitianCoeffs[] = {1,0,-3,2}
 

Definition at line 7394 of file ParametersCalculus.h.

const animal::octree::HermiteFunction animal::octree::hf = animal::octree::HermiteFunction(hermitianCoeffs,nCoeffs) [static]
 

Definition at line 7406 of file ParametersCalculus.h.

CGparameter animal::octree::ModelView
 

Definition at line 27 of file CGRenderingMachine.cpp.

CGparameter animal::octree::ModelViewIT
 

Definition at line 28 of file CGRenderingMachine.cpp.

CGparameter animal::octree::ModelViewProj
 

Definition at line 26 of file CGRenderingMachine.cpp.

Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), InitializeCgGL(), and animal::octree::CGRenderingMachine::loadCGParameters().

const unsigned int animal::octree::nCoeffs = 4
 

Definition at line 7395 of file ParametersCalculus.h.

CGcontext animal::octree::vContext
 

Global variables.

Definition at line 22 of file CGRenderingMachine.cpp.

Referenced by cgErrorCallback(), and InitializeCgGL().

CGprofile animal::octree::vProfile
 

Definition at line 24 of file CGRenderingMachine.cpp.

Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), and InitializeCgGL().

CGprogram animal::octree::vProgram
 

Definition at line 23 of file CGRenderingMachine.cpp.

Referenced by animal::octree::CGRenderingMachine::drawMethodLinear(), drawTest(), and InitializeCgGL().


Generated on Thu Dec 23 13:52:32 2004 by doxygen 1.3.6