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 <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> Space4Type;
   typedef HyperRectDomain<Space4Type> DomainType;
   typedef Space4Type::Point Point;
   Point a ( { 1, 2, 3 ,4} );
   Point b ( { 5, 5, 3 ,5} );
   // Domain characterized by points a and b
   DomainType domain ( a,b );
   // Specifies a small point set but with a high variability.
   typedef typename DigitalSetSelector
     < DomainType, SMALL_DS + HIGH_VAR_DS >::Type SpecificSet; 
   SpecificSet set1( domain );

Member Typedef Documentation

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

Adequate digital set representation for the given preferences.


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