DGtal 1.3.0
Loading...
Searching...
No Matches
Public Types
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>

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'.
DigitalSetByAssociativeContainer< Domain, std::unordered_set< typename Domain::Point > > Type
MyPointD Point
Definition: testClone2.cpp:383
Domain domain
HyperRectDomain< Space > Domain

Definition at line 88 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.

Definition at line 94 of file DigitalSetSelector.h.


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