Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkMaskFields, simply invoke its constructor as follows
obj = vtkMaskFields
obj
is an instance of the vtkMaskFields class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkMaskFields = obj.NewInstance ()
vtkMaskFields = obj.SafeDownCast (vtkObject o)
obj.CopyFieldOn (int fieldLocation, string name)
- Turn on/off the copying of the field or specified by name.
During the copying/passing, the following rules are followed for each
array:
1. If the copy flag for an array is set (on or off), it is applied
This overrides rule 2.
2. If CopyAllOn is set, copy the array.
If CopyAllOff is set, do not copy the array
A field name and a location must be specified. For example:
@verbatim
maskFields->CopyFieldOff(vtkMaskFields::CELL_DATA, "foo");
@endverbatim
causes the field "foo" on the input cell data to not get copied
to the output.
obj.CopyFieldOff (int fieldLocation, string name)
- Turn on/off the copying of the attribute or specified by vtkDataSetAttributes:AttributeTypes.
During the copying/passing, the following rules are followed for each
array:
1. If the copy flag for an array is set (on or off), it is applied
This overrides rule 2.
2. If CopyAllOn is set, copy the array.
If CopyAllOff is set, do not copy the array
An attribute type and a location must be specified. For example:
@verbatim
maskFields->CopyAttributeOff(vtkMaskFields::POINT_DATA, vtkDataSetAttributes::SCALARS);
@endverbatim
causes the scalars on the input point data to not get copied
to the output.
obj.CopyAttributeOn (int attributeLocation, int attributeType)
- Turn on/off the copying of the attribute or specified by vtkDataSetAttributes:AttributeTypes.
During the copying/passing, the following rules are followed for each
array:
1. If the copy flag for an array is set (on or off), it is applied
This overrides rule 2.
2. If CopyAllOn is set, copy the array.
If CopyAllOff is set, do not copy the array
An attribute type and a location must be specified. For example:
@verbatim
maskFields->CopyAttributeOff(vtkMaskFields::POINT_DATA, vtkDataSetAttributes::SCALARS);
@endverbatim
causes the scalars on the input point data to not get copied
to the output.
obj.CopyAttributeOff (int attributeLocation, int attributeType)
- Convenience methods which operate on all field data or
attribute data. More specific than CopyAllOn or CopyAllOff
obj.CopyFieldsOff ()
- Convenience methods which operate on all field data or
attribute data. More specific than CopyAllOn or CopyAllOff
obj.CopyAttributesOff ()
obj.CopyFieldsOn ()
obj.CopyAttributesOn ()
- Helper methods used by other language bindings. Allows the caller to
specify arguments as strings instead of enums.
obj.CopyAttributeOn (string attributeLoc, string attributeType)
- Helper methods used by other language bindings. Allows the caller to
specify arguments as strings instead of enums.
obj.CopyAttributeOff (string attributeLoc, string attributeType)
- Helper methods used by other language bindings. Allows the caller to
specify arguments as strings instead of enums.
obj.CopyFieldOn (string fieldLoc, string name)
- Helper methods used by other language bindings. Allows the caller to
specify arguments as strings instead of enums.
obj.CopyFieldOff (string fieldLoc, string name)
- Helper methods used by other language bindings. Allows the caller to
specify arguments as strings instead of enums.
obj.CopyAllOn ()
- Turn on copying of all data.
During the copying/passing, the following rules are followed for each
array:
1. If the copy flag for an array is set (on or off), it is applied
This overrides rule 2.
2. If CopyAllOn is set, copy the array.
If CopyAllOff is set, do not copy the array
obj.CopyAllOff ()
- Turn off copying of all data.
During the copying/passing, the following rules are followed for each
array:
1. If the copy flag for an array is set (on or off), it is applied
This overrides rule 2.
2. If CopyAllOn is set, copy the array.
If CopyAllOff is set, do not copy the array