SpherePrimitiveShapeConstructor.h
Go to the documentation of this file.
1
#ifndef SPHEREPRIMITIVESHAPECONSTRUCTOR_HEADER
2
#define SPHEREPRIMITIVESHAPECONSTRUCTOR_HEADER
3
#include "
PrimitiveShapeConstructor.h
"
4
#include <limits>
5
6
#ifndef DLL_LINKAGE
7
#define DLL_LINKAGE
8
#endif
9
10
class
DLL_LINKAGE
SpherePrimitiveShapeConstructor
11
:
public
PrimitiveShapeConstructor
12
{
13
public
:
14
SpherePrimitiveShapeConstructor
(
float
maxSphereRadius =
15
std::numeric_limits< float >::infinity());
16
size_t
Identifier
()
const
;
17
unsigned
int
RequiredSamples
()
const
;
18
PrimitiveShape
*
Construct
(
const
MiscLib::Vector< Vec3f >
& points,
19
const
MiscLib::Vector< Vec3f >
& normals)
const
;
20
PrimitiveShape
*
Construct
(
const
MiscLib::Vector< Vec3f >
& samples)
const
;
21
PrimitiveShape
*
Deserialize
(std::istream* i,
bool
binary =
true
)
const
;
22
size_t
SerializedSize
()
const
;
23
24
private
:
25
float
m_maxSphereRadius;
26
};
27
28
#endif
SpherePrimitiveShapeConstructor
Definition:
SpherePrimitiveShapeConstructor.h:10
PrimitiveShapeConstructor.h
PrimitiveShapeConstructor::Identifier
virtual size_t Identifier() const =0
PrimitiveShape
PrimtiveShape is a shape primitive in conjunction with a parametrization.
Definition:
PrimitiveShape.h:32
PrimitiveShapeConstructor::Deserialize
virtual PrimitiveShape * Deserialize(std::istream *i, bool binary=true) const =0
MiscLib::Vector
Definition:
Vector.h:19
PrimitiveShapeConstructor::Construct
virtual PrimitiveShape * Construct(const MiscLib::Vector< Vec3f > &points, const MiscLib::Vector< Vec3f > &normals) const =0
PrimitiveShapeConstructor
Definition:
PrimitiveShapeConstructor.h:22
PrimitiveShapeConstructor::SerializedSize
virtual size_t SerializedSize() const =0
PrimitiveShapeConstructor::RequiredSamples
virtual unsigned int RequiredSamples() const =0
DLL_LINKAGE
#define DLL_LINKAGE
Definition:
basic.h:11
VisionX
components
pointcloud_processor
EfficientRANSACPrimitiveExtractor
EfficientRANSAC
SpherePrimitiveShapeConstructor.h
Generated on Sat Oct 12 2024 09:14:17 for armarx_documentation by
1.8.17