The Box source can be used to add a box to the 3D scene. The center of the box and the X, Y, and Z lengths of the box can be changed used the property sheet. The box 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 vtkCubeSource object, and the output of this source is vtkPolyData. The output polydata has both normals and texture coordinates defined. An example of a box source is given on the right.
The Box source has the following parameters:
X Length: This value specified the length of the box along the X axis. By default the X length of the box is 1.
Y Length: This value specified the length of the box along the Y axis. By default the Y length of the box is 1.
Z Length: This value specified the length of the box along the Z axis. By default the Z length of the box is 1.
Center: The three values represent the coordinate at the center of the box. By default the box is centered on (0,0,0).