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 "vtkAbstractContextItem.h" 00031 00032 class VTK_CHARTS_EXPORT vtkContextItem : public vtkAbstractContextItem 00033 { 00034 public: 00035 vtkTypeMacro(vtkContextItem, vtkAbstractContextItem); 00036 virtual void PrintSelf(ostream &os, vtkIndent indent); 00037 00039 00040 vtkGetMacro(Opacity, double); 00042 00044 00045 vtkSetMacro(Opacity, double); 00047 00048 //BTX 00049 protected: 00050 vtkContextItem(); 00051 ~vtkContextItem(); 00052 00053 double Opacity; 00054 00055 private: 00056 vtkContextItem(const vtkContextItem &); // Not implemented. 00057 void operator=(const vtkContextItem &); // Not implemented. 00058 //ETX 00059 }; 00060 00061 #endif //__vtkContextItem_h