SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > > Class Template Reference

#include <BarycentricMappingRigid.h>

Inheritance diagram for sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >:

Public Member Functions

 SOFA_CLASS (SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopology, In, Out), SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopologyRigid, In, Out))
 
 BarycentricMapperTetrahedronSetTopology (topology::TetrahedronSetTopologyContainer *fromTopology, topology::PointSetTopologyContainer *_toTopology)
 
- Public Member Functions inherited from sofa::component::mapping::BarycentricMapperTetrahedronSetTopologyRigid< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >
 SOFA_CLASS (SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopologyRigid, sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal >), SOFA_TEMPLATE2(TopologyBarycentricMapper, sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal >))
 
void clear (std::size_t reserve=0) override
 
index_type addPointInTetra (const index_type index, const SReal *baryCoords) override
 
index_type addPointOrientationInTetra (const index_type tetraIndex, const sofa::defaulttype::Matrix3 baryCoorsOrient)
 
void init (const typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecCoord &out, const typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::VecCoord &in) override
 
void apply (typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecCoord &out, const typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::VecCoord &in) override
 
void applyJ (typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecDeriv &out, const typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::VecDeriv &in) override
 
void applyJT (typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::VecDeriv &out, const typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecDeriv &in) override
 
void applyJT (typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::MatrixDeriv &out, const typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::MatrixDeriv &in) override
 
const sofa::defaulttype::BaseMatrixgetJ (int outSize, int inSize) override
 
void draw (const core::visual::VisualParams *, const typename sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecCoord &out, const typename sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >::VecCoord &in) override
 
void resize (core::State< sofa::defaulttype::StdRigidTypes< 3, TOutReal > > *toModel) override
 

Additional Inherited Members

- Protected Attributes inherited from sofa::component::mapping::BarycentricMapperTetrahedronSetTopologyRigid< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >
topology::PointData< sofa::helper::vector< MappingData > > map
 mapper data More...
 
topology::PointData< sofa::helper::vector< MappingOrientData > > mapOrient
 mapper data for mapped frames More...
 
VecCoord actualTetraPosition
 
topology::TetrahedronSetTopologyContainer_fromContainer
 
topology::TetrahedronSetGeometryAlgorithms< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal > > * _fromGeomAlgo
 
MatrixTypematrixJ
 
bool updateJ
 
VecDeriv actualOut
 TEMP. More...
 
sofa::defaulttype::StdRigidTypes< 3, TOutReal >::VecCoord actualPos
 
- Protected Member Functions inherited from sofa::component::mapping::BarycentricMapperTetrahedronSetTopologyRigid< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >
 BarycentricMapperTetrahedronSetTopologyRigid (topology::TetrahedronSetTopologyContainer *fromTopology, topology::PointSetTopologyContainer *_toTopology)
 TEMP. More...
 
virtual ~BarycentricMapperTetrahedronSetTopologyRigid ()
 

Constructor details

template<class TInReal , class TOutReal >
sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >::BarycentricMapperTetrahedronSetTopology ( topology::TetrahedronSetTopologyContainer fromTopology,
topology::PointSetTopologyContainer _toTopology 
)
inline

Function details

template<class TInReal , class TOutReal >
sofa::component::mapping::BarycentricMapperTetrahedronSetTopology< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >::SOFA_CLASS ( SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopology< sofa::defaulttype::StdVectorTypes< sofa::defaulttype::Vec< 3, TInReal >, sofa::defaulttype::Vec< 3, TInReal >, TInReal >, sofa::defaulttype::StdRigidTypes< 3, TOutReal > >, In, Out ,
SOFA_TEMPLATE2(BarycentricMapperTetrahedronSetTopologyRigid, In, Out  
)