VTK  9.5.2
vtkQuadraticPyramid.h File Reference
#include "vtkCommonDataModelModule.h"
#include "vtkNonLinearCell.h"
Include dependency graph for vtkQuadraticPyramid.h:

Go to the source code of this file.

Classes

class  vtkQuadraticPyramid
 cell represents a parabolic, 13-node isoparametric pyramid More...

Functions

vtkQuadraticPyramid vtkNonLinearCell JacobianInverse (const double pcoords[3], double **inverse, double derivs[39])
 Given parametric coordinates compute inverse Jacobian transformation matrix.
static vtkQuadraticPyramidNew ()
static vtkTypeBool IsTypeOf (const char *type)
virtual vtkTypeBool IsA (const char *type)
static vtkQuadraticPyramidSafeDownCast (vtkObjectBase *o)
virtual vtkObjectBaseNewInstanceInternal () const
vtkQuadraticPyramidNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent) override
int CellBoundary (int subId, const double pcoords[3], vtkIdList *pts) override
void Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd) override
int EvaluatePosition (const double x[3], double closestPoint[3], int &subId, double pcoords[3], double &dist2, double weights[]) override
void EvaluateLocation (int &subId, const double pcoords[3], double x[3], double *weights) override
int TriangulateLocalIds (int index, vtkIdList *ptIds) override
void Derivatives (int subId, const double pcoords[3], const double *values, int dim, double *derivs) override
double * GetParametricCoords () override
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *tets, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) override
 Clip this quadratic triangle using scalar value provided.
int IntersectWithLine (const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId) override
 Line-edge intersection.
int GetParametricCenter (double pcoords[3]) override
 Return the center of the quadratic pyramid in parametric coordinates.
static void InterpolationFunctions (const double pcoords[3], double weights[13])
static void InterpolationDerivs (const double pcoords[3], double derivs[39])
 vtkQuadraticPyramid ()
 ~vtkQuadraticPyramid () override
int GetCellType () override
 Implement the vtkCell API.
int GetCellDimension () override
 Implement the vtkCell API.
int GetNumberOfEdges () override
 Implement the vtkCell API.
int GetNumberOfFaces () override
 Implement the vtkCell API.
vtkCellGetEdge (int edgeId) override
 Implement the vtkCell API.
vtkCellGetFace (int faceId) override
 Implement the vtkCell API.
void InterpolateFunctions (const double pcoords[3], double weights[13]) override
 Compute the interpolation functions/derivatives (aka shape functions/derivatives).
void InterpolateDerivs (const double pcoords[3], double derivs[39]) override
 Compute the interpolation functions/derivatives (aka shape functions/derivatives).

Variables

vtkQuadraticEdgeEdge
vtkQuadraticTriangleTriangleFace
vtkQuadraticQuadFace
vtkTetraTetra
vtkPyramidPyramid
vtkPointDataPointData
vtkCellDataCellData
vtkDoubleArrayCellScalars
vtkDoubleArrayScalars

Function Documentation

◆ JacobianInverse()

vtkQuadraticPyramid vtkNonLinearCell JacobianInverse ( const double pcoords[3],
double ** inverse,
double derivs[39] )

Given parametric coordinates compute inverse Jacobian transformation matrix.

Returns 9 elements of 3x3 inverse Jacobian plus interpolation function derivatives.

◆ New()

vtkQuadraticPyramid * JacobianInverse::New ( )
static

◆ IsTypeOf()

vtkTypeBool JacobianInverse::IsTypeOf ( const char * type)
static

◆ IsA()

virtual vtkTypeBool JacobianInverse::IsA ( const char * type)
virtual

◆ SafeDownCast()

vtkQuadraticPyramid * JacobianInverse::SafeDownCast ( vtkObjectBase * o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase * JacobianInverse::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkQuadraticPyramid * JacobianInverse::NewInstance ( ) const

◆ PrintSelf()

void JacobianInverse::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ GetCellType()

int JacobianInverse::GetCellType ( )
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

Definition at line 10 of file vtkQuadraticPyramid.h.

◆ GetCellDimension()

int JacobianInverse::GetCellDimension ( )
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

Definition at line 11 of file vtkQuadraticPyramid.h.

◆ GetNumberOfEdges()

int JacobianInverse::GetNumberOfEdges ( )
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

Definition at line 12 of file vtkQuadraticPyramid.h.

◆ GetNumberOfFaces()

int JacobianInverse::GetNumberOfFaces ( )
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

Definition at line 13 of file vtkQuadraticPyramid.h.

◆ GetEdge()

vtkCell * JacobianInverse::GetEdge ( int edgeId)
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

◆ GetFace()

vtkCell * JacobianInverse::GetFace ( int faceId)
override

Implement the vtkCell API.

See the vtkCell API for descriptions of these methods.

◆ CellBoundary()

int JacobianInverse::CellBoundary ( int subId,
const double pcoords[3],
vtkIdList * pts )
override

◆ Contour()

void JacobianInverse::Contour ( double value,
vtkDataArray * cellScalars,
vtkIncrementalPointLocator * locator,
vtkCellArray * verts,
vtkCellArray * lines,
vtkCellArray * polys,
vtkPointData * inPd,
vtkPointData * outPd,
vtkCellData * inCd,
vtkIdType cellId,
vtkCellData * outCd )
override

◆ EvaluatePosition()

int JacobianInverse::EvaluatePosition ( const double x[3],
double closestPoint[3],
int & subId,
double pcoords[3],
double & dist2,
double weights[] )
override

◆ EvaluateLocation()

void JacobianInverse::EvaluateLocation ( int & subId,
const double pcoords[3],
double x[3],
double * weights )
override

◆ TriangulateLocalIds()

int JacobianInverse::TriangulateLocalIds ( int index,
vtkIdList * ptIds )
override

◆ Derivatives()

void JacobianInverse::Derivatives ( int subId,
const double pcoords[3],
const double * values,
int dim,
double * derivs )
override

◆ GetParametricCoords()

double * JacobianInverse::GetParametricCoords ( )
override

◆ Clip()

void JacobianInverse::Clip ( double value,
vtkDataArray * cellScalars,
vtkIncrementalPointLocator * locator,
vtkCellArray * tets,
vtkPointData * inPd,
vtkPointData * outPd,
vtkCellData * inCd,
vtkIdType cellId,
vtkCellData * outCd,
int insideOut )
override

Clip this quadratic triangle using scalar value provided.

Like contouring, except that it cuts the triangle to produce linear triangles.

◆ IntersectWithLine()

int JacobianInverse::IntersectWithLine ( const double p1[3],
const double p2[3],
double tol,
double & t,
double x[3],
double pcoords[3],
int & subId )
override

Line-edge intersection.

Intersection has to occur within [0,1] parametric coordinates and with specified tolerance.

Line-edge intersection.

See vtkCell.h parameters documentation.

THIS FUNCTION IS NOT THREAD SAFE.

◆ GetParametricCenter()

int JacobianInverse::GetParametricCenter ( double pcoords[3])
override

Return the center of the quadratic pyramid in parametric coordinates.

◆ InterpolationFunctions()

void JacobianInverse::InterpolationFunctions ( const double pcoords[3],
double weights[13] )
static

◆ InterpolationDerivs()

void JacobianInverse::InterpolationDerivs ( const double pcoords[3],
double derivs[39] )
static

◆ InterpolateFunctions()

void JacobianInverse::InterpolateFunctions ( const double pcoords[3],
double weights[13] )
override

Compute the interpolation functions/derivatives (aka shape functions/derivatives).

Definition at line 58 of file vtkQuadraticPyramid.h.

◆ InterpolateDerivs()

void JacobianInverse::InterpolateDerivs ( const double pcoords[3],
double derivs[39] )
override

Compute the interpolation functions/derivatives (aka shape functions/derivatives).

Definition at line 62 of file vtkQuadraticPyramid.h.

◆ vtkQuadraticPyramid()

vtkQuadraticPyramid ( )
protected

◆ ~vtkQuadraticPyramid()

~vtkQuadraticPyramid ( )
overrideprotected

Variable Documentation

◆ Edge

vtkQuadraticEdge* Edge
protected

Definition at line 136 of file vtkQuadraticPyramid.h.

◆ TriangleFace

vtkQuadraticTriangle* TriangleFace
protected

Definition at line 137 of file vtkQuadraticPyramid.h.

◆ Face

vtkQuadraticQuad* Face
protected

Definition at line 138 of file vtkQuadraticPyramid.h.

◆ Tetra

vtkTetra* Tetra
protected

Definition at line 139 of file vtkQuadraticPyramid.h.

◆ Pyramid

vtkPyramid* Pyramid
protected

Definition at line 140 of file vtkQuadraticPyramid.h.

◆ PointData

vtkPointData* PointData
protected

Definition at line 141 of file vtkQuadraticPyramid.h.

◆ CellData

vtkCellData* CellData
protected

Definition at line 142 of file vtkQuadraticPyramid.h.

◆ CellScalars

vtkDoubleArray* CellScalars
protected

Definition at line 143 of file vtkQuadraticPyramid.h.

◆ Scalars

vtkDoubleArray* Scalars
protected

Definition at line 144 of file vtkQuadraticPyramid.h.