00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOpenGLPolyDataMapper2D.h,v $ 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 =========================================================================*/ 00026 #ifndef __vtkOpenGLPolyDataMapper2D_h 00027 #define __vtkOpenGLPolyDataMapper2D_h 00028 00029 #include "vtkPolyDataMapper2D.h" 00030 00031 class VTK_RENDERING_EXPORT vtkOpenGLPolyDataMapper2D : public vtkPolyDataMapper2D 00032 { 00033 public: 00034 vtkTypeRevisionMacro(vtkOpenGLPolyDataMapper2D,vtkPolyDataMapper2D); 00035 static vtkOpenGLPolyDataMapper2D *New(); 00036 virtual void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor); 00040 00041 protected: 00042 vtkOpenGLPolyDataMapper2D() {}; 00043 ~vtkOpenGLPolyDataMapper2D() {}; 00044 00045 private: 00046 vtkOpenGLPolyDataMapper2D(const vtkOpenGLPolyDataMapper2D&); // Not implemented. 00047 void operator=(const vtkOpenGLPolyDataMapper2D&); // Not implemented. 00048 }; 00049 00050 00051 #endif 00052