VTK  9.1.0
vtkLagrangeCurve.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkLagrangeCurve.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// .NAME vtkLagrangeCurve
16// .SECTION Description
17// .SECTION See Also
18
19#ifndef vtkLagrangeCurve_h
20#define vtkLagrangeCurve_h
21
22#include "vtkCellType.h" // For GetCellType.
23#include "vtkCommonDataModelModule.h" // For export macro
24#include "vtkHigherOrderCurve.h"
25#include "vtkNew.h" // For member variable.
26#include "vtkSmartPointer.h" // For member variable.
27
28class vtkCellData;
29class vtkDoubleArray;
30class vtkIdList;
31class vtkLine;
32class vtkPointData;
33class vtkPoints;
34class vtkVector3d;
35class vtkVector3i;
36
37class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeCurve : public vtkHigherOrderCurve
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43 int GetCellType() override { return VTK_LAGRANGE_CURVE; }
44
45 void InterpolateFunctions(const double pcoords[3], double* weights) override;
46 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
47
48protected:
50 int subId, vtkDataArray* scalarsIn = nullptr, vtkDataArray* scalarsOut = nullptr) override;
53
54private:
55 vtkLagrangeCurve(const vtkLagrangeCurve&) = delete;
56 void operator=(const vtkLagrangeCurve&) = delete;
57};
58
59#endif // vtkLagrangeCurve_h
represent and manipulate cell attribute data
Definition: vtkCellData.h:142
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
dynamic, self-adjusting array of double
list of point or cell ids
Definition: vtkIdList.h:140
a simple class to control print indentation
Definition: vtkIndent.h:113
static vtkLagrangeCurve * New()
~vtkLagrangeCurve() override
void InterpolateDerivs(const double pcoords[3], double *derivs) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLine * GetApproximateLine(int subId, vtkDataArray *scalarsIn=nullptr, vtkDataArray *scalarsOut=nullptr) override
int GetCellType() override
Return the type of cell.
void InterpolateFunctions(const double pcoords[3], double *weights) override
cell represents a 1D line
Definition: vtkLine.h:140
represent and manipulate point attribute data
Definition: vtkPointData.h:142
represent and manipulate 3D points
Definition: vtkPoints.h:143
@ VTK_LAGRANGE_CURVE
Definition: vtkCellType.h:149