DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
PlaneProbingHNeighborhood.h
1
16
17
#pragma once
18
30
31
#if defined(PlaneProbingHNeighborhood_RECURSES)
32
#error Recursive header files inclusion detected in PlaneProbingHNeighborhood.h
33
#else
// defined(PlaneProbingHNeighborhood_RECURSES)
35
#define PlaneProbingHNeighborhood_RECURSES
36
37
#if !defined PlaneProbingHNeighborhood_h
39
#define PlaneProbingHNeighborhood_h
40
42
// Inclusions
43
#include <iostream>
44
#include "DGtal/base/Common.h"
45
#include "DGtal/geometry/helpers/PlaneProbingEstimatorHelper.h"
46
#include "DGtal/geometry/surfaces/estimation/PlaneProbingNeighborhood.h"
47
#include "DGtal/kernel/CPointPredicate.h"
49
50
namespace
DGtal
51
{
52
54
// template class PlaneProbingHNeighborhood
61
template
<
typename
TPredicate>
62
class
PlaneProbingHNeighborhood
:
public
PlaneProbingNeighborhood
<TPredicate>
63
{
64
BOOST_CONCEPT_ASSERT
((
concepts::CPointPredicate<TPredicate>
));
65
66
// ----------------------- Public types ------------------------------
67
public
:
68
using
Predicate
= TPredicate;
69
using
Point
=
typename
TPredicate::Point;
70
using
Triangle
=
typename
PlaneProbingNeighborhood<TPredicate>::Triangle
;
71
using
PointOnProbingRay
=
typename
PlaneProbingNeighborhood<TPredicate>::PointOnProbingRay
;
72
using
HexagonState
=
typename
PlaneProbingNeighborhood<TPredicate>::HexagonState
;
73
74
// ----------------------- Standard services ------------------------------
75
public
:
79
PlaneProbingHNeighborhood
() =
delete
;
80
88
PlaneProbingHNeighborhood
(
Predicate
const
& aPredicate,
Point
const
& aQ,
Triangle
const
& aM);
89
93
~PlaneProbingHNeighborhood
();
94
99
PlaneProbingHNeighborhood
(
const
PlaneProbingHNeighborhood
& other ) =
delete
;
100
105
PlaneProbingHNeighborhood
(
PlaneProbingHNeighborhood
&& other ) =
delete
;
106
112
PlaneProbingHNeighborhood
&
operator=
(
const
PlaneProbingHNeighborhood
& other ) =
delete
;
113
119
PlaneProbingHNeighborhood
&
operator=
(
PlaneProbingHNeighborhood
&& other ) =
delete
;
120
121
// ----------------------- Plane Probing services ------------------------------
122
public
:
123
virtual
HexagonState
hexagonState
()
override
;
124
125
// ----------------------- Interface --------------------------------------
126
public
:
127
132
void
selfDisplay
( std::ostream & out )
const
;
133
138
bool
isValid
()
const
;
139
140
// ------------------------- Protected Data ------------------------------
141
protected
:
142
143
// ------------------------- Private Data --------------------------------
144
private
:
145
146
// ------------------------- Hidden services ------------------------------
147
protected
:
148
149
// ------------------------- Internals ------------------------------------
150
private
:
151
152
};
// end of class PlaneProbingHNeighborhood
153
154
161
template
<
typename
TPredicate>
162
std::ostream&
163
operator<<
( std::ostream & out,
const
PlaneProbingHNeighborhood<TPredicate>
&
object
);
164
165
}
// namespace DGtal
166
167
169
// Includes inline functions.
170
#include "DGtal/geometry/surfaces/estimation/PlaneProbingHNeighborhood.ih"
171
172
// //
174
175
#endif
// !defined PlaneProbingHNeighborhood_h
176
177
#undef PlaneProbingHNeighborhood_RECURSES
178
#endif
// else defined(PlaneProbingHNeighborhood_RECURSES)
DGtal::PlaneProbingHNeighborhood
Aim: Represent a way to probe the H-neighborhood.
Definition
PlaneProbingHNeighborhood.h:63
DGtal::PlaneProbingHNeighborhood::Triangle
typename PlaneProbingNeighborhood< TPredicate >::Triangle Triangle
Definition
PlaneProbingHNeighborhood.h:70
DGtal::PlaneProbingHNeighborhood::PlaneProbingHNeighborhood
PlaneProbingHNeighborhood()=delete
DGtal::PlaneProbingHNeighborhood::operator=
PlaneProbingHNeighborhood & operator=(const PlaneProbingHNeighborhood &other)=delete
DGtal::PlaneProbingHNeighborhood::~PlaneProbingHNeighborhood
~PlaneProbingHNeighborhood()
DGtal::PlaneProbingHNeighborhood::BOOST_CONCEPT_ASSERT
BOOST_CONCEPT_ASSERT((concepts::CPointPredicate< TPredicate >))
DGtal::PlaneProbingHNeighborhood::hexagonState
virtual HexagonState hexagonState() override
DGtal::PlaneProbingHNeighborhood::selfDisplay
void selfDisplay(std::ostream &out) const
DGtal::PlaneProbingHNeighborhood::Point
typename TPredicate::Point Point
Definition
PlaneProbingHNeighborhood.h:69
DGtal::PlaneProbingHNeighborhood::PointOnProbingRay
typename PlaneProbingNeighborhood< TPredicate >::PointOnProbingRay PointOnProbingRay
Definition
PlaneProbingHNeighborhood.h:71
DGtal::PlaneProbingHNeighborhood::PlaneProbingHNeighborhood
PlaneProbingHNeighborhood(Predicate const &aPredicate, Point const &aQ, Triangle const &aM)
DGtal::PlaneProbingHNeighborhood::HexagonState
typename PlaneProbingNeighborhood< TPredicate >::HexagonState HexagonState
Definition
PlaneProbingHNeighborhood.h:72
DGtal::PlaneProbingHNeighborhood::Predicate
TPredicate Predicate
Definition
PlaneProbingHNeighborhood.h:68
DGtal::PlaneProbingHNeighborhood::isValid
bool isValid() const
DGtal::PlaneProbingHNeighborhood::PlaneProbingHNeighborhood
PlaneProbingHNeighborhood(const PlaneProbingHNeighborhood &other)=delete
DGtal::PlaneProbingHNeighborhood::PlaneProbingHNeighborhood
PlaneProbingHNeighborhood(PlaneProbingHNeighborhood &&other)=delete
DGtal::PlaneProbingNeighborhood::PointOnProbingRay
detail::PointOnProbingRay< Integer, Index > PointOnProbingRay
Definition
PlaneProbingNeighborhood.h:77
DGtal::PlaneProbingNeighborhood::Triangle
std::array< Vector, 3 > Triangle
Definition
PlaneProbingNeighborhood.h:75
DGtal::PlaneProbingNeighborhood::PlaneProbingNeighborhood
PlaneProbingNeighborhood()=delete
DGtal::PlaneProbingNeighborhood::HexagonState
HexagonState
Definition
PlaneProbingNeighborhood.h:83
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::concepts::CPointPredicate
Aim: Defines a predicate on a point.
Definition
CPointPredicate.h:81
src
DGtal
geometry
surfaces
estimation
PlaneProbingHNeighborhood.h
Generated on
for DGtal by
1.18.0