VTK
vtkAnnotationLayers.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAnnotationLayers.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
32 #ifndef vtkAnnotationLayers_h
33 #define vtkAnnotationLayers_h
34 
35 #include "vtkCommonDataModelModule.h" // For export macro
36 #include "vtkDataObject.h"
37 
38 class vtkAnnotation;
39 class vtkSelection;
40 
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  virtual void SetCurrentAnnotation(vtkAnnotation* ann);
51  vtkGetObjectMacro(CurrentAnnotation, vtkAnnotation);
53 
55 
57  virtual void SetCurrentSelection(vtkSelection* sel);
60 
62  unsigned int GetNumberOfAnnotations();
63 
65  vtkAnnotation* GetAnnotation(unsigned int idx);
66 
69 
72 
74  virtual void Initialize();
75 
78  virtual void ShallowCopy(vtkDataObject* other);
79 
82  virtual void DeepCopy(vtkDataObject* other);
83 
85 
89 
91  virtual unsigned long GetMTime();
92 
93 //BTX
94 protected:
97 
98  class Internals;
99  Internals* Implementation;
101 
102 private:
103  vtkAnnotationLayers(const vtkAnnotationLayers&); // Not implemented.
104  void operator=(const vtkAnnotationLayers&); // Not implemented.
105 //ETX
106 };
107 
108 #endif
vtkAnnotationLayers::GetMTime
virtual unsigned long GetMTime()
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkAnnotationLayers::vtkAnnotationLayers
vtkAnnotationLayers()
vtkAnnotationLayers::Initialize
virtual void Initialize()
vtkAnnotationLayers::ShallowCopy
virtual void ShallowCopy(vtkDataObject *other)
vtkCommonDataModelModule.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkAnnotationLayers::GetCurrentSelection
virtual vtkSelection * GetCurrentSelection()
vtkAnnotationLayers::DeepCopy
virtual void DeepCopy(vtkDataObject *other)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkAnnotationLayers::GetAnnotation
vtkAnnotation * GetAnnotation(unsigned int idx)
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkAnnotationLayers::New
static vtkAnnotationLayers * New()
vtkAnnotationLayers::GetData
static vtkAnnotationLayers * GetData(vtkInformationVector *v, int i=0)
vtkAnnotationLayers
Stores a ordered collection of annotation sets.
Definition: vtkAnnotationLayers.h:42
vtkAnnotationLayers::Implementation
Internals * Implementation
Definition: vtkAnnotationLayers.h:98
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkAnnotationLayers::RemoveAnnotation
void RemoveAnnotation(vtkAnnotation *ann)
vtkAnnotationLayers::CurrentAnnotation
vtkAnnotation * CurrentAnnotation
Definition: vtkAnnotationLayers.h:100
vtkAnnotation
Stores a collection of annotation artifacts.
Definition: vtkAnnotation.h:48
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkDataObject.h
vtkAnnotationLayers::AddAnnotation
void AddAnnotation(vtkAnnotation *ann)
vtkAnnotationLayers::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAnnotationLayers::GetNumberOfAnnotations
unsigned int GetNumberOfAnnotations()
vtkAnnotationLayers::SetCurrentAnnotation
virtual void SetCurrentAnnotation(vtkAnnotation *ann)
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkAnnotationLayers::SetCurrentSelection
virtual void SetCurrentSelection(vtkSelection *sel)
vtkAnnotationLayers::GetData
static vtkAnnotationLayers * GetData(vtkInformation *info)
vtkAnnotationLayers::~vtkAnnotationLayers
~vtkAnnotationLayers()