VMTK
Loading...
Searching...
No Matches
vtkvmtkCardinalSpline.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 Portions of this code are covered under the ITK copyright.
13 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm
14 for details.
15
16 This software is distributed WITHOUT ANY WARRANTY; without even
17 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18 PURPOSE. See the above copyright notices for more information.
19
20=========================================================================*/
21
36
37#ifndef __vtkvmtkCardinalSpline_h
38#define __vtkvmtkCardinalSpline_h
39
40#include "vtkCardinalSpline.h"
41#include "vtkvmtkWin32Header.h"
42
43class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkCardinalSpline : public vtkCardinalSpline
44{
45public:
47
48 vtkTypeMacro(vtkvmtkCardinalSpline,vtkCardinalSpline);
49 void PrintSelf(std::ostream& os, vtkIndent indent) override;
50
56 virtual double EvaluateDerivative(double t);
57
63 virtual double EvaluateSecondDerivative(double t);
64
71 virtual void EvaluateValueAndDerivatives(double t, double valueAndDerivatives[3]);
72
73protected:
76
77private:
78 vtkvmtkCardinalSpline(const vtkvmtkCardinalSpline&); // Not implemented.
79 void operator=(const vtkvmtkCardinalSpline&); // Not implemented.
80};
81
82#endif
83
Extends vtkCardinalSpline with methods to evaluate the spline's first derivative, second derivative,...
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual double EvaluateDerivative(double t)
virtual double EvaluateSecondDerivative(double t)
static vtkvmtkCardinalSpline * New()
virtual void EvaluateValueAndDerivatives(double t, double valueAndDerivatives[3])