Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkAnnotationLayers, simply invoke its constructor as follows
obj = vtkAnnotationLayers
obj is an instance of the vtkAnnotationLayers class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAnnotationLayers = obj.NewInstance ()
vtkAnnotationLayers = obj.SafeDownCast (vtkObject o)
obj.SetCurrentAnnotation (vtkAnnotation ann) - The current annotation associated with this annotation link.
vtkAnnotation = obj.GetCurrentAnnotation () - The current annotation associated with this annotation link.
obj.SetCurrentSelection (vtkSelection sel) - The current selection associated with this annotation link.
This is simply the selection contained in the current annotation.
vtkSelection = obj.GetCurrentSelection () - The current selection associated with this annotation link.
This is simply the selection contained in the current annotation.
int = obj.GetNumberOfAnnotations () - The number of annotations in a specific layer.
vtkAnnotation = obj.GetAnnotation (int idx) - Retrieve an annotation from a layer.
obj.AddAnnotation (vtkAnnotation ann) - Add an annotation to a layer.
obj.RemoveAnnotation (vtkAnnotation ann) - Remove an annotation from a layer.
obj.Initialize () - Initialize the data structure to an empty state.
obj.ShallowCopy (vtkDataObject other) - Copy data from another data object into this one
which references the same member annotations.
obj.DeepCopy (vtkDataObject other) - Copy data from another data object into this one,
performing a deep copy of member annotations.
long = obj.GetMTime () - The modified time for this object.