Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
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
00041 #ifndef __vtkCell3D_h
00042 #define __vtkCell3D_h
00043
00044 #include "vtkCell.h"
00045
00046 class vtkOrderedTriangulator;
00047
00048 class VTK_COMMON_EXPORT vtkCell3D : public vtkCell
00049 {
00050 public:
00051 vtkTypeRevisionMacro(vtkCell3D,vtkCell);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00059 virtual void GetEdgePoints(int edgeId, int* &pts) = 0;
00060
00066 virtual void GetFacePoints(int faceId, int* &pts) = 0;
00067
00069
00080 virtual void Clip(float value, vtkDataArray *cellScalars,
00081 vtkPointLocator *locator, vtkCellArray *connectivity,
00082 vtkPointData *inPd, vtkPointData *outPd,
00083 vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd,
00084 int insideOut);
00086
00088 virtual int GetCellDimension() {return 3;}
00089
00094 virtual float *GetParametricCoords();
00095
00096 protected:
00097 vtkCell3D():Triangulator(NULL) {}
00098 ~vtkCell3D();
00099
00100 vtkOrderedTriangulator *Triangulator;
00101
00102
00103 virtual int ClipInteriorCell(vtkCellArray *)
00104 {return 0;}
00105
00106 private:
00107 vtkCell3D(const vtkCell3D&);
00108 void operator=(const vtkCell3D&);
00109 };
00110
00111 #endif
00112
00113