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