VTK  9.3.0
vtkSCurveSpline.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17#ifndef vtkSCurveSpline_h
18#define vtkSCurveSpline_h
19
20#include "vtkSpline.h"
21#include "vtkViewsInfovisModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKVIEWSINFOVIS_EXPORT vtkSCurveSpline : public vtkSpline
25{
26public:
28
29 vtkTypeMacro(vtkSCurveSpline, vtkSpline);
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
35 void Compute() override;
36
40 double Evaluate(double t) override;
41
45 void DeepCopy(vtkSpline* s) override;
46
47 vtkSetMacro(NodeWeight, double);
48 vtkGetMacro(NodeWeight, double);
49
50protected:
52 ~vtkSCurveSpline() override = default;
53
54 double NodeWeight;
55
56private:
57 vtkSCurveSpline(const vtkSCurveSpline&) = delete;
58 void operator=(const vtkSCurveSpline&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a simple class to control print indentation
Definition vtkIndent.h:29
computes an interpolating spline using a a SCurve basis.
static vtkSCurveSpline * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkSCurveSpline() override=default
void DeepCopy(vtkSpline *s) override
Deep copy of SCurve spline data.
double Evaluate(double t) override
Evaluate a 1D SCurve spline.
void Compute() override
Compute SCurve Splines for each dependent variable.
spline abstract class for interpolating splines
Definition vtkSpline.h:52