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=========================================================================*/
30
31#ifndef vtkBezierTriangle_h
32#define vtkBezierTriangle_h
33
34#include "vtkCommonDataModelModule.h" // For export macro
35#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
37
38class vtkDoubleArray;
39class vtkBezierCurve;
40class vtkTriangle;
41class vtkDataSet;
42
43class VTKCOMMONDATAMODEL_EXPORT vtkBezierTriangle : public vtkHigherOrderTriangle
44{
45public:
48
49 void PrintSelf(ostream& os, vtkIndent indent) override;
50 int GetCellType() override { return VTK_BEZIER_TRIANGLE; }
51 vtkCell* GetEdge(int edgeId) override;
53 "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.")
55 int& subId, const vtkIdType point_id, double x[3], double* weights);
57 void InterpolateFunctions(const double pcoords[3], double* weights) override;
58 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
59
61
63
64protected:
66 ~vtkBezierTriangle() override;
67
70
71private:
72 vtkBezierTriangle(const vtkBezierTriangle&) = delete;
73 void operator=(const vtkBezierTriangle&) = delete;
74};
75
76#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:57
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition vtkIndent.h:34
Allocate and hold a VTK object.
Definition vtkNew.h:56
represent and manipulate point attribute data
a cell that represents a triangle
Definition vtkTriangle.h:36
@ VTK_BEZIER_TRIANGLE
#define VTK_DEPRECATED_IN_9_1_0(reason)
int vtkIdType
Definition vtkType.h:332