#include <SingleMatrixAccessor.h>

Special case to access a single square matrix.
Protected Attributes | |
| BaseMatrix * | matrix |
| The single matrix. More... | |
| MatrixRef | matRef |
| The accessor to the single matrix. More... | |
Public Member Functions | |
| SingleMatrixAccessor (BaseMatrix *m=nullptr) | |
| ~SingleMatrixAccessor () override | |
| void | setMatrix (BaseMatrix *m) |
| BaseMatrix * | getMatrix () |
| const BaseMatrix * | getMatrix () const |
| Index | getGlobalDimension () const override |
| int | getGlobalOffset (const core::behavior::BaseMechanicalState *) const override |
| MatrixRef | getMatrix (const core::behavior::BaseMechanicalState *) const override |
| InteractionMatrixRef | getMatrix (const core::behavior::BaseMechanicalState *mstate1, const core::behavior::BaseMechanicalState *mstate2) const override |
Public Member Functions inherited from sofa::core::behavior::MultiMatrixAccessor | |
| virtual | ~MultiMatrixAccessor () |
| virtual void | addMechanicalState (const BaseMechanicalState *mstate) |
| virtual void | addMechanicalMapping (BaseMapping *mapping) |
| virtual void | addMappedMechanicalState (const BaseMechanicalState *mstate) |
|
protected |
The accessor to the single matrix.
|
protected |
The single matrix.
|
inline |
|
override |
|
inlineoverridevirtual |
Implements sofa::core::behavior::MultiMatrixAccessor.
|
inlineoverridevirtual |
Implements sofa::core::behavior::MultiMatrixAccessor.
|
inline |
|
inline |
|
overridevirtual |
Implements sofa::core::behavior::MultiMatrixAccessor.
|
overridevirtual |
Implements sofa::core::behavior::MultiMatrixAccessor.
| void sofa::core::behavior::SingleMatrixAccessor::setMatrix | ( | BaseMatrix * | m | ) |