SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out > Class Template Reference

#include <BarycentricMapperEdgeSetTopology.h>

Inheritance diagram for sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >:

Protected Attributes

topology::EdgeSetTopologyContainerm_fromContainer
 
topology::EdgeSetGeometryAlgorithms< In > * m_fromGeomAlgo
 

Public Member Functions

 SOFA_CLASS (SOFA_TEMPLATE2(BarycentricMapperEdgeSetTopology, In, Out), SOFA_TEMPLATE4(BarycentricMapperTopologyContainer, In, Out, MappingData, Edge))
 
void init (const typename Out::VecCoord &out, const typename In::VecCoord &in) override
 
index_type addPointInLine (const index_type edgeIndex, const SReal *baryCoords) override
 
index_type createPointInLine (const typename Out::Coord &p, index_type edgeIndex, const typename In::VecCoord *points) override
 

Protected Member Functions

 BarycentricMapperEdgeSetTopology (topology::EdgeSetTopologyContainer *fromTopology, topology::PointSetTopologyContainer *toTopology)
 
 ~BarycentricMapperEdgeSetTopology () override
 
virtual helper::vector< EdgegetElements () override
 
virtual helper::vector< SReal > getBaryCoef (const Real *f) override
 
helper::vector< SReal > getBaryCoef (const Real fx)
 
void computeBase (Mat3x3d &base, const typename In::VecCoord &in, const Edge &element) override
 
void computeCenter (Vector3 &center, const typename In::VecCoord &in, const Edge &element) override
 
void computeDistance (double &d, const Vector3 &v) override
 
void addPointInElement (const index_type elementIndex, const SReal *baryCoords) override
 

Attribute details

template<class In, class Out>
topology::EdgeSetTopologyContainer* sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::m_fromContainer
protected
template<class In, class Out>
topology::EdgeSetGeometryAlgorithms<In>* sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::m_fromGeomAlgo
protected

Constructor details

template<class In, class Out>
sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::~BarycentricMapperEdgeSetTopology ( )
inlineoverrideprotected

Function details

template<class In , class Out >
void sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::addPointInElement ( const index_type  elementIndex,
const SReal *  baryCoords 
)
overrideprotected
template<class In , class Out >
BarycentricMapperEdgeSetTopology< In, Out >::index_type sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::addPointInLine ( const index_type  edgeIndex,
const SReal *  baryCoords 
)
override
template<class In, class Out >
void sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::computeBase ( Mat3x3d base,
const typename In::VecCoord &  in,
const Edge element 
)
overrideprotected
template<class In, class Out >
void sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::computeCenter ( Vector3 &  center,
const typename In::VecCoord &  in,
const Edge element 
)
overrideprotected
template<class In , class Out >
void sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::computeDistance ( double d,
const Vector3 &  v 
)
overrideprotected
template<class In, class Out>
BarycentricMapperEdgeSetTopology< In, Out >::index_type sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::createPointInLine ( const typename Out::Coord &  p,
index_type  edgeIndex,
const typename In::VecCoord *  points 
)
override
template<class In , class Out >
helper::vector< SReal > sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::getBaryCoef ( const Real f)
overrideprotectedvirtual
template<class In , class Out >
helper::vector< SReal > sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::getBaryCoef ( const Real  fx)
protected
template<class In , class Out >
helper::vector< Edge > sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::getElements ( )
overrideprotectedvirtual
template<class In, class Out>
void sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::init ( const typename Out::VecCoord &  out,
const typename In::VecCoord &  in 
)
inlineoverride
template<class In, class Out>
sofa::component::mapping::BarycentricMapperEdgeSetTopology< In, Out >::SOFA_CLASS ( SOFA_TEMPLATE2(BarycentricMapperEdgeSetTopology< In, Out >, In, Out ,
SOFA_TEMPLATE4(BarycentricMapperTopologyContainer, In, Out, MappingData, Edge  
)