g2o
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MapHessianMemoryK Struct Reference

#include <base_fixed_sized_edge.hpp>

Public Member Functions

template<typename HessianT >
void operator() (HessianT &hessian)
 

Public Attributes

double * d
 
int rows
 
int cols
 

Detailed Description

Helper functor class to construct the Hessian Eigen::Map object. We have to pass the size at runtime to allow dynamically sized verices.

Definition at line 215 of file base_fixed_sized_edge.hpp.

Member Function Documentation

◆ operator()()

template<typename HessianT >
void MapHessianMemoryK::operator() ( HessianT &  hessian)
inline

Definition at line 220 of file base_fixed_sized_edge.hpp.

220 {
221 new (&hessian)
222 typename std::remove_reference<decltype(hessian)>::type(d, rows, cols);
223 }

References cols, d, and rows.

Member Data Documentation

◆ cols

int MapHessianMemoryK::cols

Definition at line 218 of file base_fixed_sized_edge.hpp.

Referenced by operator()().

◆ d

double* MapHessianMemoryK::d

Definition at line 216 of file base_fixed_sized_edge.hpp.

Referenced by operator()().

◆ rows

int MapHessianMemoryK::rows

Definition at line 217 of file base_fixed_sized_edge.hpp.

Referenced by operator()().


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