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 #include "SpanSpan.h"
19 
20  namespace maquina
21  {
23 
24  class MAQUINA_EXPORT Curves : public Points
25  {
26  public:
28  Curves();
29 
31 
34  Curves(
35  const BufferConstV3f& points, //<< The vertices.
36  const BufferConstUInt32& vertex_count //<< The vertex count per curve.
37  );
38 
40 
41  Curves(const Value &v);
42 
44  int curves_count() const;
45 
47  BufferConstUInt32 read_vertex_per_curves() const;
48 
50  static const Curves default_value;
51 
53  Curves(std::shared_ptr<Impl> impl) { _impl=impl; }
54  };
55  }
static const Curves default_value
The default value.
Definition: Curves.h:50
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:26
A mesh value.
Definition: Curves.h:24
Base class of all Rumba values.
Definition: Value.h:34