Section: Visualization Toolkit Common Classes
To create an instance of class vtkStructuredVisibilityConstraint, simply invoke its constructor as follows
obj = vtkStructuredVisibilityConstraint
obj
is an instance of the vtkStructuredVisibilityConstraint class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkStructuredVisibilityConstraint = obj.NewInstance ()
vtkStructuredVisibilityConstraint = obj.SafeDownCast (vtkObject o)
char = obj.IsVisible (vtkIdType id)
- Returns 1 is the point/cell is visible, 0 otherwise.
obj.Blank (vtkIdType id)
- Sets the visibility flag of the given point/cell off.
The first time blank is called, a new visibility array
is created if it doesn't exist.
obj.UnBlank (vtkIdType id)
- Sets the visibility flag of the given point/cell on.
int = obj. GetDimensions ()
- Get the dimensions used to initialize the object.
obj.Initialize (int dims[3])
- Set the dimensions and set the Initialized flag to 1. Once
an object is initialized, it's dimensions can not be
changed anymore.
obj.SetVisibilityById (vtkUnsignedCharArray vis)
- Set/Get the array used to store the visibility flags.
vtkUnsignedCharArray = obj.GetVisibilityById ()
- Set/Get the array used to store the visibility flags.
obj.ShallowCopy (vtkStructuredVisibilityConstraint src)
- Copies the dimensions, the visibility array pointer
and the initialized flag.
obj.DeepCopy (vtkStructuredVisibilityConstraint src)
- Copies the dimensions, the visibility array
and the initialized flag.
char = obj.IsConstrained ()