2#include <NDEVR/Model.h>
3#include <NDEVR/SplineType.h>
4#include <NDEVR/ApplicationOptions.h>
12 class NDEVR_DESIGN_API SplineModel :
public Model
19 SplineModel(
const Model& model);
25 void setPoints(
const Buffer<Vertex<3, fltp08>>& spline);
31 Buffer<Vertex<3, fltp08>> points()
const;
37 void setSplineType(
const SplineType& spline);
49 void setInterpolationSegments(uint04 segments);
55 uint04 interpolationSegments()
const;
57 static ApplicationOption<uint04> default_interpolation_segments;
58 static ApplicationOption<SplineType> default_spline_type;
64 static constexpr StringView TypeName() {
return "spline"; }
A core class that represents a node on model hierarchy.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
SplineType
Defines the type of interpolation used for a spline curve.