#include <BarycentricMapperTetrahedronSetTopology.h>
Class allowing barycentric mapping computation on a TetrahedronSetTopology. More...
Class allowing barycentric mapping computation on a TetrahedronSetTopology.
Public Member Functions | |
SOFA_CLASS (SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopology, In, Out), SOFA_TEMPLATE4(BarycentricMapperTopologyContainer, In, Out, MappingData, Tetrahedron)) | |
Index | addPointInTetra (const Index index, const SReal *baryCoords) override |
Protected Member Functions | |
BarycentricMapperTetrahedronSetTopology (sofa::core::topology::TopologyContainer *fromTopology, core::topology::BaseMeshTopology *toTopology) | |
~BarycentricMapperTetrahedronSetTopology () override=default | |
virtual type::vector< Tetrahedron > | getElements () override |
virtual type::vector< SReal > | getBaryCoef (const Real *f) override |
type::vector< SReal > | getBaryCoef (const Real fx, const Real fy, const Real fz) |
void | computeBase (Mat3x3d &base, const typename In::VecCoord &in, const Tetrahedron &element) override |
void | computeCenter (Vec3 ¢er, const typename In::VecCoord &in, const Tetrahedron &element) override |
void | computeDistance (SReal &d, const Vec3 &v) override |
void | addPointInElement (const Index elementIndex, const SReal *baryCoords) override |
void | processTopologicalChanges (const typename Out::VecCoord &out, const typename In::VecCoord &in, core::topology::Topology *t) |
void | processAddPoint (const sofa::type::Vec3d &pos, const typename In::VecCoord &in, MappingData &vectorData) |
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
|
override |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotectedvirtual |
|
protected |
|
overrideprotectedvirtual |
|
protected |
|
protected |
sofa::component::mapping::linear::BarycentricMapperTetrahedronSetTopology< In, Out >::SOFA_CLASS | ( | SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopology< In, Out >, In, Out) | , |
SOFA_TEMPLATE4(BarycentricMapperTopologyContainer, In, Out, MappingData, Tetrahedron) | |||
) |