15#ifndef vtkQtStringToImage_h
16#define vtkQtStringToImage_h
18#include "vtkRenderingQtModule.h"
22VTK_ABI_NAMESPACE_BEGIN
topologically and geometrically regular array of data
a simple class to control print indentation
Create image data from a QImage.
uses Qt to render the supplied text to an image.
vtkSmartPointer< vtkQImageToImageSource > QImageToImage
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkQtStringToImage * New()
void DeepCopy(vtkQtStringToImage *utility)
Make a deep copy of the supplied utility class.
Internals * Implementation
vtkVector2i GetBounds(vtkTextProperty *property, const vtkStdString &string, int dpi) override
Given a text property and a string, get the bounding box [xmin, xmax] x [ymin, ymax].
~vtkQtStringToImage() override
int RenderString(vtkTextProperty *property, const vtkStdString &string, int dpi, vtkImageData *data, int textDims[2]=nullptr) override
Given a text property and a string, this function initializes the vtkImageData *data and renders it i...
Hold a reference to a vtkObjectBase instance.
Wrapper around std::string to keep symbols short.
base class for classes that render supplied text to an image.
represent text properties.
Some derived classes for the different vectors commonly used.