Section: Visualization Toolkit Graphics Classes
.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
obj is an instance of the vtkFrustumSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkFrustumSource = obj.NewInstance ()
vtkFrustumSource = obj.SafeDownCast (vtkObject o)
vtkPlanes = obj.GetPlanes () - Return the 6 planes defining the frustum. Initial value is NULL.
The 6 planes are defined in this order: left,right,bottom,top,far,near.
If Planes==NULL or if Planes->GetNumberOfPlanes()!=6 when RequestData()
is called, an error message will be emitted and RequestData() will
return right away.
obj.SetPlanes (vtkPlanes planes) - Set the 6 planes defining the frustum.
bool = obj.GetShowLines () - Tells if some extra lines will be generated. Initial value is true.
obj.SetShowLines (bool ) - Tells if some extra lines will be generated. Initial value is true.
obj.ShowLinesOn () - Tells if some extra lines will be generated. Initial value is true.
obj.ShowLinesOff () - Tells if some extra lines will be generated. Initial value is true.
double = obj.GetLinesLength () - Length of the extra lines. This a stricly positive value.
Initial value is 1.0.
obj.SetLinesLength (double ) - Length of the extra lines. This a stricly positive value.
Initial value is 1.0.
long = obj.GetMTime () - Modified GetMTime because of Planes.