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 "vtkTextMapper.h"
33 
34 //#include <FTGL.h>
35 //
36 //#ifdef FTGL_USE_NAMESPACE
37 //namespace ftgl
38 //{
39 //#endif
40 //BTX
41 //class FTFont;
42 //ETX
43 //#ifdef FTGL_USE_NAMESPACE
44 //}
45 //#endif
46 
48 {
49 public:
52  virtual void PrintSelf(ostream& os, vtkIndent indent);
53 
55  void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
56 
60  virtual void ReleaseGraphicsResources(vtkWindow *);
61 
63  virtual void GetSize(vtkViewport* viewport, int size[2]);
64 
65 protected:
68 
70  int LastSize[2];
72 
73 private:
74  vtkOpenGLFreeTypeTextMapper(const vtkOpenGLFreeTypeTextMapper&); // Not implemented.
75  void operator=(const vtkOpenGLFreeTypeTextMapper&); // Not implemented.
76 };
77 
78 
79 #endif
80