Rendering/vtkOpenGLFreeTypeTextMapper.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00043 #ifndef __vtkOpenGLFreeTypeTextMapper_h
00044 #define __vtkOpenGLFreeTypeTextMapper_h
00045
00046 #include "vtkTextMapper.h"
00047
00048
00049 class FTFont;
00050
00051
00052 class VTK_RENDERING_EXPORT vtkOpenGLFreeTypeTextMapper : public vtkTextMapper
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkOpenGLFreeTypeTextMapper,vtkTextMapper);
00056 static vtkOpenGLFreeTypeTextMapper *New();
00057 virtual void PrintSelf(ostream& os, vtkIndent indent);
00058
00060 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor);
00061
00065 virtual void ReleaseGraphicsResources(vtkWindow *);
00066
00068 virtual void GetSize(vtkViewport* viewport, int size[2]);
00069
00070 protected:
00071 vtkOpenGLFreeTypeTextMapper();
00072 ~vtkOpenGLFreeTypeTextMapper();
00073
00074 vtkTimeStamp SizeBuildTime;
00075 int LastSize[2];
00076 int LastLargestDescender;
00077
00078 private:
00079 vtkOpenGLFreeTypeTextMapper(const vtkOpenGLFreeTypeTextMapper&);
00080 void operator=(const vtkOpenGLFreeTypeTextMapper&);
00081 };
00082
00083
00084 #endif
00085