42 #ifndef vtkPlaneSource_h
43 #define vtkPlaneSource_h
45 #include "vtkFiltersSourcesModule.h"
48 VTK_ABI_NAMESPACE_BEGIN
65 vtkSetMacro(XResolution,
int);
66 vtkGetMacro(XResolution,
int);
73 vtkSetMacro(YResolution,
int);
74 vtkGetMacro(YResolution,
int);
81 void SetResolution(
int xR,
int yR);
84 xR = this->XResolution;
85 yR = this->YResolution;
93 vtkSetVector3Macro(Origin,
double);
94 vtkGetVectorMacro(Origin,
double, 3);
101 void SetPoint1(
double x,
double y,
double z);
102 void SetPoint1(
double pnt[3]);
103 vtkGetVectorMacro(Point1,
double, 3);
110 void SetPoint2(
double x,
double y,
double z);
111 void SetPoint2(
double pnt[3]);
112 vtkGetVectorMacro(Point2,
double, 3);
121 void GetAxis1(
double a1[3]);
122 void GetAxis2(
double a2[3]);
131 void SetCenter(
double x,
double y,
double z);
132 void SetCenter(
double center[3]);
133 vtkGetVectorMacro(Center,
double, 3);
142 void SetNormal(
double nx,
double ny,
double nz);
143 void SetNormal(
double n[3]);
144 vtkGetVectorMacro(
Normal,
double, 3);
152 void Push(
double distance);
159 void Rotate(
double angle,
double rotationAxis[3]);
167 vtkSetMacro(OutputPointsPrecision,
int);
168 vtkGetMacro(OutputPointsPrecision,
int);
186 int UpdatePlane(
double v1[3],
double v2[3]);
193 VTK_ABI_NAMESPACE_END
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.