DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
CTrivialImage.h
1
16
17
#pragma once
18
27
28
#if defined(CConstImageRECURSES)
29
#error Recursive header files inclusion detected in CTrivialImage.h
30
#else
// defined(CConstImageRECURSES)
32
#define CConstImageRECURSES
33
34
#if !defined CTrivialImage_h
36
#define CTrivialImage_h
37
38
#include <boost/concept_check.hpp>
39
#include <boost/concept/assert.hpp>
40
#include <boost/concept/requires.hpp>
41
42
#include "DGtal/images/CTrivialConstImage.h"
43
44
namespace
DGtal
45
{
46
namespace
concepts
47
{
49
// struct CTrivialImage
82
83
template
<
typename
I>
84
struct
CTrivialImage
:
CTrivialConstImage
<I>
85
{
86
87
public
:
88
89
BOOST_CONCEPT_USAGE
(
CTrivialImage
)
90
{
91
myI
.setValue(
myPoint
,
myValue
);
92
}
93
94
private
:
95
I
myI
;
96
typename
I::Point
myPoint
;
97
typename
I::Value
myValue
;
98
99
};
100
}
101
}
// namespace DGtal
102
103
// //
105
106
#endif
// !defined CTrivialImage_h
107
108
#undef CConstImageRECURSES
109
#endif
// else defined(CConstImageRECURSES)
DGtal::concepts
Aim: Gathers several functions useful for concept checks.
Definition
CPositiveIrreducibleFraction.h:54
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::concepts::CTrivialConstImage
Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.
Definition
CTrivialConstImage.h:89
DGtal::concepts::CTrivialImage
Aim: Defines the concept describing an image without extra ranges, which is a refinement of CTrivialC...
Definition
CTrivialImage.h:85
DGtal::concepts::CTrivialImage::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(CTrivialImage)
Definition
CTrivialImage.h:89
DGtal::concepts::CTrivialImage::myValue
I::Value myValue
Definition
CTrivialImage.h:97
DGtal::concepts::CTrivialImage::myI
I myI
Definition
CTrivialImage.h:95
DGtal::concepts::CTrivialImage::myPoint
I::Point myPoint
Definition
CTrivialImage.h:96
src
DGtal
images
CTrivialImage.h
Generated on
for DGtal by
1.18.0