Documentation for vtkLineSource

vtkLineSource - create a line defined by two end points

Super Class: vtkPolyDataSource

Description:

vtkLineSource is a source object that creates a polyline defined by two endpoints. The number of segments composing the polyline is controlled by setting the object resolution.

 

Methods:

void vtkLineSource (int )
static vtkLineSource *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetPoint1 (float ,float ,float )
void SetPoint1 (float *)
float *GetPoint1 ()
void SetPoint2 (float ,float ,float )
void SetPoint2 (float *)
float *GetPoint2 ()
void SetResolution (int )
int GetResolution ()
void Execute ()

 

Detailed Method Descriptions:

Set position of first end point.

void SetPoint1 (float ,float ,float )
void SetPoint1 (float *)
float *GetPoint1 ()

Set position of other end point.

void SetPoint2 (float ,float ,float )
void SetPoint2 (float *)
float *GetPoint2 ()

Divide line into resolution number of pieces.

void SetResolution (int )
int GetResolution ()