Go to the documentation of this file.
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);
94 xR=this->XResolution; yR=this->YResolution;};
101 vtkSetVector3Macro(Origin,
double);
102 vtkGetVectorMacro(Origin,
double,3);
111 vtkGetVectorMacro(Point1,
double,3);
120 vtkGetVectorMacro(Point2,
double,3);
131 vtkGetVectorMacro(Center,
double,3);
158 vtkSetMacro(OutputPointsPrecision,
int);
159 vtkGetMacro(OutputPointsPrecision,
int);
void SetPoint1(double x, double y, double z)
Specify a point defining the first axis of the plane.
void SetNormal(double n[3])
void SetResolution(const int xR, const int yR)
Set the number of x-y subdivisions in the plane.
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.
void SetNormal(double nx, double ny, double nz)
Set/Get the plane normal.
void Push(double distance)
Translate the plane in the direction of the normal by the distance specified.
void GetResolution(int &xR, int &yR)
void SetPoint1(double pnt[3])
void SetPoint2(double x, double y, double z)
Specify a point defining the second axis of the plane.
a simple class to control print indentation
void SetCenter(double x, double y, double z)
Set/Get the center of the plane.
void SetCenter(double center[3])
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int UpdatePlane(double v1[3], double v2[3])
static vtkPlaneSource * New()
Construct plane perpendicular to z-axis, resolution 1x1, width and height 1.0, and centered at the or...
void SetPoint2(double pnt[3])
~vtkPlaneSource() override
int OutputPointsPrecision
Superclass for algorithms that produce only polydata as output.