00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkEmptyCell_h
00026 #define __vtkEmptyCell_h
00027
00028 #include "vtkCell.h"
00029
00030 class VTK_COMMON_EXPORT vtkEmptyCell : public vtkCell
00031 {
00032 public:
00033 static vtkEmptyCell *New();
00034 vtkTypeRevisionMacro(vtkEmptyCell,vtkCell);
00035
00037
00038 int GetCellType() {return VTK_EMPTY_CELL;};
00039 int GetCellDimension() {return 0;};
00040 int GetNumberOfEdges() {return 0;};
00041 int GetNumberOfFaces() {return 0;};
00042 vtkCell *GetEdge(int) {return 0;};
00043 vtkCell *GetFace(int) {return 0;};
00044 int CellBoundary(int subId, double pcoords[3], vtkIdList *pts);
00045 void Contour(double value, vtkDataArray *cellScalars,
00046 vtkPointLocator *locator, vtkCellArray *verts1,
00047 vtkCellArray *lines, vtkCellArray *verts2,
00048 vtkPointData *inPd, vtkPointData *outPd,
00049 vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd);
00050 void Clip(double value, vtkDataArray *cellScalars,
00051 vtkPointLocator *locator, vtkCellArray *pts,
00052 vtkPointData *inPd, vtkPointData *outPd,
00053 vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd,
00054 int insideOut);
00056
00057 int EvaluatePosition(double x[3], double* closestPoint,
00058 int& subId, double pcoords[3],
00059 double& dist2, double *weights);
00060 void EvaluateLocation(int& subId, double pcoords[3], double x[3],
00061 double *weights);
00062 int IntersectWithLine(double p1[3], double p2[3], double tol, double& t,
00063 double x[3], double pcoords[3], int& subId);
00064 int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts);
00065 void Derivatives(int subId, double pcoords[3], double *values,
00066 int dim, double *derivs);
00067
00068 protected:
00069 vtkEmptyCell() {};
00070 ~vtkEmptyCell() {};
00071
00072
00073 private:
00074 vtkEmptyCell(const vtkEmptyCell&);
00075 void operator=(const vtkEmptyCell&);
00076 };
00077
00078 #endif
00079
00080