DGtal
1.1.0
src
DGtal
images
ImageSelector.h
1
17
#pragma once
18
31
#if defined(ImageSelector_RECURSES)
32
#error Recursive header files inclusion detected in ImageSelector.h
33
#else // defined(ImageSelector_RECURSES)
34
35
#define ImageSelector_RECURSES
36
37
#if !defined ImageSelector_h
38
39
#define ImageSelector_h
40
42
// Inclusions
43
#include <iostream>
44
#include "DGtal/base/Common.h"
45
#include "DGtal/base/CLabel.h"
46
#include "DGtal/images/ImageContainerBySTLMap.h"
47
#include "DGtal/images/ImageContainerBySTLVector.h"
48
#include "DGtal/images/ImageContainerByHashTree.h"
50
51
namespace
DGtal
52
{
53
54
enum
ImageIterability
{
HIGH_ITER_IMAGE
= 0 ,
LOW_ITER_I
= 1};
55
enum
ImageBelongTestability
{
HIGH_BEL_I
= 0,
LOW_BEL_I
= 2 };
56
enum
ImageSpecificContainer
{
NORMAL_CONTAINER_I
= 0,
VTKIMAGEDATA_CONTAINER_I
= 4 };
57
59
// template class ImageSelector
65
template
<
typename
Domain,
typename
Value,
int
Preferences = 0 >
66
struct
ImageSelector
67
{
68
69
BOOST_CONCEPT_ASSERT
((
concepts::CLabel<Value>
));
70
71
// ----------------------- Local types ------------------------------
75
typedef
ImageContainerBySTLVector<Domain,Value>
Type
;
76
77
};
78
}
// namespace DGtal
79
81
// Includes inline functions.
82
#include "DGtal/images//ImageSelector.ih"
83
84
// //
86
87
#endif // !defined ImageSelector_h
88
89
#undef ImageSelector_RECURSES
90
#endif // else defined(ImageSelector_RECURSES)
DGtal::LOW_ITER_I
@ LOW_ITER_I
Definition:
ImageSelector.h:54
DGtal::ImageContainerBySTLVector< Domain, Value >
DGtal::ImageSpecificContainer
ImageSpecificContainer
Definition:
ImageSelector.h:56
DGtal::HIGH_BEL_I
@ HIGH_BEL_I
Definition:
ImageSelector.h:55
DGtal::ImageBelongTestability
ImageBelongTestability
Definition:
ImageSelector.h:55
DGtal::ImageSelector::BOOST_CONCEPT_ASSERT
BOOST_CONCEPT_ASSERT((concepts::CLabel< Value >))
DGtal::VTKIMAGEDATA_CONTAINER_I
@ VTKIMAGEDATA_CONTAINER_I
Definition:
ImageSelector.h:56
DGtal::ImageIterability
ImageIterability
Definition:
ImageSelector.h:54
DGtal::LOW_BEL_I
@ LOW_BEL_I
Definition:
ImageSelector.h:55
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition:
ClosedIntegerHalfPlane.h:49
DGtal::NORMAL_CONTAINER_I
@ NORMAL_CONTAINER_I
Definition:
ImageSelector.h:56
DGtal::concepts::CLabel
Aim: Define the concept of DGtal labels. Models of CLabel can be default-constructible,...
Definition:
CLabel.h:93
DGtal::HIGH_ITER_IMAGE
@ HIGH_ITER_IMAGE
Definition:
ImageSelector.h:54
DGtal::ImageSelector
Aim: Automatically defines an adequate image type according to the hints given by the user.
Definition:
ImageSelector.h:67
DGtal::ImageSelector::Type
ImageContainerBySTLVector< Domain, Value > Type
Definition:
ImageSelector.h:75
Generated on Fri Oct 9 2020 08:57:59 for DGtal by
1.8.20