VTK
vtkAnnotation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAnnotation.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 
35 #ifndef vtkAnnotation_h
36 #define vtkAnnotation_h
37 
38 #include "vtkCommonDataModelModule.h" // For export macro
39 #include "vtkDataObject.h"
40 
45 class vtkSelection;
46 
48 {
49 public:
51  void PrintSelf(ostream& os, vtkIndent indent);
52  static vtkAnnotation* New();
53 
55 
57  virtual void SetSelection(vtkSelection* selection);
59 
61 
65 
68 
72 
76 
79 
83 
86 
89 
91  virtual void Initialize();
92 
95  virtual void ShallowCopy(vtkDataObject* other);
96 
99  virtual void DeepCopy(vtkDataObject* other);
100 
102  virtual unsigned long GetMTime();
103 
104 //BTX
105 protected:
108 
110 
111 private:
112  vtkAnnotation(const vtkAnnotation&); // Not implemented.
113  void operator=(const vtkAnnotation&); // Not implemented.
114 //ETX
115 };
116 
117 #endif
118 
vtkInformationStringKey
Key for string values in vtkInformation.
Definition: vtkInformationStringKey.h:34
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkAnnotation::~vtkAnnotation
~vtkAnnotation()
vtkAnnotation::GetData
static vtkAnnotation * GetData(vtkInformation *info)
vtkCommonDataModelModule.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkInformationDataObjectKey
Key for vtkDataObject values.
Definition: vtkInformationDataObjectKey.h:33
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
vtkAnnotation::New
static vtkAnnotation * New()
vtkAnnotation::COLOR
static vtkInformationDoubleVectorKey * COLOR()
vtkSelection
A node in a selection tree. Used to store selection results.
Definition: vtkSelection.h:45
vtkInformationDoubleKey
Key for double values in vtkInformation.
Definition: vtkInformationDoubleKey.h:34
vtkAnnotation::GetMTime
virtual unsigned long GetMTime()
vtkAnnotation::DATA
static vtkInformationDataObjectKey * DATA()
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:34
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkAnnotation::OPACITY
static vtkInformationDoubleKey * OPACITY()
vtkAnnotation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkAnnotation::DeepCopy
virtual void DeepCopy(vtkDataObject *other)
vtkAnnotation::LABEL
static vtkInformationStringKey * LABEL()
vtkAnnotation
Stores a collection of annotation artifacts.
Definition: vtkAnnotation.h:48
vtkAnnotation::ShallowCopy
virtual void ShallowCopy(vtkDataObject *other)
vtkAnnotation::Initialize
virtual void Initialize()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkAnnotation::Selection
vtkSelection * Selection
Definition: vtkAnnotation.h:109
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkAnnotation::vtkAnnotation
vtkAnnotation()
vtkAnnotation::SetSelection
virtual void SetSelection(vtkSelection *selection)
vtkDataObject.h
vtkInformationDoubleVectorKey
Key for double vector values.
Definition: vtkInformationDoubleVectorKey.h:34
vtkAnnotation::HIDE
static vtkInformationIntegerKey * HIDE()
vtkAnnotation::GetData
static vtkAnnotation * GetData(vtkInformationVector *v, int i=0)
vtkAnnotation::ICON_INDEX
static vtkInformationIntegerKey * ICON_INDEX()
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkInformationIntegerVectorKey
Key for integer vector values.
Definition: vtkInformationIntegerVectorKey.h:31
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkAnnotation::ENABLE
static vtkInformationIntegerKey * ENABLE()