Go to the documentation of this file.
37 #ifndef vtkPolyhedron_h
38 #define vtkPolyhedron_h
51 class vtkIdToIdVectorMapType;
52 class vtkIdToIdMapType;
130 int& subId,
double pcoords[3],
131 double& dist2,
double *
weights);
147 double x[3],
double pcoords[3],
int& subId);
172 int dim,
double *derivs);
278 vtkIdToIdVectorMapType & faceToPointsMap,
279 vtkIdToIdVectorMapType & pointToFacesMap,
280 vtkIdToIdMapType & pointIdMap);
296 vtkInternal * Internal;
303 pcoords[0] = pcoords[1] = pcoords[2] = 0.5;
represent and manipulate 3D points
void ComputePositionFromParametricCoordinate(double pc[3], double x[3])
vtkPolyData * GetPolyData()
octree-based spatial search object to quickly locate cells
virtual double * GetParametricCoords()
represent and manipulate point attribute data
virtual int GetParametricCenter(double pcoords[3])
virtual void Contour(double value, vtkDataArray *scalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
int InternalContour(double value, int insideOut, vtkIncrementalPointLocator *locator, vtkDataArray *inScalars, vtkDataArray *outScalars, vtkPointData *inPd, vtkPointData *outPd, vtkCellArray *contourPolys, vtkIdToIdVectorMapType &faceToPointsMap, vtkIdToIdVectorMapType &pointToFacesMap, vtkIdToIdMapType &pointIdMap)
a cell that represents an n-sided polygon
quickly locate points in 3-space
int IsInside(double x[3], double tolerance)
virtual void Clip(double value, vtkDataArray *scalars, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
virtual int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts)
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
virtual int GetCellType()
abstract superclass for arrays of numeric data
keep track of edges (edge is pair of integer id's)
virtual int CellBoundary(int subId, double pcoords[3], vtkIdList *pts)
cell represents a 1D line
virtual int RequiresExplicitFaceRepresentation()
abstract class to specify 3D cell interface
vtkCellLocator * CellLocator
virtual vtkIdType * GetFaces()
static vtkPolyhedron * New()
virtual void SetFaces(vtkIdType *faces)
int IntersectWithContour(double value, int insideOut, vtkDataArray *inScalars)
GLsizei const GLfloat * value
GLboolean GLenum GLenum GLvoid * values
abstract class to specify cell behavior
virtual void GetFacePoints(int vtkNotUsed(faceId), int *&vtkNotUsed(pts))
virtual void Initialize()
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
Abstract class in support of both point location and point insertion.
list of point or cell ids
vtkIdTypeArray * FaceLocations
virtual void EvaluateLocation(int &subId, double pcoords[3], double x[3], double *weights)
a cell that represents a triangle
virtual void Derivatives(int subId, double pcoords[3], double *values, int dim, double *derivs)
virtual int EvaluatePosition(double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)
vtkIdTypeArray * GlobalFaces
dynamic, self-adjusting array of vtkIdType
virtual void InterpolateFunctions(double x[3], double *sf)
virtual void GetEdgePoints(int vtkNotUsed(edgeId), int *&vtkNotUsed(pts))
virtual void InterpolateDerivs(double x[3], double *derivs)
virtual int GetNumberOfEdges()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkIdTypeArray * PolyConnectivity
provides thread-safe access to cells
virtual int GetParametricCenter(double pcoords[3])
#define VTKCOMMONDATAMODEL_EXPORT
virtual vtkCell * GetFace(int faceId)
vtkPointIdMap * PointIdMap
a 3D cell that represents a tetrahedron
virtual int GetNumberOfFaces()
void ComputeParametricCoordinate(double x[3], double pc[3])
void PrintSelf(ostream &os, vtkIndent indent)
virtual int IntersectWithLine(double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
virtual vtkCell * GetEdge(int)
a 3D cell defined by a set of polygonal faces
virtual int RequiresInitialization()
a cell that represents a 2D quadrilateral