Section: Visualization Toolkit Graphics Classes
Typically this filter is used with vtkLabeledDataMapper (and possibly vtkSelectVisiblePoints) to create labels for points and cells, or labels for the point or cell data scalar values.
To create an instance of class vtkIdFilter, simply invoke its constructor as follows
obj = vtkIdFilter
obj
is an instance of the vtkIdFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkIdFilter = obj.NewInstance ()
vtkIdFilter = obj.SafeDownCast (vtkObject o)
obj.SetPointIds (int )
- Enable/disable the generation of point ids. Default is on.
int = obj.GetPointIds ()
- Enable/disable the generation of point ids. Default is on.
obj.PointIdsOn ()
- Enable/disable the generation of point ids. Default is on.
obj.PointIdsOff ()
- Enable/disable the generation of point ids. Default is on.
obj.SetCellIds (int )
- Enable/disable the generation of point ids. Default is on.
int = obj.GetCellIds ()
- Enable/disable the generation of point ids. Default is on.
obj.CellIdsOn ()
- Enable/disable the generation of point ids. Default is on.
obj.CellIdsOff ()
- Enable/disable the generation of point ids. Default is on.
obj.SetFieldData (int )
- Set/Get the flag which controls whether to generate scalar data
or field data. If this flag is off, scalar data is generated.
Otherwise, field data is generated. Default is off.
int = obj.GetFieldData ()
- Set/Get the flag which controls whether to generate scalar data
or field data. If this flag is off, scalar data is generated.
Otherwise, field data is generated. Default is off.
obj.FieldDataOn ()
- Set/Get the flag which controls whether to generate scalar data
or field data. If this flag is off, scalar data is generated.
Otherwise, field data is generated. Default is off.
obj.FieldDataOff ()
- Set/Get the flag which controls whether to generate scalar data
or field data. If this flag is off, scalar data is generated.
Otherwise, field data is generated. Default is off.
obj.SetIdsArrayName (string )
- Set/Get the name of the Ids array if generated. By default the Ids
are named "vtkIdFilter_Ids", but this can be changed with this function.
string = obj.GetIdsArrayName ()
- Set/Get the name of the Ids array if generated. By default the Ids
are named "vtkIdFilter_Ids", but this can be changed with this function.