VTK
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  -------------------------------------------------------------------------*/
33 #ifndef vtkSCurveSpline_h
34 #define vtkSCurveSpline_h
35 
36 #include "vtkViewsInfovisModule.h" // For export macro
37 #include "vtkSpline.h"
38 
39 class VTKVIEWSINFOVIS_EXPORT vtkSCurveSpline : public vtkSpline
40 {
41 public:
42  static vtkSCurveSpline *New();
43 
44  vtkTypeMacro(vtkSCurveSpline,vtkSpline);
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
50  void Compute ();
51 
55  virtual double Evaluate (double t);
56 
60  virtual void DeepCopy(vtkSpline *s);
61 
62  vtkSetMacro(NodeWeight,double);
63  vtkGetMacro(NodeWeight,double);
64 protected:
67 
68  double NodeWeight;
69 
70 private:
71  vtkSCurveSpline(const vtkSCurveSpline&) VTK_DELETE_FUNCTION;
72  void operator=(const vtkSCurveSpline&) VTK_DELETE_FUNCTION;
73 };
74 
75 #endif
a simple class to control print indentation
Definition: vtkIndent.h:40
computes an interpolating spline using a a SCurve basis.
static vtkSCurveSpline * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Compute()
Compute SCurve Splines for each dependent variable.
virtual double Evaluate(double t)
Evaluate a 1D SCurve spline.
virtual void DeepCopy(vtkSpline *s)
Deep copy of SCurve spline data.
spline abstract class for interpolating splines
Definition: vtkSpline.h:63
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.