dox/Common/vtkCell3D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026
#ifndef __vtkCell3D_h
00027
#define __vtkCell3D_h
00028
00029
#include "vtkCell.h"
00030
00031
class vtkOrderedTriangulator;
00032
class vtkTetra;
00033
class vtkCellArray;
00034
class vtkDoubleArray;
00035
00036 class VTK_COMMON_EXPORT vtkCell3D :
public vtkCell
00037 {
00038
public:
00039 vtkTypeRevisionMacro(vtkCell3D,
vtkCell);
00040
void PrintSelf(ostream& os,
vtkIndent indent);
00041
00047
virtual void GetEdgePoints(
int edgeId,
int* &pts) = 0;
00048
00054
virtual void GetFacePoints(
int faceId,
int* &pts) = 0;
00055
00057
00068
virtual void Clip(
double value,
vtkDataArray *cellScalars,
00069
vtkPointLocator *locator,
vtkCellArray *connectivity,
00070
vtkPointData *inPd,
vtkPointData *outPd,
00071
vtkCellData *inCd,
vtkIdType cellId,
vtkCellData *outCd,
00072
int insideOut);
00074
00076 virtual int GetCellDimension() {
return 3;}
00077
00079
00082 vtkSetClampMacro(MergeTolerance,
double,0.0001,0.25);
00083 vtkGetMacro(MergeTolerance,
double);
00085
00086
protected:
00087 vtkCell3D();
00088 ~vtkCell3D();
00089
00090 vtkOrderedTriangulator *Triangulator;
00091 double MergeTolerance;
00092
00093
00094 vtkTetra *ClipTetra;
00095 vtkDoubleArray *ClipScalars;
00096
00097
private:
00098 vtkCell3D(
const vtkCell3D&);
00099
void operator=(
const vtkCell3D&);
00100 };
00101
00102
#endif
00103
00104