Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkExtractSelectedFrustum, simply invoke its constructor as follows
obj = vtkExtractSelectedFrustum
obj
is an instance of the vtkExtractSelectedFrustum class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkExtractSelectedFrustum = obj.NewInstance ()
vtkExtractSelectedFrustum = obj.SafeDownCast (vtkObject o)
long = obj.GetMTime ()
- Return the MTime taking into account changes to the Frustum
obj.SetFrustum (vtkPlanes )
- Set the selection frustum. The planes object must contain six planes.
vtkPlanes = obj.GetFrustum ()
- Set the selection frustum. The planes object must contain six planes.
obj.CreateFrustum (double vertices[32])
- Given eight vertices, creates a frustum.
each pt is x,y,z,1
in the following order
near lower left, far lower left
near upper left, far upper left
near lower right, far lower right
near upper right, far upper right
vtkPoints = obj.GetClipPoints ()
- Return eight points that define the selection frustum. Valid if
create Frustum was used, invalid if SetFrustum was.
obj.SetFieldType (int )
- Sets/gets the intersection test type.
int = obj.GetFieldType ()
- Sets/gets the intersection test type.
obj.SetContainingCells (int )
- Sets/gets the intersection test type. Only meaningful when fieldType is
vtkSelection::POINT
int = obj.GetContainingCells ()
- Sets/gets the intersection test type. Only meaningful when fieldType is
vtkSelection::POINT
int = obj.OverallBoundsTest (double bounds)
- Does a quick test on the AABBox defined by the bounds.
obj.SetShowBounds (int )
- When On, this returns an unstructured grid that outlines selection area.
Off is the default.
int = obj.GetShowBounds ()
- When On, this returns an unstructured grid that outlines selection area.
Off is the default.
obj.ShowBoundsOn ()
- When On, this returns an unstructured grid that outlines selection area.
Off is the default.
obj.ShowBoundsOff ()
- When On, this returns an unstructured grid that outlines selection area.
Off is the default.
obj.SetInsideOut (int )
- When on, extracts cells outside the frustum instead of inside.
int = obj.GetInsideOut ()
- When on, extracts cells outside the frustum instead of inside.
obj.InsideOutOn ()
- When on, extracts cells outside the frustum instead of inside.
obj.InsideOutOff ()
- When on, extracts cells outside the frustum instead of inside.