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);
88 xR=this->XResolution; yR=this->YResolution;};
95 vtkSetVector3Macro(Origin,
double);
96 vtkGetVectorMacro(Origin,
double,3);
103 void SetPoint1(
double x,
double y,
double z);
104 void SetPoint1(
double pnt[3]);
105 vtkGetVectorMacro(Point1,
double,3);
112 void SetPoint2(
double x,
double y,
double z);
113 void SetPoint2(
double pnt[3]);
114 vtkGetVectorMacro(Point2,
double,3);
123 void SetCenter(
double x,
double y,
double z);
124 void SetCenter(
double center[3]);
125 vtkGetVectorMacro(Center,
double,3);
134 void SetNormal(
double nx,
double ny,
double nz);
135 void SetNormal(
double n[3]);
136 vtkGetVectorMacro(
Normal,
double,3);
144 void Push(
double distance);
152 vtkSetMacro(OutputPointsPrecision,
int);
153 vtkGetMacro(OutputPointsPrecision,
int);
171 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
~vtkPlaneSource() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.