VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkContextItem.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 00027 #ifndef vtkContextItem_h 00028 #define vtkContextItem_h 00029 00030 #include "vtkRenderingContext2DModule.h" // For export macro 00031 #include "vtkAbstractContextItem.h" 00032 00033 class VTKRENDERINGCONTEXT2D_EXPORT vtkContextItem : public vtkAbstractContextItem 00034 { 00035 public: 00036 vtkTypeMacro(vtkContextItem, vtkAbstractContextItem); 00037 virtual void PrintSelf(ostream &os, vtkIndent indent); 00038 00040 00041 vtkGetMacro(Opacity, double); 00043 00045 00046 vtkSetMacro(Opacity, double); 00048 00049 //BTX 00050 protected: 00051 vtkContextItem(); 00052 ~vtkContextItem(); 00053 00054 double Opacity; 00055 00056 private: 00057 vtkContextItem(const vtkContextItem &); // Not implemented. 00058 void operator=(const vtkContextItem &); // Not implemented. 00059 //ETX 00060 }; 00061 00062 #endif //vtkContextItem_h