File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
DGtal::CubicalCellData Struct Reference

#include <DGtal/topology/CubicalComplex.h>

Public Member Functions

 CubicalCellData ()
 CubicalCellData (uint32_t d)

Data Fields

uint32_t data

Detailed Description

Any cell is stored within a cubical complex with an associated data. You may define your own associated data but the type must derive from this class CubicalCellData. Its basic usage is to store flags associated to the cells, but it may store other values.

Note
Predefined flags are CubicalComplex::REMOVED, CubicalComplex::COLLAPSIBLE, CubicalComplex::FIXED, CubicalComplex::USER1. Other bits can be used to associate an integer to the cell. The corresponding mask is CubicalComplex::VALUE.
Such data is notably used in collapse operation (CubicalComplex::collapse).

Definition at line 76 of file CubicalComplex.h.

Constructor & Destructor Documentation

◆ CubicalCellData() [1/2]

DGtal::CubicalCellData::CubicalCellData ( )
inline

Definition at line 77 of file CubicalComplex.h.

77: data( 0 ) {}

References data.

◆ CubicalCellData() [2/2]

DGtal::CubicalCellData::CubicalCellData ( uint32_t d)
inline

Definition at line 78 of file CubicalComplex.h.

78: data( d ) {}

References data.

Field Documentation

◆ data

uint32_t DGtal::CubicalCellData::data

Definition at line 79 of file CubicalComplex.h.

Referenced by CubicalCellData(), and CubicalCellData().


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