dox/Common/vtkPolyVertex.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00028
#ifndef __vtkPolyVertex_h
00029
#define __vtkPolyVertex_h
00030
00031
#include "vtkCell.h"
00032
00033
class vtkVertex;
00034
00035 class VTK_COMMON_EXPORT vtkPolyVertex :
public vtkCell
00036 {
00037
public:
00038
static vtkPolyVertex *
New();
00039 vtkTypeRevisionMacro(vtkPolyVertex,
vtkCell);
00040
00042
00043 int GetCellType() {
return VTK_POLY_VERTEX;};
00044 int GetCellDimension() {
return 0;};
00045 int GetNumberOfEdges() {
return 0;};
00046 int GetNumberOfFaces() {
return 0;};
00047 vtkCell *
GetEdge(
int vtkNotUsed(edgeId)) {
return 0;};
00048 vtkCell *
GetFace(
int vtkNotUsed(faceId)) {
return 0;};
00049
int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
00050
void Contour(
double value,
vtkDataArray *cellScalars,
00051
vtkPointLocator *locator,
vtkCellArray *verts,
00052
vtkCellArray *lines,
vtkCellArray *polys,
00053
vtkPointData *inPd,
vtkPointData *outPd,
00054
vtkCellData *inCd,
vtkIdType cellId,
vtkCellData *outCd);
00055
void Clip(
double value,
vtkDataArray *cellScalars,
00056
vtkPointLocator *locator,
vtkCellArray *verts,
00057
vtkPointData *inPd,
vtkPointData *outPd,
00058
vtkCellData *inCd,
vtkIdType cellId,
vtkCellData *outCd,
00059
int insideOut);
00060
int EvaluatePosition(
double x[3],
double* closestPoint,
00061
int& subId,
double pcoords[3],
00062
double& dist2,
double *weights);
00063
void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
00064
double *weights);
00065
int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
00066
double x[3],
double pcoords[3],
int& subId);
00067
int Triangulate(
int index,
vtkIdList *ptIds,
vtkPoints *pts);
00068
void Derivatives(
int subId,
double pcoords[3],
double *values,
00069
int dim,
double *derivs);
00070 int IsPrimaryCell() {
return 0;}
00072
00074
int GetParametricCenter(
double pcoords[3]);
00075
00076
00077
protected:
00078 vtkPolyVertex();
00079 ~vtkPolyVertex();
00080
00081 vtkVertex *Vertex;
00082
00083
private:
00084 vtkPolyVertex(
const vtkPolyVertex&);
00085
void operator=(
const vtkPolyVertex&);
00086 };
00087
00088
#endif
00089
00090