Rumba C++ SDK
Curves.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 "Points.h"
18 
19  namespace maquina
20  {
22 
23  class MAQUINA_EXPORT Curves : public Points
24  {
25  public:
27  Curves();
28 
30 
33  Curves(
34  const BufferConstV3f& points, //<< The vertices.
35  const BufferConstUInt32& vertex_count //<< The vertex count per curve.
36  );
37 
39 
40  Curves(const Value &v);
41 
43  int curves_count() const;
44 
46  BufferConstUInt32 read_vertex_per_curves() const;
47 
49  static const Curves default_value;
50 
52  Curves(std::shared_ptr<Impl> impl) { _impl=impl; }
53  };
54  }
static const Curves default_value
The default value.
Definition: Curves.h:49
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
A set of 3d points.
Definition: Points.h:25
A mesh value.
Definition: Curves.h:23
Base class of all Rumba values.
Definition: Value.h:34