Data Structures | Defines | Functions

testDigitalSet.cpp File Reference

#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <string>
#include "DGtal/base/Common.h"
#include "DGtal/kernel/SpaceND.h"
#include "DGtal/kernel/domains/HyperRectDomain.h"
#include "DGtal/kernel/sets/DigitalSetBySTLVector.h"
#include "DGtal/kernel/sets/DigitalSetBySTLSet.h"
#include "DGtal/kernel/sets/DigitalSetSelector.h"
#include "DGtal/kernel/sets/DigitalSetDomain.h"
Include dependency graph for testDigitalSet.cpp:

Data Structures

struct  MyDomainStyleCustomRed

Defines

#define INBLOCK_TEST(x)
#define INBLOCK_TEST2(x, y)

Functions

bool testDigitalSetBoardSnippet ()
template<typename DigitalSetType >
bool testDigitalSet (const typename DigitalSetType::DomainType &domain)
template<typename DigitalDomainType , int props>
bool testDigitalSetSelector (const DigitalDomainType &domain, const std::string &comment)
bool testDigitalSetDraw ()
bool testDigitalSetDomain ()
int main ()

Define Documentation

#define INBLOCK_TEST (   x  ) 
Value:
nbok += ( x ) ? 1 : 0; \
  nb++; \
  trace.info() << "(" << nbok << "/" << nb << ") " \
  << #x << std::endl;

Referenced by testDigitalSetDomain().

#define INBLOCK_TEST2 (   x,
  y 
)
Value:
nbok += ( x ) ? 1 : 0; \
  nb++; \
  trace.info() << "(" << nbok << "/" << nb << ") " \
  << y << std::endl;

Function Documentation

int main (  ) 
template<typename DigitalSetType >
bool testDigitalSet ( const typename DigitalSetType::DomainType &  domain  ) 
bool testDigitalSetBoardSnippet (  ) 
bool testDigitalSetDomain (  ) 
bool testDigitalSetDraw (  ) 
template<typename DigitalDomainType , int props>
bool testDigitalSetSelector ( const DigitalDomainType &  domain,
const std::string &  comment 
)