VTK
vtkOpenGLFreeTypeTextMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLFreeTypeTextMapper.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 =========================================================================*/
29 #ifndef __vtkOpenGLFreeTypeTextMapper_h
30 #define __vtkOpenGLFreeTypeTextMapper_h
31 
32 #include "vtkRenderingFreeTypeOpenGLModule.h" // For export macro
33 #include "vtkTextMapper.h"
34 
35 class VTKRENDERINGFREETYPEOPENGL_EXPORT vtkOpenGLFreeTypeTextMapper
36  : public vtkTextMapper
37 {
38 public:
41  virtual void PrintSelf(ostream& os, vtkIndent indent);
42 
44  void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
45 
49  virtual void ReleaseGraphicsResources(vtkWindow *);
50 
52  virtual void GetSize(vtkViewport* viewport, int size[2]);
53 
54 protected:
57 
59  int LastSize[2];
61 
62 private:
63  vtkOpenGLFreeTypeTextMapper(const vtkOpenGLFreeTypeTextMapper&); // Not implemented.
64  void operator=(const vtkOpenGLFreeTypeTextMapper&); // Not implemented.
65 };
66 
67 #endif