Classes | |
struct | AddMToMatrixFunctor |
struct | AddMToMatrixFunctor< defaulttype::RigidDeriv< N, Real >, defaulttype::RigidMass< N, Real >, MatrixType > |
class | DiagonalMassInternalData |
class | DiagonalMass |
This component computes the integral of this mass density over the volume of the object geometry but it supposes that the Mass matrix is diagonal. More... | |
struct | MassType |
class | MeshMatrixMassInternalData |
class | MeshMatrixMass |
This component computes the integral of this mass density over the volume of the object geometry. More... | |
struct | MassType< sofa::defaulttype::StdRigidTypes< N, real > > |
class | UniformMass |
struct | MassType< defaulttype::StdVectorTypes< TCoord, TDeriv, TReal > > |
Functions | |
SOFA_EXPORT_DYNAMIC_LIBRARY void | initExternalModule () |
SOFA_EXPORT_DYNAMIC_LIBRARY const char * | getModuleName () |
SOFA_EXPORT_DYNAMIC_LIBRARY const char * | getModuleVersion () |
SOFA_EXPORT_DYNAMIC_LIBRARY const char * | getModuleComponentList () |
void | init () |
template<class MassType > | |
void | parseMassTemplate (sofa::core::objectmodel::BaseObjectDescription *arg, const core::behavior::BaseMass *mass) |
Mat3x3d | MatrixFromEulerXYZ (double thetaX, double thetaY, double thetaZ) |
Variables | |
int | DiagonalMassClass |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec3Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec2Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec2Types, Vec3Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec1Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec1Types, Vec2Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Vec1Types, Vec3Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Rigid3Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Rigid2Types > |
template class SOFA_COMPONENT_MASS_API | DiagonalMass< Rigid2Types, Rigid3Types > |
int | MeshMatrixMassClass |
int | UniformMassClass |
template class SOFA_COMPONENT_MASS_API | UniformMass< Vec3Types > |
template class SOFA_COMPONENT_MASS_API | UniformMass< Vec2Types > |
template class SOFA_COMPONENT_MASS_API | UniformMass< Vec1Types > |
template class SOFA_COMPONENT_MASS_API | UniformMass< Vec6Types > |
template class SOFA_COMPONENT_MASS_API | UniformMass< Rigid3Types > |
template class SOFA_COMPONENT_MASS_API | UniformMass< Rigid2Types > |
const char * sofa::component::mass::getModuleComponentList | ( | ) |
const char * sofa::component::mass::getModuleName | ( | ) |
const char * sofa::component::mass::getModuleVersion | ( | ) |
SOFA_COMPONENT_MASS_API void sofa::component::mass::init | ( | ) |
void sofa::component::mass::initExternalModule | ( | ) |
Mat3x3d sofa::component::mass::MatrixFromEulerXYZ | ( | double | thetaX, |
double | thetaY, | ||
double | thetaZ | ||
) |
void sofa::component::mass::parseMassTemplate | ( | sofa::core::objectmodel::BaseObjectDescription * | arg, |
const core::behavior::BaseMass * | mass | ||
) |
Function used in parsing some classes derived from BaseMass to warn the user how the template attributes have changed since #2644
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Rigid2Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Rigid2Types, Rigid3Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Rigid3Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec1Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec1Types, Vec2Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec1Types, Vec3Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec2Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec2Types, Vec3Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::DiagonalMass< Vec3Types > |
int sofa::component::mass::DiagonalMassClass |
int sofa::component::mass::MeshMatrixMassClass |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Rigid2Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Rigid3Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Vec1Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Vec2Types > |
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Vec3Types > |
TEMPLATE INITIALIZATION ///////////////////////////////////////////////// Force template specialization for the most common sofa type. This goes with the extern template declaration in the .h. Declaring extern template avoid the code generation of the template for each compilation unit. see: http://www.stroustrup.com/C++11FAQ.html#extern-templates
template class SOFA_COMPONENT_MASS_API sofa::component::mass::UniformMass< Vec6Types > |
int sofa::component::mass::UniformMassClass |
REGISTERING TO FACTORY ///////////////////////////////////////// Registering the component see: https://www.sofa-framework.org/community/doc/programming-with-sofa/components-api/the-objectfactory/ 1-SOFA_DECL_CLASS(componentName) : Set the class name of the component 2-RegisterObject("description") + .add<> : Register the component 3-.add<>(true) : Set default template