VTK
vtkQtStringToImage.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQtStringToImage.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 =========================================================================*/
15 
26 #ifndef __vtkQtStringToImage_h
27 #define __vtkQtStringToImage_h
28 
29 #include "vtkStringToImage.h"
30 #include "vtkSmartPointer.h" // For SP ivars
31 
33 
35 {
36 public:
38  virtual void PrintSelf(ostream &os, vtkIndent indent);
39 
40  static vtkQtStringToImage *New();
41 
43 
52  virtual vtkVector2i GetBounds(vtkTextProperty *property,
53  const vtkUnicodeString& string);
54  virtual vtkVector2i GetBounds(vtkTextProperty *property,
55  const vtkStdString& string);
57 
59 
61  virtual int RenderString(vtkTextProperty *property,
62  const vtkUnicodeString& string,
64  virtual int RenderString(vtkTextProperty *property,
65  const vtkStdString& string,
68 
70  void DeepCopy(vtkQtStringToImage *utility);
71 
72 protected:
75 
76  class Internals;
77  Internals* Implementation;
78 
80 
81 private:
82  vtkQtStringToImage(const vtkQtStringToImage &); // Not implemented.
83  void operator=(const vtkQtStringToImage &); // Not implemented.
84 };
85 
86 #endif //__vtkQtStringToImage_h