Documentation for vtkVertex

vtkVertex - a cell that represents a 3D point

Super Class: vtkCell

Description:

vtkVertex is a concrete implementation of vtkCell to represent a 3D point.

 

Methods:

void vtkVertex ()
static vtkVertex *New ()
const char *GetClassName ()
vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int CellBoundary (int ,float ,vtkIdList *)
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)
int CellBoundary (int ,float ,vtkIdList &)
int Triangulate (int ,vtkIdList & ,vtkPoints &)

 

Detailed Method Descriptions:

Make a new vtkVertex object with the same information as this object.

vtkCell *MakeObject ()

See the vtkCell API for descriptions of these methods.

int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
void Clip (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData * ,int )
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)

Given parametric coordinates of a point, return the closest cell boundary, and whether the point is inside or outside of the cell. The cell boundary is defined by a list of points (pts) that specify a vertex (1D cell). If the return value of the method is != 0, then the point is inside the cell.

int CellBoundary (int ,float ,vtkIdList *)

Generate contouring primitives. The scalar list cellScalars are scalar values at each cell point. The point locator is essentially a points list that merges points as they are inserted (i.e., prevents duplicates).

void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)

Intersect with a ray. Return parametric coordinates (both line and cell) and global intersection coordinates, given ray definition and tolerance. The method returns non-zero value if intersection occurs.

int IntersectWithLine (float ,float ,float ,float & ,float ,float ,int &)

Triangulate the vertex. This method fills pts and ptIds with information from the only point in the vertex.

int Triangulate (int ,vtkIdList * ,vtkPoints *)

Get the derivative of the vertex. Returns (0.0, 0.0, 0.0) for all dimensions.

void Derivatives (int ,float ,float * ,int ,float *)

For legacy compatibility. Do not use.

int CellBoundary (int ,float ,vtkIdList &)