vtkFrustumSource

Section: Visualization Toolkit Graphics Classes

Usage

vtkFrustumSource creates a frustum defines by a set of planes. The frustum is represented with four-sided polygons. It is possible to specify extra lines to better visualize the field of view.

.SECTION Usage Typical use consists of 3 steps: 1. get the planes coefficients from a vtkCamera with vtkCamera::GetFrustumPlanes() 2. initialize the planes with vtkPlanes::SetFrustumPlanes() with the planes coefficients 3. pass the vtkPlanes to a vtkFrustumSource.

To create an instance of class vtkFrustumSource, simply invoke its constructor as follows

  obj = vtkFrustumSource

Methods

The class vtkFrustumSource has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkFrustumSource class.