VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkOpenGLContextActor.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 =========================================================================*/ 00023 #ifndef vtkOpenGLContextActor_h 00024 #define vtkOpenGLContextActor_h 00025 00026 #include "vtkRenderingContextOpenGLModule.h" // For export macro 00027 #include "vtkContextActor.h" 00028 00029 class VTKRENDERINGCONTEXTOPENGL_EXPORT vtkOpenGLContextActor : public vtkContextActor 00030 { 00031 public: 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 vtkTypeMacro(vtkOpenGLContextActor, vtkContextActor); 00034 00035 static vtkOpenGLContextActor* New(); 00036 00040 virtual void ReleaseGraphicsResources(vtkWindow *window); 00041 00042 protected: 00043 vtkOpenGLContextActor(); 00044 ~vtkOpenGLContextActor(); 00045 00048 void Initialize(vtkViewport* viewport); 00049 00050 private: 00051 vtkOpenGLContextActor(const vtkOpenGLContextActor&); // Not implemented. 00052 void operator=(const vtkOpenGLContextActor&); // Not implemented. 00053 }; 00054 00055 #endif