Go to the documentation of this file.
26 #ifndef vtkQtStringToImage_h
27 #define vtkQtStringToImage_h
67 int textDims[2] = NULL);
71 int textDims[2] = NULL);
91 #endif //vtkQtStringToImage_h
GLsizei GLsizei GLenum GLenum const GLvoid * data
Internals * Implementation
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkUnicodeString &string, int dpi)
#define vtkTypeMacro(thisClass, superclass)
uses Qt to render the supplied text to an image.
#define VTKRENDERINGQT_EXPORT
virtual vtkVector2i GetBounds(vtkTextProperty *property, const vtkStdString &string, int dpi)
static vtkQtStringToImage * New()
Create image data from a QImage.
topologically and geometrically regular array of data
a simple class to control print indentation
String class that stores Unicode text.
vtkSmartPointer< vtkQImageToImageSource > QImageToImage
represent text properties.
uses Qt to render the supplied text to an image.
virtual int RenderString(vtkTextProperty *property, const vtkUnicodeString &string, int dpi, vtkImageData *data, int textDims[2]=NULL)
Wrapper around std::string to keep symbols short.
void DeepCopy(vtkQtStringToImage *utility)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual int RenderString(vtkTextProperty *property, const vtkStdString &string, int dpi, vtkImageData *data, int textDims[2]=NULL)