DGtal 2.1.0
Loading...
Searching...
No Matches
DGtal::DigitalSetByOctree< Space >::ComputationCacheKey Struct Reference

Helper struct for computing local estimators. More...

#include <DGtal/kernel/sets/DigitalSetByOctree.h>

Public Member Functions

bool operator< (const ComputationCacheKey &other) const
 

Data Fields

CellIndex parentLvl
 
CellIndex parentIdx
 
std::vector< DimIndexcode
 

Detailed Description

template<class Space>
struct DGtal::DigitalSetByOctree< Space >::ComputationCacheKey

Helper struct for computing local estimators.

It serves as a cache key to identify a neighborhood:

  • The parent that encloses the whole neighborhood
  • The neighborhood code

Definition at line 135 of file DigitalSetByOctree.h.

Member Function Documentation

◆ operator<()

template<class Space >
bool DGtal::DigitalSetByOctree< Space >::ComputationCacheKey::operator< ( const ComputationCacheKey other) const
inline

Field Documentation

◆ code

template<class Space >
std::vector<DimIndex> DGtal::DigitalSetByOctree< Space >::ComputationCacheKey::code

◆ parentIdx

template<class Space >
CellIndex DGtal::DigitalSetByOctree< Space >::ComputationCacheKey::parentIdx

◆ parentLvl

template<class Space >
CellIndex DGtal::DigitalSetByOctree< Space >::ComputationCacheKey::parentLvl

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