g2o
Loading...
Searching...
No Matches
Public Member Functions | List of all members
g2o::EstimateAccessor< Edge > Struct Template Reference

#include <auto_differentiation.h>

Public Member Functions

template<int k>
EIGEN_STRONG_INLINE double * data (Edge *that)
 

Detailed Description

template<typename Edge>
struct g2o::EstimateAccessor< Edge >

functor object to access the estimate data of an edge. Here, we call estimate().data() on each vertex to obtain the raw pointer.

Definition at line 46 of file auto_differentiation.h.

Member Function Documentation

◆ data()

template<typename Edge >
template<int k>
EIGEN_STRONG_INLINE double * g2o::EstimateAccessor< Edge >::data ( Edge *  that)
inline

Definition at line 48 of file auto_differentiation.h.

48 {
49 return const_cast<double*>(that->template vertexXn<k>()->estimate().data());
50 }

The documentation for this struct was generated from the following file: