VTK  9.4.20241222
vtkLagrangeCurve.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3// .NAME vtkLagrangeCurve
4// .SECTION Description
5// .SECTION See Also
6
7#ifndef vtkLagrangeCurve_h
8#define vtkLagrangeCurve_h
9
10#include "vtkCellType.h" // For GetCellType.
11#include "vtkCommonDataModelModule.h" // For export macro
12#include "vtkHigherOrderCurve.h"
13#include "vtkNew.h" // For member variable.
14#include "vtkSmartPointer.h" // For member variable.
15
16VTK_ABI_NAMESPACE_BEGIN
17class vtkCellData;
18class vtkDoubleArray;
19class vtkIdList;
20class vtkLine;
21class vtkPointData;
22class vtkPoints;
23class vtkVector3d;
24class vtkVector3i;
25
26class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeCurve : public vtkHigherOrderCurve
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32 int GetCellType() override { return VTK_LAGRANGE_CURVE; }
33
34 void InterpolateFunctions(const double pcoords[3], double* weights) override;
35 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
36
37protected:
39 int subId, vtkDataArray* scalarsIn = nullptr, vtkDataArray* scalarsOut = nullptr) override;
42
43private:
44 vtkLagrangeCurve(const vtkLagrangeCurve&) = delete;
45 void operator=(const vtkLagrangeCurve&) = delete;
46};
47
48VTK_ABI_NAMESPACE_END
49#endif // vtkLagrangeCurve_h
represent and manipulate cell attribute data
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of double
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
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:132
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:139
@ VTK_LAGRANGE_CURVE