Computes the difference between a model's points and their projection on a beam.
More...
|
| enum | { N = Out::spatial_dimensions
} |
| enum | { NIn1 = sofa::defaulttype::DataTypeInfo<In1Deriv>::Size
} |
| enum | { NIn2 = sofa::defaulttype::DataTypeInfo<In2Deriv>::Size
} |
| enum | { NOut = sofa::defaulttype::DataTypeInfo<OutDeriv>::Size
} |
|
typedef sofa::core::Multi2Mapping< TIn1, TIn2, TOut > | Inherit |
|
typedef TIn1 | In1 |
| | Input Model Type.
|
|
typedef TIn2 | In2 |
|
typedef TOut | Out |
| | Output Model Type.
|
|
typedef In1::Coord | In1Coord |
|
typedef In1::Deriv | In1Deriv |
|
typedef In1::VecCoord | In1VecCoord |
|
typedef In1::VecDeriv | In1VecDeriv |
|
typedef In1::MatrixDeriv | In1MatrixDeriv |
|
typedef sofa::Data< In1VecCoord > | In1DataVecCoord |
|
typedef sofa::Data< In1VecDeriv > | In1DataVecDeriv |
|
typedef sofa::Data< In1MatrixDeriv > | In1DataMatrixDeriv |
|
typedef sofa::defaulttype::Rigid3dTypes::Coord | Rigid |
|
typedef In2::Coord::value_type | Real |
|
typedef In2::Coord | In2Coord |
|
typedef In2::Deriv | In2Deriv |
|
typedef In2::VecCoord | In2VecCoord |
|
typedef In2::VecDeriv | In2VecDeriv |
|
typedef In2::MatrixDeriv | In2MatrixDeriv |
|
typedef sofa::Data< In2VecCoord > | In2DataVecCoord |
|
typedef sofa::Data< In2VecDeriv > | In2DataVecDeriv |
|
typedef sofa::Data< In2MatrixDeriv > | In2DataMatrixDeriv |
|
typedef sofa::type::Mat< 4, 4, Real > | Mat4x4 |
|
typedef Out::VecCoord | OutVecCoord |
|
typedef Out::Coord | OutCoord |
|
typedef Out::Deriv | OutDeriv |
|
typedef Out::VecDeriv | OutVecDeriv |
|
typedef Out::MatrixDeriv | OutMatrixDeriv |
|
typedef sofa::Data< OutVecCoord > | OutDataVecCoord |
|
typedef sofa::Data< OutVecDeriv > | OutDataVecDeriv |
|
typedef sofa::Data< OutMatrixDeriv > | OutDataMatrixDeriv |
|
typedef SolidTypes< Real >::Transform | Transform |
|
typedef sofa::type::vector< sofa::topology::Edge > | SeqEdges |
|
|
| SOFA_CLASS (SOFA_TEMPLATE3(BeamProjectionDifferenceMultiMapping, TIn1, TIn2, TOut), SOFA_TEMPLATE3(sofa::core::Multi2Mapping, TIn1, TIn2, TOut)) |
|
void | init () override |
|
void | draw (const sofa::core::visual::VisualParams *vparams) override |
|
void | apply (const sofa::core::MechanicalParams *mparams, const sofa::type::vector< OutDataVecCoord * > &dataVecOutPos, const sofa::type::vector< const In1DataVecCoord * > &dataVecIn1Pos, const sofa::type::vector< const In2DataVecCoord * > &dataVecIn2Pos) override |
|
void | applyJ (const sofa::core::MechanicalParams *mparams, const sofa::type::vector< OutDataVecDeriv * > &dataVecOutVel, const sofa::type::vector< const In1DataVecDeriv * > &dataVecIn1Vel, const sofa::type::vector< const In2DataVecDeriv * > &dataVecIn2Vel) override |
|
void | applyJT (const sofa::core::MechanicalParams *mparams, const sofa::type::vector< In1DataVecDeriv * > &dataVecOut1Force, const sofa::type::vector< In2DataVecDeriv * > &dataVecOut2RootForce, const sofa::type::vector< const OutDataVecDeriv * > &dataVecInForce) override |
|
void | applyDJT (const sofa::core::MechanicalParams *mparams, sofa::core::MultiVecDerivId inForce, sofa::core::ConstMultiVecDerivId outForce) override |
|
virtual void | applyJT (const sofa::core::ConstraintParams *cparams, const sofa::type::vector< In1DataMatrixDeriv * > &dataMatOut1Const, const sofa::type::vector< In2DataMatrixDeriv * > &dataMatOut2Const, const sofa::type::vector< const OutDataMatrixDeriv * > &dataMatInConst) override |
|
virtual const sofa::type::vector< sofa::linearalgebra::BaseMatrix * > * | getJs () override |
|
void | computeProjection (const In1VecCoord &xFrom, const In2VecCoord &xTo, const bool &updateOrientation) |
|
|
sofa::Data< vector< unsigned int > > | d_indices |
|
sofa::Data< sofa::type::vector< bool > > | d_directions |
|
sofa::Data< bool > | d_updateProjectionPosition |
|
sofa::Data< bool > | d_updateProjectionOrientation |
|
sofa::Data< bool > | d_draw |
|
sofa::Data< Real > | d_drawSize |
|
sofa::Data< vector< In1Coord > > | d_projections |
|
sofa::Data< SReal > | d_filter |
|
sofa::SingleLink< BeamProjectionDifferenceMultiMapping< TIn1, TIn2, TOut >, sofa::core::topology::BaseMeshTopology, sofa::BaseLink::FLAG_STOREPATH|sofa::BaseLink::FLAG_STRONGLINK > | l_in2Topology |
|
sofa::SingleLink< BeamProjectionDifferenceMultiMapping< TIn1, TIn2, TOut >, BeamInterpolation< TIn2 >, sofa::BaseLink::FLAG_STOREPATH|sofa::BaseLink::FLAG_STRONGLINK > | l_interpolation |
template<class TIn1, class TIn2, class TOut>
class beamadapter::BeamProjectionDifferenceMultiMapping< TIn1, TIn2, TOut >
Computes the difference between a model's points and their projection on a beam.