Blender V2.61 - r43446
Public Member Functions | Protected Member Functions | Protected Attributes

MeanValueMeshCoords Class Reference

compute mvmcs More...

#include <mvmcoords.h>

List of all members.

Public Member Functions

 MeanValueMeshCoords ()
 ~MeanValueMeshCoords ()
void clear ()
void calculateMVMCs (std::vector< ntlVec3Gfx > &reference_vertices, std::vector< ntlTriangle > &tris, std::vector< ntlVec3Gfx > &points, gfxReal numweights)
void transfer (std::vector< ntlVec3Gfx > &vertices, std::vector< ntlVec3Gfx > &displacements)

Protected Member Functions

void computeWeights (std::vector< ntlVec3Gfx > &reference_vertices, std::vector< ntlTriangle > &tris, mvmTransferPoint &tds, gfxReal numweights)

Protected Attributes

std::vector< mvmTransferPointmVertices
int mNumVerts

Detailed Description

compute mvmcs

Definition at line 65 of file mvmcoords.h.


Constructor & Destructor Documentation

MeanValueMeshCoords::MeanValueMeshCoords ( ) [inline]

Definition at line 69 of file mvmcoords.h.

MeanValueMeshCoords::~MeanValueMeshCoords ( ) [inline]

Definition at line 70 of file mvmcoords.h.

References clear().


Member Function Documentation

void MeanValueMeshCoords::calculateMVMCs ( std::vector< ntlVec3Gfx > &  reference_vertices,
std::vector< ntlTriangle > &  tris,
std::vector< ntlVec3Gfx > &  points,
gfxReal  numweights 
)
void MeanValueMeshCoords::clear ( )

Definition at line 21 of file mvmcoords.cpp.

References mNumVerts, and mVertices.

Referenced by calculateMVMCs(), and ~MeanValueMeshCoords().

void MeanValueMeshCoords::computeWeights ( std::vector< ntlVec3Gfx > &  reference_vertices,
std::vector< ntlTriangle > &  tris,
mvmTransferPoint tds,
gfxReal  numweights 
) [protected]
void MeanValueMeshCoords::transfer ( std::vector< ntlVec3Gfx > &  vertices,
std::vector< ntlVec3Gfx > &  displacements 
)

Definition at line 171 of file mvmcoords.cpp.

References errMsg, mNumVerts, mVertices, and mvmTransferPoint::weights.

Referenced by ControlParticles::initFromObject().


Member Data Documentation

Definition at line 87 of file mvmcoords.h.

Referenced by calculateMVMCs(), clear(), and transfer().

Definition at line 86 of file mvmcoords.h.

Referenced by calculateMVMCs(), clear(), and transfer().


The documentation for this class was generated from the following files: