VTK  9.2.5
vtkSCurveSpline.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSCurveSpline.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2009 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
52 #ifndef vtkSCurveSpline_h
53 #define vtkSCurveSpline_h
54 
55 #include "vtkSpline.h"
56 #include "vtkViewsInfovisModule.h" // For export macro
57 
58 class VTKVIEWSINFOVIS_EXPORT vtkSCurveSpline : public vtkSpline
59 {
60 public:
61  static vtkSCurveSpline* New();
62 
63  vtkTypeMacro(vtkSCurveSpline, vtkSpline);
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
69  void Compute() override;
70 
74  double Evaluate(double t) override;
75 
79  void DeepCopy(vtkSpline* s) override;
80 
81  vtkSetMacro(NodeWeight, double);
82  vtkGetMacro(NodeWeight, double);
83 
84 protected:
86  ~vtkSCurveSpline() override = default;
87 
88  double NodeWeight;
89 
90 private:
91  vtkSCurveSpline(const vtkSCurveSpline&) = delete;
92  void operator=(const vtkSCurveSpline&) = delete;
93 };
94 
95 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
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:82