54 #ifndef vtkPlaneSource_h
55 #define vtkPlaneSource_h
57 #include "vtkFiltersSourcesModule.h"
76 vtkSetMacro(XResolution,
int);
77 vtkGetMacro(XResolution,
int);
84 vtkSetMacro(YResolution,
int);
85 vtkGetMacro(YResolution,
int);
92 void SetResolution(
const int xR,
const int yR);
95 xR = this->XResolution;
96 yR = this->YResolution;
104 vtkSetVector3Macro(Origin,
double);
105 vtkGetVectorMacro(Origin,
double, 3);
112 void SetPoint1(
double x,
double y,
double z);
113 void SetPoint1(
double pnt[3]);
114 vtkGetVectorMacro(Point1,
double, 3);
121 void SetPoint2(
double x,
double y,
double z);
122 void SetPoint2(
double pnt[3]);
123 vtkGetVectorMacro(Point2,
double, 3);
132 void GetAxis1(
double a1[3]);
133 void GetAxis2(
double a2[3]);
142 void SetCenter(
double x,
double y,
double z);
143 void SetCenter(
double center[3]);
144 vtkGetVectorMacro(Center,
double, 3);
153 void SetNormal(
double nx,
double ny,
double nz);
154 void SetNormal(
double n[3]);
155 vtkGetVectorMacro(
Normal,
double, 3);
163 void Push(
double distance);
170 void Rotate(
double angle,
double rotationAxis[3]);
178 vtkSetMacro(OutputPointsPrecision,
int);
179 vtkGetMacro(OutputPointsPrecision,
int);
197 int UpdatePlane(
double v1[3],
double v2[3]);
void GetResolution(int &xR, int &yR)
Set the number of x-y subdivisions in the plane.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.