48 #ifndef vtkPlaneSource_h
49 #define vtkPlaneSource_h
51 #include "vtkFiltersSourcesModule.h"
70 vtkSetMacro(XResolution,
int);
71 vtkGetMacro(XResolution,
int);
78 vtkSetMacro(YResolution,
int);
79 vtkGetMacro(YResolution,
int);
86 void SetResolution(
const int xR,
const int yR);
89 xR = this->XResolution;
90 yR = this->YResolution;
98 vtkSetVector3Macro(Origin,
double);
99 vtkGetVectorMacro(Origin,
double, 3);
106 void SetPoint1(
double x,
double y,
double z);
107 void SetPoint1(
double pnt[3]);
108 vtkGetVectorMacro(Point1,
double, 3);
115 void SetPoint2(
double x,
double y,
double z);
116 void SetPoint2(
double pnt[3]);
117 vtkGetVectorMacro(Point2,
double, 3);
126 void SetCenter(
double x,
double y,
double z);
127 void SetCenter(
double center[3]);
128 vtkGetVectorMacro(Center,
double, 3);
137 void SetNormal(
double nx,
double ny,
double nz);
138 void SetNormal(
double n[3]);
139 vtkGetVectorMacro(
Normal,
double, 3);
147 void Push(
double distance);
155 vtkSetMacro(OutputPointsPrecision,
int);
156 vtkGetMacro(OutputPointsPrecision,
int);
174 int UpdatePlane(
double v1[3],
double v2[3]);