54 #ifndef vtkPlaneSource_h
55 #define vtkPlaneSource_h
57 #include "vtkFiltersSourcesModule.h"
77 vtkGetMacro(XResolution,
int);
85 vtkGetMacro(YResolution,
int);
92 void SetResolution(
const int xR,
const int yR);
94 xR=this->XResolution; yR=this->YResolution;};
101 vtkSetVector3Macro(Origin,
double);
102 vtkGetVectorMacro(Origin,
double,3);
109 void SetPoint1(
double x,
double y,
double z);
110 void SetPoint1(
double pnt[3]);
111 vtkGetVectorMacro(Point1,
double,3);
118 void SetPoint2(
double x,
double y,
double z);
119 void SetPoint2(
double pnt[3]);
120 vtkGetVectorMacro(Point2,
double,3);
129 void SetCenter(
double x,
double y,
double z);
130 void SetCenter(
double center[3]);
131 vtkGetVectorMacro(Center,
double,3);
140 void SetNormal(
double nx,
double ny,
double nz);
141 void SetNormal(
double n[3]);
142 vtkGetVectorMacro(
Normal,
double,3);
150 void Push(
double distance);
159 vtkGetMacro(OutputPointsPrecision,
int);
175 int OutputPointsPrecision;
177 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
create an array of quadrilaterals located in a plane
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
~vtkPlaneSource() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.