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