33 #ifndef __vtkLineSource_h
34 #define __vtkLineSource_h
36 #include "vtkFiltersSourcesModule.h"
46 void PrintSelf(ostream& os, vtkIndent indent);
50 vtkSetVector3Macro(Point1,
double);
51 vtkGetVectorMacro(Point1,
double,3);
52 void SetPoint1(
float[3]);
57 vtkSetVector3Macro(Point2,
double);
58 vtkGetVectorMacro(Point2,
double,3);
59 void SetPoint2(
float[3]);
64 virtual void SetPoints(vtkPoints*);
65 vtkGetObjectMacro(Points,vtkPoints);
70 vtkSetClampMacro(Resolution,
int,1,VTK_INT_MAX);
71 vtkGetMacro(Resolution,
int);
78 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
79 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
create a line defined by two end points