VTK
|
abstract class to specify 3D cell interface More...
#include <vtkCell3D.h>
Public Types | |
typedef vtkCell | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | GetEdgePoints (int edgeId, int *&pts)=0 |
virtual void | GetFacePoints (int faceId, int *&pts)=0 |
virtual void | Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd) |
virtual int | GetCellDimension () |
virtual void | Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *connectivity, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut) |
virtual void | SetMergeTolerance (double) |
virtual double | GetMergeTolerance () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCell3D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCell3D () | |
~vtkCell3D () | |
Protected Attributes | |
vtkOrderedTriangulator * | Triangulator |
double | MergeTolerance |
vtkTetra * | ClipTetra |
vtkDoubleArray * | ClipScalars |
abstract class to specify 3D cell interface
vtkCell3D is an abstract class that extends the interfaces for 3D data cells, and implements methods needed to satisfy the vtkCell API. The 3D cells include hexehedra, tetrahedra, wedge, pyramid, and voxel.
Definition at line 36 of file vtkCell3D.h.
typedef vtkCell vtkCell3D::Superclass |
Definition at line 39 of file vtkCell3D.h.
|
protected |
|
protected |
|
virtual |
Reimplemented in vtkPolyhedron, vtkPentagonalPrism, vtkPyramid, vtkWedge, vtkHexagonalPrism, vtkHexahedron, vtkTetra, vtkConvexPointSet, and vtkVoxel.
|
static |
|
virtual |
Reimplemented in vtkPolyhedron, vtkPentagonalPrism, vtkPyramid, vtkWedge, vtkHexagonalPrism, vtkHexahedron, vtkTetra, vtkConvexPointSet, and vtkVoxel.
void vtkCell3D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
pure virtual |
Get the pair of vertices that define an edge. The method returns the number of vertices, along with an array of vertices. Note that the vertices are 0-offset; that is, they refer to the ids of the cell, not the point ids of the mesh that the cell belongs to. The edgeId must range between 0<=edgeId<this->GetNumberOfEdges().
Implemented in vtkPentagonalPrism, vtkPyramid, vtkWedge, vtkHexagonalPrism, vtkHexahedron, vtkTetra, and vtkVoxel.
|
pure virtual |
Get the list of vertices that define a face. The list is terminated with a negative number. Note that the vertices are 0-offset; that is, they refer to the ids of the cell, not the point ids of the mesh that the cell belongs to. The faceId must range between 0<=faceId<this->GetNumberOfFaces().
Implemented in vtkPentagonalPrism, vtkPyramid, vtkWedge, vtkHexagonalPrism, vtkHexahedron, vtkTetra, and vtkVoxel.
|
virtual |
Reimplemented in vtkPolyhedron, vtkConvexPointSet, vtkPyramid, vtkWedge, vtkHexahedron, vtkTetra, and vtkVoxel.
|
virtual |
Cut (or clip) the cell based on the input cellScalars and the specified value. The output of the clip operation will be one or more cells of the same topological dimension as the original cell. The flag insideOut controls what part of the cell is considered inside - normally cell points whose scalar value is greater than "value" are considered inside. If insideOut is on, this is reversed. Also, if the output cell data is non-NULL, the cell data from the clipped cell is passed to the generated contouring primitives. (Note: the CopyAllocate() method must be invoked on both the output cell and point data. The cellId refers to the cell from which the cell data is copied.) (Satisfies vtkCell API.)
Reimplemented in vtkPolyhedron, vtkConvexPointSet, and vtkTetra.
|
inlinevirtual |
The topological dimension of the cell. (Satisfies vtkCell API.)
Reimplemented in vtkPentagonalPrism, vtkPyramid, vtkWedge, vtkHexagonalPrism, and vtkVoxel.
Definition at line 82 of file vtkCell3D.h.
|
virtual |
Set the tolerance for merging clip intersection points that are near the vertices of cells. This tolerance is used to prevent the generation of degenerate tetrahedra during clipping.
|
virtual |
Set the tolerance for merging clip intersection points that are near the vertices of cells. This tolerance is used to prevent the generation of degenerate tetrahedra during clipping.
|
protected |
Definition at line 96 of file vtkCell3D.h.
|
protected |
Definition at line 97 of file vtkCell3D.h.
|
protected |
Definition at line 100 of file vtkCell3D.h.
|
protected |
Definition at line 101 of file vtkCell3D.h.