The Plane source can be used to add a polygonal parallelogram to the 3D scene. The origin and two other corner points that define the parallelogram, as well as the resolution of the approximation can be specified using the property sheet. As opposed to the sphere, cone, or cylinder sources, the parallelogram is exactly represented at the lowest resolution. Higher resolutions may be desired if this plane is to be used as input for a filter. The plane can be translated, rotated, and scaled using the Actor control area of the Display tab for this source, and it can be interactively positioned using the Move operation of the camera. The object created by this source is a vtkPlaneSource object, and the output of this source is vtkPolyData. . An example of a plane source is given on the right. In this example, the resolution was set to 10 in X and 10 in Y leading to the 100 subdivisions that you see in the example image.
The Plane source has the following parameters:
Origin: The is the location of one of the corners of the parallelogram.
First Point:This coordinate represents the location of a second corner of the parallelogram. One edge of the parallelogram will be the line connecting the origin with this first point, and this will be considered the X axis of the parallelogram.
Second Point:This coordinate represents the location of a third corner of the parallelogram. One edge of the parallelogram will be the line connecting the origin with this second point, and this will be considered the Y axis of the parallelogram.
X Resolution: This is the number of divisions along the X axis of the parallelogram. By default this value is 1.
Y Resolution: This is the number of divisions along the Y axis of the parallelogram. By default this value is 1.
Capping: This check box indicates whether the cylinder is capped (there are two N sided polygons closing off the cylinder where N is the resolution) or open. By default the cylinder will be capped.