33#ifndef vtkAnnotationLayers_h
34#define vtkAnnotationLayers_h
36#include "vtkCommonDataModelModule.h"
Stores a ordered collection of annotation sets.
vtkAnnotation * CurrentAnnotation
vtkAnnotation * GetAnnotation(unsigned int idx)
Retrieve an annotation from a layer.
void Initialize() override
Initialize the data structure to an empty state.
void ShallowCopy(vtkDataObject *other) override
Copy data from another data object into this one which references the same member annotations.
virtual void SetCurrentAnnotation(vtkAnnotation *ann)
The current annotation associated with this annotation link.
static vtkAnnotationLayers * GetData(vtkInformationVector *v, int i=0)
Retrieve a vtkAnnotationLayers stored inside an information object.
void DeepCopy(vtkDataObject *other) override
Copy data from another data object into this one, performing a deep copy of member annotations.
static vtkAnnotationLayers * GetData(vtkInformation *info)
Retrieve a vtkAnnotationLayers stored inside an information object.
unsigned int GetNumberOfAnnotations()
The number of annotations in a specific layer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAnnotationLayers * New()
Internals * Implementation
int GetDataObjectType() override
Returns VTK_ANNOTATION.
~vtkAnnotationLayers() override
void AddAnnotation(vtkAnnotation *ann)
Add an annotation to a layer.
vtkMTimeType GetMTime() override
The modified time for this object.
virtual vtkSelection * GetCurrentSelection()
The current selection associated with this annotation link.
void RemoveAnnotation(vtkAnnotation *ann)
Remove an annotation from a layer.
virtual void SetCurrentSelection(vtkSelection *sel)
The current selection associated with this annotation link.
Stores a collection of annotation artifacts.
general representation of visualization data
a simple class to control print indentation
data object that represents a "selection" in VTK.
vtkTypeUInt32 vtkMTimeType
#define VTK_ANNOTATION_LAYERS