VTK  9.2.6
vtkBezierTriangle.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkBezierTriangle.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=========================================================================*/
33
34#ifndef vtkBezierTriangle_h
35#define vtkBezierTriangle_h
36
37#include "vtkCommonDataModelModule.h" // For export macro
38#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
40
41class vtkDoubleArray;
42class vtkBezierCurve;
43class vtkTriangle;
44class vtkDataSet;
45
46class VTKCOMMONDATAMODEL_EXPORT vtkBezierTriangle : public vtkHigherOrderTriangle
47{
48public:
51
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53 int GetCellType() override { return VTK_BEZIER_TRIANGLE; }
54 vtkCell* GetEdge(int edgeId) override;
56 "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.")
58 int& subId, const vtkIdType point_id, double x[3], double* weights);
60 void InterpolateFunctions(const double pcoords[3], double* weights) override;
61 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
62
64
66
67protected:
69 ~vtkBezierTriangle() override;
70
73
74private:
75 vtkBezierTriangle(const vtkBezierTriangle&) = delete;
76 void operator=(const vtkBezierTriangle&) = delete;
77};
78
79#endif
vtkNew< vtkBezierCurve > EdgeCell
void InterpolateFunctions(const double pcoords[3], double *weights) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetRationalWeightsFromPointData(vtkPointData *point_data, const vtkIdType numPts)
vtkDoubleArray * GetRationalWeights()
void InterpolateDerivs(const double pcoords[3], double *derivs) override
void EvaluateLocationProjectedNode(int &subId, const vtkIdType point_id, double x[3], double *weights)
static vtkBezierTriangle * New()
vtkNew< vtkDoubleArray > RationalWeights
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
int GetCellType() override
Return the type of cell.
vtkHigherOrderCurve * GetEdgeCell() override
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition vtkIndent.h:40
Allocate and hold a VTK object.
Definition vtkNew.h:62
represent and manipulate point attribute data
a cell that represents a triangle
Definition vtkTriangle.h:39
@ VTK_BEZIER_TRIANGLE
#define VTK_DEPRECATED_IN_9_1_0(reason)
int vtkIdType
Definition vtkType.h:332