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
28#ifndef vtkContextItem_h
29#define vtkContextItem_h
30
31#include "vtkRenderingContext2DModule.h" // For export macro
33
34class VTKRENDERINGCONTEXT2D_EXPORT vtkContextItem : public vtkAbstractContextItem
35{
36public:
38 virtual void PrintSelf(ostream &os, vtkIndent indent);
39
41
44 vtkGetMacro(Opacity, double);
46
48
52 vtkSetMacro(Opacity, double);
54
55protected:
58
59 double Opacity;
60
61private:
62 vtkContextItem(const vtkContextItem &) VTK_DELETE_FUNCTION;
63 void operator=(const vtkContextItem &) VTK_DELETE_FUNCTION;
64
65};
66
67#endif //vtkContextItem_h
base class for items that are part of a vtkContextScene.
base class for items that are part of a vtkContextScene.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.