VTK  9.2.6
vtkBezierTetra.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkBezierTetra.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 vtkBezierTetra_h
35#define vtkBezierTetra_h
36
37#include "vtkCommonDataModelModule.h" // For export macro
38#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_1_0
39#include "vtkHigherOrderTetra.h"
40
41class vtkTetra;
42class vtkBezierCurve;
44class vtkDoubleArray;
45class vtkDataSet;
46
47class VTKCOMMONDATAMODEL_EXPORT vtkBezierTetra : public vtkHigherOrderTetra
48{
49public:
52
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54 int GetCellType() override { return VTK_BEZIER_TETRAHEDRON; }
55 vtkCell* GetEdge(int edgeId) override;
56 vtkCell* GetFace(int faceId) override;
58 "EvaluateLocationProjectedNode is deprecated, use instead EvaluateLocation.")
60 int& subId, const vtkIdType point_id, double x[3], double* weights);
62 void InterpolateFunctions(const double pcoords[3], double* weights) override;
63 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
64
67
69
70protected:
72 ~vtkBezierTetra() override;
76
77private:
78 vtkBezierTetra(const vtkBezierTetra&) = delete;
79 void operator=(const vtkBezierTetra&) = delete;
80};
81
82#endif
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkNew< vtkDoubleArray > RationalWeights
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkDoubleArray * GetRationalWeights()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkBezierTriangle > FaceCell
vtkHigherOrderTriangle * GetFaceCell() override
vtkHigherOrderCurve * GetEdgeCell() override
void EvaluateLocationProjectedNode(int &subId, const vtkIdType point_id, double x[3], double *weights)
vtkNew< vtkBezierCurve > EdgeCell
void InterpolateDerivs(const double pcoords[3], double *derivs) override
void SetRationalWeightsFromPointData(vtkPointData *point_data, const vtkIdType numPts)
static vtkBezierTetra * New()
int GetCellType() override
Return the type of cell.
A 2D cell that represents an arbitrary order Bezier triangle.
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
dynamic, self-adjusting array of double
A 2D cell that represents an arbitrary order HigherOrder triangle.
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 3D cell that represents a tetrahedron
Definition vtkTetra.h:45
@ VTK_BEZIER_TETRAHEDRON
#define VTK_DEPRECATED_IN_9_1_0(reason)
int vtkIdType
Definition vtkType.h:332