53 #ifndef __vtkPlaneSource_h
54 #define __vtkPlaneSource_h
70 vtkSetMacro(XResolution,
int);
71 vtkGetMacro(XResolution,
int);
76 vtkSetMacro(YResolution,
int);
77 vtkGetMacro(YResolution,
int);
82 void SetResolution(
const int xR,
const int yR);
84 xR=this->XResolution; yR=this->YResolution;};
89 vtkSetVector3Macro(Origin,
double);
90 vtkGetVectorMacro(Origin,
double,3);
95 void SetPoint1(
double x,
double y,
double z);
96 void SetPoint1(
double pnt[3]);
97 vtkGetVectorMacro(Point1,
double,3);
102 void SetPoint2(
double x,
double y,
double z);
103 void SetPoint2(
double pnt[3]);
104 vtkGetVectorMacro(Point2,
double,3);
111 void SetCenter(
double x,
double y,
double z);
112 void SetCenter(
double center[3]);
113 vtkGetVectorMacro(Center,
double,3);
120 void SetNormal(
double nx,
double ny,
double nz);
121 void SetNormal(
double n[3]);
122 vtkGetVectorMacro(
Normal,
double,3);
127 void Push(
double distance);
143 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
create an array of quadrilaterals located in a plane