|
virtual int | IsA (const char *type) |
|
vtkQuadraticPolygon * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs) |
|
|
int | GetCellType () |
|
int | GetCellDimension () |
|
int | GetNumberOfEdges () |
|
int | GetNumberOfFaces () |
|
vtkCell * | GetEdge (int) |
|
vtkCell * | GetFace (int) |
|
int | IsPrimaryCell () |
|
|
virtual bool | GetUseMVCInterpolation () |
|
virtual void | SetUseMVCInterpolation (bool) |
|
vtkNonLinearCell * | NewInstance () const |
|
virtual int | IsLinear () |
|
vtkCell * | NewInstance () const |
|
void | Initialize (int npts, vtkIdType *pts, vtkPoints *p) |
|
virtual void | ShallowCopy (vtkCell *c) |
|
virtual void | DeepCopy (vtkCell *c) |
|
virtual int | IsExplicitCell () |
|
vtkPoints * | GetPoints () |
|
vtkIdType | GetNumberOfPoints () |
|
vtkIdList * | GetPointIds () |
|
vtkIdType | GetPointId (int ptId) |
|
void | GetBounds (double bounds[6]) |
|
double * | GetBounds () |
|
double | GetLength2 () |
|
virtual int | GetParametricCenter (double pcoords[3]) |
|
virtual double | GetParametricDistance (double pcoords[3]) |
|
virtual double * | GetParametricCoords () |
|
virtual int | RequiresInitialization () |
|
virtual void | Initialize () |
|
virtual int | RequiresExplicitFaceRepresentation () |
|
virtual void | SetFaces (vtkIdType *vtkNotUsed(faces)) |
|
virtual vtkIdType * | GetFaces () |
|
virtual void | InterpolateFunctions (double vtkNotUsed(pcoords)[3], double *vtkNotUsed(weight)) |
|
virtual void | InterpolateDerivs (double vtkNotUsed(pcoords)[3], double *vtkNotUsed(derivs)) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
vtkPolygon * | Polygon |
|
vtkQuadraticEdge * | Edge |
|
bool | UseMVCInterpolation |
|
double | Bounds [6] |
|
bool | Debug |
|
vtkTimeStamp | MTime |
|
vtkSubjectHelper * | SubjectHelper |
|
vtkAtomicInt32 | ReferenceCount |
|
vtkWeakPointerBase ** | WeakPointers |
|
static void | ComputeCentroid (vtkIdTypeArray *ids, vtkPoints *pts, double centroid[3]) |
|
static int | PointInPolygon (double x[3], int numPts, double *pts, double bounds[6], double n[3]) |
|
static double | DistanceToPolygon (double x[3], int numPts, double *pts, double bounds[6], double closest[3]) |
|
static int | IntersectPolygonWithPolygon (int npts, double *pts, double bounds[6], int npts2, double *pts2, double bounds2[3], double tol, double x[3]) |
|
static int | IntersectConvex2DCells (vtkCell *cell1, vtkCell *cell2, double tol, double p0[3], double p1[3]) |
|
int | CellBoundary (int subId, double pcoords[3], vtkIdList *pts) |
|
void | Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd) |
|
void | Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) |
|
int | EvaluatePosition (double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights) |
|
void | EvaluateLocation (int &subId, double pcoords[3], double x[3], double *weights) |
|
int | IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId) |
|
virtual void | InterpolateFunctions (double x[3], double *weights) |
|
int | ParameterizePolygon (double p0[3], double p10[3], double &l10, double p20[3], double &l20, double n[3]) |
|
int | Triangulate (vtkIdList *outTris) |
|
int | Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts) |
|
int | NonDegenerateTriangulate (vtkIdList *outTris) |
|
void | InitializePolygon () |
|
static void | GetPermutationFromPolygon (vtkIdType nb, vtkIdList *permutation) |
|
static void | PermuteToPolygon (vtkIdType nbPoints, double *inPoints, double *outPoints) |
|
static void | PermuteToPolygon (vtkCell *inCell, vtkCell *outCell) |
|
static void | PermuteToPolygon (vtkPoints *inPoints, vtkPoints *outPoints) |
|
static void | PermuteToPolygon (vtkIdTypeArray *inIds, vtkIdTypeArray *outIds) |
|
static void | PermuteToPolygon (vtkDataArray *inDataArray, vtkDataArray *outDataArray) |
|
a cell that represents a parabolic n-sided polygon
vtkQuadraticPolygon is a concrete implementation of vtkNonLinearCell to represent a 2D n-sided (2*n nodes) parabolic polygon. The polygon cannot have any internal holes, and cannot self-intersect. The cell includes a mid-edge node for each of the n edges of the cell. The ordering of the 2*n points defining the cell are point ids (0..n-1 and n..2*n-1) where ids 0..n-1 define the corner vertices of the polygon; ids n..2*n-1 define the midedge nodes. Define the polygon with points ordered in the counter- clockwise direction; do not repeat the last point.
- See also
- vtkQuadraticEdge vtkQuadraticTriangle vtkQuadraticTetra vtkQuadraticHexahedron vtkQuadraticWedge vtkQuadraticPyramid
- Tests:
- vtkQuadraticPolygon (Tests)
Definition at line 45 of file vtkQuadraticPolygon.h.
Compute derivatives given cell subId and parametric coordinates. The values array is a series of data value(s) at the cell points. There is a one-to-one correspondence between cell point and data value(s). Dim is the number of data values per cell point. Derivs are derivatives in the x-y-z coordinate directions for each data value. Thus, if computing derivatives for a scalar function in a hexahedron, dim=1, 8 values are supplied, and 3 deriv values are returned (i.e., derivatives in x-y-z directions). On the other hand, if computing derivatives of velocity (vx,vy,vz) dim=3, 24 values are supplied ((vx,vy,vz)1, (vx,vy,vz)2, ....()8), and 9 deriv values are returned ((d(vx)/dx),(d(vx)/dy),(d(vx)/dz), (d(vy)/dx),(d(vy)/dy), (d(vy)/dz), (d(vz)/dx),(d(vz)/dy),(d(vz)/dz)).
Implements vtkCell.