VTK
vtkContextItem.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContextItem.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
27 #ifndef vtkContextItem_h
28 #define vtkContextItem_h
29 
30 #include "vtkRenderingContext2DModule.h" // For export macro
31 #include "vtkAbstractContextItem.h"
32 
34 {
35 public:
37  virtual void PrintSelf(ostream &os, vtkIndent indent);
38 
40 
41  vtkGetMacro(Opacity, double);
43 
45 
46  vtkSetMacro(Opacity, double);
48 
49 //BTX
50 protected:
52  ~vtkContextItem();
53 
54  double Opacity;
55 
56 private:
57  vtkContextItem(const vtkContextItem &); // Not implemented.
58  void operator=(const vtkContextItem &); // Not implemented.
59 //ETX
60 };
61 
62 #endif //vtkContextItem_h
base class for items that are part of a vtkContextScene.
#define VTKRENDERINGCONTEXT2D_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
base class for items that are part of a vtkContextScene.
virtual void PrintSelf(ostream &os, vtkIndent indent)