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