Rumba C++ SDK
Points.h
Go to the documentation of this file.
1
/*
2
3
*
4
***
5
*****
6
********************* Mercenaries Engineering SARL
7
***************** Copyright (C) 2018
8
*************
9
********* http://www.mercenaries-engineering.com
10
***********
11
**** ****
12
** **
13
14
*/
15
#pragma once
16
17
#include "
Value.h
"
18
#include "
SpanSpan.h
"
19
#include "
Buffer.h
"
20
#include "
Shape.h
"
21
22
namespace
maquina
23
{
25
26
class
MAQUINA_EXPORT
Points
:
public
Shape
27
{
28
public
:
29
31
Points
();
32
34
35
Points
(
const
Value
&v);
36
38
BufferV3f
write_points();
39
41
const
BufferConstV3f
read_points()
const
;
42
44
size_t
point_count()
const
;
45
47
Imath::Box3f
bounding_box()
const
;
48
50
51
void
compute_vertex_normals(
BufferV3f
&result)
const
;
52
54
static
const
Points
default_value
;
55
57
Points
(std::shared_ptr<Impl> impl) { _impl=impl; }
58
};
59
}
Shape.h
Imath::Box
Definition:
ImathBox.h:71
maquina::BufferConst< Imath::V3f >
maquina::Shape
A value with geometrical attributes. Base of all shape values.
Definition:
Shape.h:26
maquina
This version of the SDK is unstable, i-e, it may change with no warning.
Definition:
AddCurveAction.h:20
Buffer.h
MAQUINA_EXPORT
#define MAQUINA_EXPORT
Definition:
Export.h:31
maquina::Buffer< Imath::V3f >
SpanSpan.h
maquina::Points::default_value
static const Points default_value
The default value.
Definition:
Points.h:54
maquina::Points
A set of 3d points.
Definition:
Points.h:26
Value.h
maquina::Value
Base class of all Rumba values.
Definition:
Value.h:34
include
Maquina
Points.h
Generated by
doxygen
1.8.14