#include <vtkLineSource.h>
Inheritance diagram for vtkLineSource:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetPoint1 (float, float, float) |
virtual void | SetPoint1 (float[3]) |
virtual float * | GetPoint1 () |
virtual void | GetPoint1 (float data[3]) |
virtual void | SetPoint2 (float, float, float) |
virtual void | SetPoint2 (float[3]) |
virtual float * | GetPoint2 () |
virtual void | GetPoint2 (float data[3]) |
virtual void | SetResolution (int) |
virtual int | GetResolution () |
Static Public Methods | |
vtkLineSource * | New () |
int | IsTypeOf (const char *type) |
vtkLineSource * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkLineSource (int res=1) | |
~vtkLineSource () | |
vtkLineSource (const vtkLineSource &) | |
void | operator= (const vtkLineSource &) |
void | Execute () |
Protected Attributes | |
float | Point1 [3] |
float | Point2 [3] |
int | Resolution |
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.
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkPolyDataSource. |
|
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 vtkSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Set position of first end point. |
|
Set position of other end point. |
|
Divide line into resolution number of pieces. |