Documentation for vtkLine

vtkLine - cell represents a 1D line

Super Class: vtkCell

Description:

vtkLine is a concrete implementation of vtkCell to represent a 1D line.

 

Methods:

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

 

Detailed Method Descriptions:

See the vtkCell API for descriptions of these methods.

vtkCell *MakeObject ()
int GetCellType ()
int GetCellDimension ()
int GetNumberOfEdges ()
int GetNumberOfFaces ()
vtkCell *GetEdge (int )
vtkCell *GetFace (int )
int CellBoundary (int ,float ,vtkIdList *)
void Contour (float ,vtkScalars * ,vtkPointLocator * ,vtkCellArray * ,vtkCellArray * ,vtkCellArray * ,vtkPointData * ,vtkPointData * ,vtkCellData * ,int ,vtkCellData *)
int EvaluatePosition (float ,float ,int & ,float ,float & ,float *)
void EvaluateLocation (int & ,float ,float ,float *)
int Triangulate (int ,vtkIdList * ,vtkPoints *)
void Derivatives (int ,float ,float * ,int ,float *)

Clip this line using scalar value provided. Like contouring, except that it cuts the line to produce other lines.

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

Line-line intersection. Intersection has to occur within [0,1] parametric coordinates and with specified tolerance.

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

Performs intersection of two finite 3D lines. An intersection is found if the projection of the two lines onto the plane perpendicular to the cross product of the two lines intersect. The parameters (u,v) are the parametric coordinates of the lines at the position of closest approach.

static int Intersection (float ,float ,float ,float ,float & ,float &)

Compute distance to finite line. Returns parametric coordinate t and point location on line.

static float DistanceToLine (float ,float ,float ,float & ,float )

Determine the distance of the current vertex to the edge defined by the vertices provided. Returns distance squared. Note: line is assumed infinite in extent.

static float DistanceToLine (float ,float ,float )

For legacy compatibility. Do not use.

int CellBoundary (int ,float ,vtkIdList &)