MLABGraphic Class Reference
[Scripting]

Global MLABGraphic object available in all scripts. More...

List of all members.

Public Slots

Graphic methods
bool convertImage (const QString &input, const QString &out)
bool createDesktopScreenshot (const QString &filename)
bool createIDEScreenshot (const QString &filename)
void createPieChart (const QString &filename, int size, const QStringList &values, const QStringList &colors, const QStringList &texts, const QStringList &legendcolors)
bool createScaledImage (const QString &input, const QString &out, int width, int height)
bool createScaledImage (const QString &input, const QString &out, int width)
bool createThumbNail (const QString &input, const QString &thumb, int size)


Detailed Description

Global MLABGraphic object available in all scripts.

The MLABGraphic object can be used to work with 2d image files


Member Function Documentation

bool MLABGraphic::convertImage ( const QString &  input,
const QString &  out 
) [slot]

copies the given image to the output file by converting the image format

bool MLABGraphic::createDesktopScreenshot ( const QString &  filename  )  [slot]

grab the whole desktop

bool MLABGraphic::createIDEScreenshot ( const QString &  filename  )  [slot]

grab the MeVisLab IDE window

void MLABGraphic::createPieChart ( const QString &  filename,
int  size,
const QStringList &  values,
const QStringList &  colors,
const QStringList &  texts,
const QStringList &  legendcolors 
) [slot]

draw a piechart

bool MLABGraphic::createScaledImage ( const QString &  input,
const QString &  out,
int  width,
int  height 
) [slot]

creates a scaled image (aspectRatio is NOT kept)

bool MLABGraphic::createScaledImage ( const QString &  input,
const QString &  out,
int  width 
) [slot]

creates a scaled image (aspectRatio is kept, height is calculated depending on the width)

bool MLABGraphic::createThumbNail ( const QString &  input,
const QString &  thumb,
int  size 
) [slot]

create a thumbnail for the given image


Generated on Sat Sep 3 18:38:02 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8