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::DigitalSetSelector< Domain, Preferences > Struct Template Reference

Aim: Automatically defines an adequate digital set type according to the hints given by the user. More...

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

Inheritance diagram for DGtal::DigitalSetSelector< Domain, Preferences >:
[legend]

Public Types

typedef DigitalSetByAssociativeContainer< Domain, std::unordered_set< typename Domain::Point > > Type

Detailed Description

template<typename Domain, int Preferences>
struct DGtal::DigitalSetSelector< Domain, Preferences >

Aim: Automatically defines an adequate digital set type according to the hints given by the user.

Description of template class 'DigitalSetSelector'

typedef SpaceND<int,4> Space4;
typedef Space4::Point Point;
Point a ( { 1, 2, 3 ,4} );
Point b ( { 5, 5, 3 ,5} );
// Domain characterized by points a and b
Domain domain ( a,b );
// Specifies a small point set but with a high variability.
typedef typename DigitalSetSelector
< Domain, SMALL_DS + HIGH_VAR_DS >::Type SpecificSet;
SpecificSet set1( domain );
Aim: Parallelepidec region of a digital space, model of a 'CDomain'.
constexpr int SMALL_DS
constexpr int HIGH_VAR_DS
DigitalSetByAssociativeContainer< Domain, std::unordered_set< typename Domain::Point > > Type
Domain domain
HyperRectDomain< Space > Domain

Definition at line 96 of file DigitalSetSelector.h.

Member Typedef Documentation

◆ Type

template<typename Domain, int Preferences>
typedef DigitalSetByAssociativeContainer<Domain, std::unordered_set< typename Domain::Point> > DGtal::DigitalSetSelector< Domain, Preferences >::Type

Adequate digital set representation for the given preferences.

Examples
topology/3dBorderExtraction.cpp.

Definition at line 102 of file DigitalSetSelector.h.


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