#include <VecId.h>
Identify any vector stored in State. More...
Identify any vector stored in State.
Public Member Functions | |
TVecId () | |
TVecId (VecType t, unsigned int i) | |
template<VecType vtype2, VecAccess vaccess2> | |
TVecId (const TVecId< vtype2, vaccess2 > &v) | |
template<VecType vtype2, VecAccess vaccess2> | |
TVecId< V_ALL, vaccess > & | operator= (const TVecId< vtype2, vaccess2 > &other) |
template<VecType vtype2, VecAccess vaccess2> | |
bool | operator== (const TVecId< vtype2, vaccess2 > &v) const |
template<VecType vtype2, VecAccess vaccess2> | |
bool | operator!= (const TVecId< vtype2, vaccess2 > &v) const |
bool | isNull () const |
std::string | getName () const |
std::string | getGroup () const |
Public Member Functions inherited from sofa::core::BaseVecId | |
VecType | getType () const |
unsigned int | getIndex () const |
Static Public Member Functions | |
static TVecId | null () |
Static Public Member Functions inherited from sofa::core::TStandardVec< V_ALL, vaccess > | |
static unsigned int | getFirstDynamicIndex (VecType t) |
static std::string | getName (const MyVecId &v) |
Static Public Member Functions inherited from sofa::core::TStandardVec< V_COORD, vaccess > | |
static MyVecId | position () |
static MyVecId | restPosition () |
static MyVecId | freePosition () |
static MyVecId | resetPosition () |
static std::string | getName (const MyVecId &v) |
static std::string | getGroup (const MyVecId &v) |
Static Public Member Functions inherited from sofa::core::TStandardVec< V_DERIV, vaccess > | |
static MyVecId | velocity () |
static MyVecId | resetVelocity () |
static MyVecId | freeVelocity () |
static MyVecId | normal () |
static MyVecId | force () |
static MyVecId | externalForce () |
static MyVecId | dx () |
static MyVecId | dforce () |
static std::string | getName (const MyVecId &v) |
static std::string | getGroup (const MyVecId &v) |
Static Public Member Functions inherited from sofa::core::TStandardVec< V_MATDERIV, vaccess > | |
static MyVecId | constraintJacobian () |
static MyVecId | mappingJacobian () |
static std::string | getName (const MyVecId &v) |
static std::string | getGroup (const MyVecId &v) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const TVecId &v) |
Additional Inherited Members | |
Public Attributes inherited from sofa::core::BaseVecId | |
VecType | type |
unsigned int | index |
Protected Member Functions inherited from sofa::core::BaseVecId | |
BaseVecId (VecType t, unsigned int i) | |
|
inline |
|
inline |
|
inline |
Create a generic VecId from a specific or generic one, with the constraint that the access must be compatible (i.e. cannot create a write-access VecId from a read-only VecId.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |