OSVR-Core
|
State type that consists entirely of references to two independent sub-states. More...
#include <AugmentedState.h>
Public Types | |
using | StateTypeA = StateA |
using | StateTypeB = StateB |
using | SquareMatrix = types::SquareMatrix< DIMENSION > |
using | StateVector = types::Vector< DIMENSION > |
Public Member Functions | |
AugmentedState (StateA &a, StateB &b) | |
Constructor. | |
AugmentedState (AugmentedState const &other)=default | |
Copy constructor. | |
AugmentedState (AugmentedState &&other) | |
Move constructor. | |
AugmentedState & | operator= (AugmentedState const &other)=delete |
non-assignable | |
Methods required of State types | |
template<typename Derived > | |
void | setStateVector (Eigen::MatrixBase< Derived > const &state) |
StateVector | stateVector () const |
SquareMatrix | errorCovariance () const |
template<typename Derived > | |
void | setErrorCovariance (Eigen::MatrixBase< Derived > const &P) |
void | postCorrect () |
Access to the components of the state | |
Access the first part of the state | |
StateTypeA & | a () |
StateTypeA const & | a () const |
Access the first part of the state. | |
StateTypeB & | b () |
Access the second part of the state. | |
StateTypeB const & | b () const |
Access the second part of the state. | |
Static Public Attributes | |
static const types::DimensionType | DIM_A |
static const types::DimensionType | DIM_B |
static const types::DimensionType | DIMENSION = DIM_A + DIM_B |
State type that consists entirely of references to two independent sub-states.
|
inline |
template used here to avoid evaluating elements we'll never access to a temporary.
|
inline |
template used here to avoid a temporary
|
static |
|
static |