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