#include <vtkLineSource.h>
Inheritance diagram for vtkLineSource:
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.
Definition at line 34 of file vtkLineSource.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPoint1 (double, double, double) |
virtual void | SetPoint1 (double[3]) |
virtual double * | GetPoint1 () |
virtual void | GetPoint1 (double data[3]) |
virtual void | SetPoint2 (double, double, double) |
virtual void | SetPoint2 (double[3]) |
virtual double * | GetPoint2 () |
virtual void | GetPoint2 (double data[3]) |
virtual void | SetResolution (int) |
virtual int | GetResolution () |
Static Public Member Functions | |
static vtkLineSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkLineSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkLineSource (int res=1) | |
~vtkLineSource () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | Point1 [3] |
double | Point2 [3] |
int | Resolution |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 38 of file vtkLineSource.h. |
|
|
|
Definition at line 61 of file vtkLineSource.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPolyDataAlgorithm. |
|
Set position of first end point. |
|
|
|
|
|
|
|
Set position of other end point. |
|
Set position of other end point. |
|
Set position of other end point. |
|
Set position of other end point. |
|
Divide line into resolution number of pieces. |
|
Divide line into resolution number of pieces. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Definition at line 65 of file vtkLineSource.h. |
|
Definition at line 66 of file vtkLineSource.h. |
|
Definition at line 67 of file vtkLineSource.h. |