32#include "vtkCommonDataModelModule.h"
61 int EvaluatePosition(
const double x[3],
double closestPoint[3],
int& subId,
double pcoords[3],
62 double& dist2,
double weights[])
override;
63 void EvaluateLocation(
int& subId,
const double pcoords[3],
double x[3],
double* weights)
override;
90 int IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
double& t,
double x[3],
91 double pcoords[3],
int& subId)
override;
94 int subId,
const double pcoords[3],
const double* values,
int dim,
double* derivs)
override;
129 void operator=(
const vtkPixel&) =
delete;
135 pcoords[0] = pcoords[1] = 0.5;
object to represent cell connectivity
represent and manipulate cell attribute data
virtual int GetParametricCenter(double pcoords[3])
Return center of the cell in parametric coordinates.
list of point or cell ids
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
cell represents a 1D line
vtkCell * GetEdge(int edgeId) override
See the vtkCell API for descriptions of these methods.
vtkCell * GetFace(int) override
See the vtkCell API for descriptions of these methods.
int GetCellType() override
See the vtkCell API for descriptions of these methods.
void InterpolateDerivs(const double pcoords[3], double derivs[8]) override
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
int ComputeNormal(double n[3])
vtkPixel's normal cannot be computed using vtkPolygon::ComputeNormal because its points are not sorte...
int CellBoundary(int subId, const double pcoords[3], vtkIdList *pts) override
See the vtkCell API for descriptions of these methods.
int GetNumberOfEdges() override
See the vtkCell API for descriptions of these methods.
void InterpolateFunctions(const double pcoords[3], double weights[4]) override
Compute the interpolation functions/derivatives (aka shape functions/derivatives)
double * GetParametricCoords() override
Return a contiguous array of parametric coordinates of the points defining this cell.
int GetNumberOfFaces() override
See the vtkCell API for descriptions of these methods.
static void InterpolationDerivs(const double pcoords[3], double derivs[8])
int IntersectWithLine(const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId) override
Intersect with a ray.
int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts) override
Generate simplices of proper dimension.
double ComputeBoundingSphere(double center[3]) const override
Computes exact bounding sphere of this pixel.
void EvaluateLocation(int &subId, const double pcoords[3], double x[3], double *weights) override
See the vtkCell API for descriptions of these methods.
int GetParametricCenter(double pcoords[3]) override
Return the center of the triangle in parametric coordinates.
int GetCellDimension() override
See the vtkCell API for descriptions of these methods.
int Inflate(double dist) override
Inflates this pixel by a distance of dist by moving the edges of the pixel by that distance.
void Derivatives(int subId, const double pcoords[3], const double *values, int dim, double *derivs) override
Compute derivatives given cell subId and parametric coordinates.
static void InterpolationFunctions(const double pcoords[3], double weights[4])
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
See the vtkCell API for descriptions of these methods.
void Clip(double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) override
See the vtkCell API for descriptions of these methods.
int EvaluatePosition(const double x[3], double closestPoint[3], int &subId, double pcoords[3], double &dist2, double weights[]) override
See the vtkCell API for descriptions of these methods.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate point attribute data
represent and manipulate 3D points