AAPlane.h
Go to the documentation of this file.
1
#ifndef __GfxTL__AAPLANE_HEADER__
2
#define __GfxTL__AAPLANE_HEADER__
3
4
namespace
GfxTL
5
{
6
template
<
class
Po
int
T>
7
class
AAPlane
8
{
9
public
:
10
typedef
PointT
PointType
;
11
typedef
typename
PointType::ScalarType
ScalarType
;
12
13
AAPlane
();
14
AAPlane
(
unsigned
int
axis,
ScalarType
value
);
15
AAPlane
(
unsigned
int
axis,
const
PointType
& p);
16
inline
ScalarType
operator()
(
const
PointType
& p)
const
;
17
void
Set
(
unsigned
int
axis,
ScalarType
value
);
18
inline
unsigned
int
Axis
()
const
;
19
inline
ScalarType
Value
()
const
;
20
void
Value
(
ScalarType
v
);
21
22
private
:
23
unsigned
int
_axis;
24
ScalarType
_value;
25
};
26
27
template
<
class
Po
int
T>
28
typename
AAPlane<PointT>::ScalarType
29
AAPlane<PointT>::operator()
(
const
PointType
& p)
const
30
{
31
return
p[_axis] - _value;
32
}
33
34
template
<
class
Po
int
T>
35
unsigned
int
36
AAPlane<PointT>::Axis
()
const
37
{
38
return
_axis;
39
}
40
41
template
<
class
Po
int
T>
42
typename
AAPlane<PointT>::ScalarType
43
AAPlane<PointT>::Value
()
const
44
{
45
return
_value;
46
}
47
48
template
<
class
Po
int
T>
49
void
50
AAPlane<PointT>::Value
(
ScalarType
v
)
51
{
52
_value =
v
;
53
}
54
};
// namespace GfxTL
55
56
#include "
AAPlane.hpp
"
57
58
#endif
GfxTL::AAPlane::AAPlane
AAPlane()
Definition:
AAPlane.hpp:5
GfxTL::AAPlane::operator()
ScalarType operator()(const PointType &p) const
Definition:
AAPlane.h:29
GfxTL::AAPlane::Axis
unsigned int Axis() const
Definition:
AAPlane.h:36
AAPlane.hpp
cxxopts::value
std::shared_ptr< Value > value()
Definition:
cxxopts.hpp:855
GfxTL::AAPlane::ScalarType
PointType::ScalarType ScalarType
Definition:
AAPlane.h:11
GfxTL::AAPlane
Definition:
AAPlane.h:7
GfxTL::AAPlane::Value
ScalarType Value() const
Definition:
AAPlane.h:43
armarx::PointT
pcl::PointXYZRGBL PointT
Definition:
Common.h:30
GfxTL
Definition:
AABox.h:9
GfxTL::AAPlane::PointType
PointT PointType
Definition:
AAPlane.h:10
armarx::ctrlutil::v
double v(double t, double v0, double a0, double j)
Definition:
CtrlUtil.h:39
GfxTL::AAPlane::Set
void Set(unsigned int axis, ScalarType value)
Definition:
AAPlane.hpp:21
VisionX
components
pointcloud_processor
EfficientRANSACPrimitiveExtractor
EfficientRANSAC
GfxTL
AAPlane.h
Generated on Sat Apr 12 2025 09:13:44 for armarx_documentation by
1.8.17