DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
SurfelAdjacency.h
1
16
17
#pragma once
18
30
31
#if defined(SurfelAdjacency_RECURSES)
32
#error Recursive header files inclusion detected in SurfelAdjacency.h
33
#else
// defined(SurfelAdjacency_RECURSES)
35
#define SurfelAdjacency_RECURSES
36
37
#if !defined SurfelAdjacency_h
39
#define SurfelAdjacency_h
40
42
// Inclusions
43
#include <iostream>
44
#include <boost/array.hpp>
45
46
#include "DGtal/base/Common.h"
48
49
namespace
DGtal
50
{
51
53
// class SurfelAdjacency
64
template
<Dimension dim>
65
class
SurfelAdjacency
66
{
67
// ----------------------- Standard services ------------------------------
68
public
:
69
73
~SurfelAdjacency
();
74
84
SurfelAdjacency
(
bool
int2ext );
85
90
SurfelAdjacency
(
const
SurfelAdjacency
& other );
91
97
SurfelAdjacency
&
operator=
(
const
SurfelAdjacency
& other );
98
109
void
setAdjacency
(
Dimension
i,
Dimension
j,
bool
int2ext );
110
122
bool
getAdjacency
(
Dimension
i,
Dimension
j )
const
;
123
124
// ----------------------- Interface --------------------------------------
125
public
:
126
131
void
selfDisplay
( std::ostream & out )
const
;
132
137
bool
isValid
()
const
;
138
139
// ------------------------- Private Data --------------------------------
140
private
:
141
147
boost::array<bool, dim*dim>
myInt2Ext
;
148
149
// ------------------------- Hidden services ------------------------------
150
protected
:
151
152
153
// ------------------------- Internals ------------------------------------
154
private
:
155
156
};
// end of class SurfelAdjacency
157
158
165
template
<Dimension dim>
166
std::ostream&
167
operator<<
( std::ostream & out,
const
SurfelAdjacency<dim>
&
object
);
168
169
170
}
// namespace DGtal
171
172
174
// Includes inline functions.
175
#include "DGtal/topology/SurfelAdjacency.ih"
176
177
// //
179
180
#endif
// !defined SurfelAdjacency_h
181
182
#undef SurfelAdjacency_RECURSES
183
#endif
// else defined(SurfelAdjacency_RECURSES)
DGtal::SurfelAdjacency
Aim: Represent adjacencies between surfel elements, telling if it follows an interior to exterior ord...
Definition
SurfelAdjacency.h:66
DGtal::SurfelAdjacency::isValid
bool isValid() const
DGtal::SurfelAdjacency::SurfelAdjacency
SurfelAdjacency(const SurfelAdjacency &other)
DGtal::SurfelAdjacency::SurfelAdjacency
SurfelAdjacency(bool int2ext)
DGtal::SurfelAdjacency::operator=
SurfelAdjacency & operator=(const SurfelAdjacency &other)
DGtal::SurfelAdjacency::setAdjacency
void setAdjacency(Dimension i, Dimension j, bool int2ext)
DGtal::SurfelAdjacency< KSpace::dimension >::myInt2Ext
boost::array< bool, dim *dim > myInt2Ext
Definition
SurfelAdjacency.h:147
DGtal::SurfelAdjacency::~SurfelAdjacency
~SurfelAdjacency()
DGtal::SurfelAdjacency::getAdjacency
bool getAdjacency(Dimension i, Dimension j) const
DGtal::SurfelAdjacency::selfDisplay
void selfDisplay(std::ostream &out) const
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
DGtal::operator<<
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
DGtal::Dimension
DGtal::uint32_t Dimension
Definition
Common.h:119
src
DGtal
topology
SurfelAdjacency.h
Generated on
for DGtal by
1.18.0