Common/vtkCell3D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00030 #ifndef __vtkCell3D_h
00031 #define __vtkCell3D_h
00032
00033 #include "vtkCell.h"
00034
00035 class vtkOrderedTriangulator;
00036
00037 class VTK_COMMON_EXPORT vtkCell3D : public vtkCell
00038 {
00039 public:
00040 vtkTypeRevisionMacro(vtkCell3D,vtkCell);
00041 void PrintSelf(ostream& os, vtkIndent indent);
00042
00048 virtual void GetEdgePoints(int edgeId, int* &pts) = 0;
00049
00055 virtual void GetFacePoints(int faceId, int* &pts) = 0;
00056
00058
00069 virtual void Clip(float value, vtkDataArray *cellScalars,
00070 vtkPointLocator *locator, vtkCellArray *connectivity,
00071 vtkPointData *inPd, vtkPointData *outPd,
00072 vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd,
00073 int insideOut);
00075
00077 virtual int GetCellDimension() {return 3;}
00078
00083 virtual float *GetParametricCoords();
00084
00085 protected:
00086 vtkCell3D():Triangulator(NULL) {}
00087 ~vtkCell3D();
00088
00089 vtkOrderedTriangulator *Triangulator;
00090
00091
00092 virtual int ClipInteriorCell(vtkCellArray *)
00093 {return 0;}
00094
00095 private:
00096 vtkCell3D(const vtkCell3D&);
00097 void operator=(const vtkCell3D&);
00098 };
00099
00100 #endif
00101
00102