DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types
DGtal::DigitalSetSelector< Domain, Preferences > Struct Template Reference

#include <DigitalSetSelector.h>

Public Types

typedef DigitalSetBySTLSet
< Domain > 
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 HyperRectDomain<Space4> Domain;
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 );

Definition at line 85 of file DigitalSetSelector.h.


Member Typedef Documentation

template<typename Domain, int Preferences>
typedef DigitalSetBySTLSet<Domain> DGtal::DigitalSetSelector< Domain, Preferences >::Type

Adequate digital set representation for the given preferences.

Definition at line 91 of file DigitalSetSelector.h.


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