#include <switchVariableLinear.h>
Public Member Functions | |
SwitchVariableLinear | between (const SwitchVariableLinear &l2, boost::optional< gtsam::Matrix & > H1=boost::none, boost::optional< gtsam::Matrix & > H2=boost::none) const |
SwitchVariableLinear | compose (const SwitchVariableLinear &p) const |
size_t | dim () const |
bool | equals (const SwitchVariableLinear &expected, double tol=1e-5) const |
SwitchVariableLinear | inverse () const |
gtsam::Vector | localCoordinates (const SwitchVariableLinear &t2) const |
void | print (const std::string &name="") const |
SwitchVariableLinear | retract (const gtsam::Vector &v) const |
SwitchVariableLinear () | |
SwitchVariableLinear (double d) | |
double | value () const |
Public Member Functions inherited from rtabmap::DerivedValue< SwitchVariableLinear > | |
virtual boost::shared_ptr< gtsam::Value > | clone () const |
virtual gtsam::Value * | clone_ () const |
virtual void | deallocate_ () const |
virtual bool | equals_ (const gtsam::Value &p, double tol=1e-9) const |
equals implementing generic Value interface More... | |
virtual gtsam::Vector | localCoordinates_ (const gtsam::Value &value2) const |
Generic Value interface version of localCoordinates. More... | |
operator const SwitchVariableLinear & () const | |
Conversion to the derived class. More... | |
operator SwitchVariableLinear & () | |
Conversion to the derived class. More... | |
virtual gtsam::Value & | operator= (const gtsam::Value &rhs) |
Assignment operator. More... | |
virtual gtsam::Value * | retract_ (const gtsam::Vector &delta) const |
Generic Value interface version of retract. More... | |
virtual | ~DerivedValue () |
Public Member Functions inherited from gtsam::Value | |
const ValueType & | cast () const |
virtual std::shared_ptr< Value > | clone () const=0 |
virtual Value * | clone_ () const=0 |
virtual void | deallocate_ () const=0 |
virtual | ~Value () |
Static Public Member Functions | |
static size_t | Dim () |
static SwitchVariableLinear | Expmap (const gtsam::Vector &v) |
static SwitchVariableLinear | identity () |
static gtsam::Vector | Logmap (const SwitchVariableLinear &p) |
Private Attributes | |
double | d_ |
Additional Inherited Members | |
Protected Member Functions inherited from rtabmap::DerivedValue< SwitchVariableLinear > | |
DerivedValue () | |
DerivedValue< SwitchVariableLinear > & | operator= (const DerivedValue< SwitchVariableLinear > &) |
SwitchVariableLinear is a wrapper around double to allow it to be a Lie type
Definition at line 22 of file switchVariableLinear.h.
|
inline |
default constructor
Definition at line 25 of file switchVariableLinear.h.
|
inline |
wrap a double
Definition at line 28 of file switchVariableLinear.h.
|
inline |
between operation
Definition at line 78 of file switchVariableLinear.h.
|
inline |
compose with another object
Definition at line 73 of file switchVariableLinear.h.
|
inlinestatic |
Definition at line 50 of file switchVariableLinear.h.
|
inlinevirtual |
Returns dimensionality of the tangent space
Implements gtsam::Value.
Definition at line 49 of file switchVariableLinear.h.
|
inline |
equality up to tolerance
Definition at line 42 of file switchVariableLinear.h.
|
inlinestatic |
Expmap around identity
Definition at line 99 of file switchVariableLinear.h.
|
inlinestatic |
identity
Definition at line 68 of file switchVariableLinear.h.
|
inline |
invert the object and yield a new one
Definition at line 92 of file switchVariableLinear.h.
|
inline |
Definition at line 63 of file switchVariableLinear.h.
|
inlinestatic |
Logmap around identity - just returns with default cast back
Definition at line 102 of file switchVariableLinear.h.
|
inlinevirtual |
s | optional string naming the object |
Implements gtsam::Value.
Definition at line 37 of file switchVariableLinear.h.
|
inline |
Update the SwitchVariableLinear with a tangent space update
Definition at line 53 of file switchVariableLinear.h.
|
inline |
access the underlying value
Definition at line 34 of file switchVariableLinear.h.
|
private |
Definition at line 105 of file switchVariableLinear.h.