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

Helper struct to store traversal and go to next leaf. More...

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

Public Member Functions

bool operator== (const TraversalMemory &other) const

Data Fields

Domain domain
CellIndex lvl
CellIndex idx
CellIndex currentChildIdx

Detailed Description

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

Helper struct to store traversal and go to next leaf.

Definition at line 152 of file DigitalSetByOctree.h.

Member Function Documentation

◆ operator==()

template<class Space>
bool DGtal::DigitalSetByOctree< Space >::TraversalMemory::operator== ( const TraversalMemory & other) const
inline

Definition at line 159 of file DigitalSetByOctree.h.

160 {
161 return lvl == other.lvl && idx == other.idx && currentChildIdx == other.currentChildIdx;
162 }
A DigitalSet that stores voxels as an octree, or a DAG.

References currentChildIdx, idx, and lvl.

Field Documentation

◆ currentChildIdx

template<class Space>
CellIndex DGtal::DigitalSetByOctree< Space >::TraversalMemory::currentChildIdx

Definition at line 157 of file DigitalSetByOctree.h.

Referenced by operator==().

◆ domain

template<class Space>
Domain DGtal::DigitalSetByOctree< Space >::TraversalMemory::domain

Definition at line 154 of file DigitalSetByOctree.h.

◆ idx

template<class Space>
CellIndex DGtal::DigitalSetByOctree< Space >::TraversalMemory::idx

Definition at line 156 of file DigitalSetByOctree.h.

Referenced by operator==().

◆ lvl

template<class Space>
CellIndex DGtal::DigitalSetByOctree< Space >::TraversalMemory::lvl

Definition at line 155 of file DigitalSetByOctree.h.

Referenced by operator==().


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