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  -------------------------------------------------------------------------*/
32 #ifndef vtkSCurveSpline_h
33 #define vtkSCurveSpline_h
34 
35 #include "vtkViewsInfovisModule.h" // For export macro
36 #include "vtkSpline.h"
37 
39 {
40 public:
41  static vtkSCurveSpline *New();
42 
43  vtkTypeMacro(vtkSCurveSpline,vtkSpline);
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47  void Compute ();
48 
50  virtual double Evaluate (double t);
51 
53  virtual void DeepCopy(vtkSpline *s);
54 
55  vtkSetMacro(NodeWeight,double);
56  vtkGetMacro(NodeWeight,double);
57 protected:
60 
61  double NodeWeight;
62 
63 private:
64  vtkSCurveSpline(const vtkSCurveSpline&); // Not implemented.
65  void operator=(const vtkSCurveSpline&); // Not implemented.
66 };
67 
68 #endif
virtual double Evaluate(double t)=0
a simple class to control print indentation
Definition: vtkIndent.h:38
spline abstract class for interpolating splines
Definition: vtkSpline.h:61
void PrintSelf(ostream &os, vtkIndent indent)
virtual void DeepCopy(vtkSpline *s)
virtual void Compute()=0
static vtkObject * New()
#define VTKVIEWSINFOVIS_EXPORT
computes an interpolating spline using a a SCurve basis.