Go to the documentation of this file.
30 #ifndef vtkMatplotlibMathTextUtilities_h
31 #define vtkMatplotlibMathTextUtilities_h
40 class vtkPythonInterpreter;
77 int dpi,
int textDims[2] = NULL);
154 static Availability CheckMPLAvailability();
155 static void DisableMPL()
157 MPLMathTextAvailable = UNAVAILABLE;
163 static Availability MPLMathTextAvailable;
static vtkMatplotlibMathTextUtilities * New()
PyObject * GetFontProperties(vtkTextProperty *tprop)
GLsizei GLsizei GLenum GLenum const GLvoid * data
Access to MatPlotLib MathText rendering.
bool GetBoundingBox(vtkTextProperty *tprop, const char *str, int dpi, int bbox[4])
bool InitializeMaskParser()
concrete dataset representing a path defined by Bezier curves.
#define vtkTypeMacro(thisClass, superclass)
Abstract interface to equation rendering.
virtual ~vtkMatplotlibMathTextUtilities()
topologically and geometrically regular array of data
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
GLsizei const GLchar ** path
bool CheckForError(PyObject *object)
PyObject * FontPropertiesClass
#define vtkGetMacro(name, type)
static void RotateCorners(double angleDeg, double corners[4][2], double bbox[4])
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
bool InitializePathParser()
bool GetMetrics(vtkTextProperty *tprop, const char *str, int dpi, vtkTextRenderer::Metrics &metrics)
bool RenderString(const char *str, vtkImageData *data, vtkTextProperty *tprop, int dpi, int textDims[2]=NULL)
bool StringToPath(const char *str, vtkPath *path, vtkTextProperty *tprop, int dpi)
vtkMatplotlibMathTextUtilities()
bool InitializeFontPropertiesClass()
void CleanupPythonObjects()
virtual bool IsAvailable()
bool PrepareImageData(vtkImageData *data, int bbox[4])
#define VTKRENDERINGMATPLOTLIB_EXPORT
vtkPythonInterpreter * Interpreter
static void GetJustifiedBBox(int rows, int cols, vtkTextProperty *tprop, int bbox[4])