VTK: Views/Infovis/vtkSCurveSpline.h Source File

| VTK 9.3.1

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
26 #ifndef vtkSCurveSpline_h
27 #define vtkSCurveSpline_h
28
29 #include "vtkSpline.h"
30 #include "vtkViewsInfovisModule.h" // For export macro
31
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKVIEWSINFOVIS_EXPORT vtkSCurveSpline : public vtkSpline
34 {
35 public:
36 static vtkSCurveSpline* New();
37
38 vtkTypeMacro(vtkSCurveSpline, vtkSpline);
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
44 void Compute() override;
45
49 double Evaluate(double t) override;
50
54 void DeepCopy(vtkSpline* s) override;
55
56 vtkSetMacro(NodeWeight, double);
57 vtkGetMacro(NodeWeight, double);
58
59 protected:
60 vtkSCurveSpline();
61 ~vtkSCurveSpline() override = default;
62
63 double NodeWeight;
64
65 private:
66 vtkSCurveSpline(const vtkSCurveSpline&) = delete;
67 void operator=(const vtkSCurveSpline&) = delete;
68 };
69
70 VTK_ABI_NAMESPACE_END
71 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkSCurveSpline
computes an interpolating spline using a a SCurve basis.
Definition: vtkSCurveSpline.h:34
vtkSCurveSpline::New
static vtkSCurveSpline * New()
vtkSCurveSpline::NodeWeight
double NodeWeight
Definition: vtkSCurveSpline.h:63
vtkSCurveSpline::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSCurveSpline::vtkSCurveSpline
vtkSCurveSpline()
vtkSCurveSpline::~vtkSCurveSpline
~vtkSCurveSpline() override=default
vtkSCurveSpline::DeepCopy
void DeepCopy(vtkSpline *s) override
Deep copy of SCurve spline data.
vtkSCurveSpline::Evaluate
double Evaluate(double t) override
Evaluate a 1D SCurve spline.
vtkSCurveSpline::Compute
void Compute() override
Compute SCurve Splines for each dependent variable.
vtkSpline
spline abstract class for interpolating splines
Definition: vtkSpline.h:52
vtkSpline.h