MRoot Class Reference
[Module implementations]

The root module implementation. More...

#include <root.h>

Inheritance diagram for MRoot:

Inheritance graph
[legend]
Collaboration diagram for MRoot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

IRoot interface
Mode getMode ()
 A status-query method.
QImage toImage ()
 Saves current decoding state into a QImage.
bool encode (const QImage &toEncode, const UpdateInfo &updateInfo)
 Encodes an image - returns false on exception, getMode() have to be to be Clear.
void decodeAct (DecodeAct action, int count=1)
 Performs a decoding action (e.g. clearing, multiple iteration).
bool toStream (std::ostream &file)
 Saves an encoded image into a stream, returns true on success.
bool fromStream (std::istream &file, int zoom)
 Loads image from a file - returns true on success (to be run on in Clear state), can load in bigger size: dimension == orig_dim*2^zoom.

Protected Types

enum  Settings
 Indices for settings.

Protected Attributes

Mode myMode
 the mode of the tree, returned by getMode
int width
 zoomed width of the image
int height
 zoomed height of the image
int zoom
 the zoom used (dimensions multiplied by 2^zoom)


Detailed Description

The root module implementation.

Controls the number of encoding threads, the color-transforming module (IColorTransformer) the pixel-shape-transforming module (IShapeTransformer), quality 0-100%, the module for quality conversion (IQuality2SE) and the maximum domain count.

Definition at line 13 of file root.h.


The documentation for this class was generated from the following files:

Generated on Thu Aug 6 22:33:15 2009 for Fractal Image Compressor by  doxygen 1.5.8