53 #ifndef vtkPlaneSource_h
54 #define vtkPlaneSource_h
71 vtkSetMacro(XResolution,
int);
72 vtkGetMacro(XResolution,
int);
77 vtkSetMacro(YResolution,
int);
78 vtkGetMacro(YResolution,
int);
83 void SetResolution(
const int xR,
const int yR);
85 xR=this->XResolution; yR=this->YResolution;};
90 vtkSetVector3Macro(Origin,
double);
91 vtkGetVectorMacro(Origin,
double,3);
96 void SetPoint1(
double x,
double y,
double z);
97 void SetPoint1(
double pnt[3]);
98 vtkGetVectorMacro(Point1,
double,3);
103 void SetPoint2(
double x,
double y,
double z);
104 void SetPoint2(
double pnt[3]);
105 vtkGetVectorMacro(Point2,
double,3);
112 void SetCenter(
double x,
double y,
double z);
113 void SetCenter(
double center[3]);
114 vtkGetVectorMacro(Center,
double,3);
121 void SetNormal(
double nx,
double ny,
double nz);
122 void SetNormal(
double n[3]);
123 vtkGetVectorMacro(
Normal,
double,3);
128 void Push(
double distance);
135 vtkSetMacro(OutputPointsPrecision,
int);
136 vtkGetMacro(OutputPointsPrecision,
int);
154 int UpdatePlane(
double v1[3],
double v2[3]);
void GetResolution(int &xR, int &yR)
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.
a simple class to control print indentation
int OutputPointsPrecision
create an array of quadrilaterals located in a plane