OSSIA
Open Scenario System for Interactive Application
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
curve_abstract.hpp
Go to the documentation of this file.
1#pragma once
2#include <ossia/detail/config.hpp>
3
4#include <memory>
5#include <utility>
9namespace ossia
10{
18{
19 INT,
20 FLOAT,
21 DOUBLE,
22 BOOL,
23 INT64,
24 ANY
25};
32using curve_type = std::pair<ossia::curve_segment_type, ossia::curve_segment_type>;
33
41class OSSIA_EXPORT curve_abstract
42{
43public:
44 virtual ~curve_abstract();
45
47 [[nodiscard]] virtual curve_type get_type() const = 0;
48
51 virtual void reset() = 0;
52};
53
54using curve_ptr = std::shared_ptr<ossia::curve_abstract>;
55}
The curve_abstract class.
Definition curve_abstract.hpp:42
virtual void reset()=0
Clear internal data structures of the curve.
virtual curve_type get_type() const =0
get the type of both coordinates
Definition git_info.h:7
curve_segment_type
The curve_segment_type enum.
Definition curve_abstract.hpp:18