plotmdec.h File Reference

Plotting a Morse decomposition in a PNG picture. More...

#include "pngimage.h"
#include "colorpal.h"

Go to the source code of this file.

Functions

template<class MorseDecType>
void plotMorseDecompositionPNG (const MorseDecType &m, const char *filename, int size=0, bool colorBar=true, bool copyright=false)
 Saves all the Morse sets in the provided Morse decomposition to a PNG file.


Detailed Description

Plotting a Morse decomposition in a PNG picture.

This file contains the definition of a procedure which can be used to save a Morse decomposition to a PNG bitmap picture file.

Author:
Pawel Pilarczyk

Definition in file plotmdec.h.


Function Documentation

template<class MorseDecType>
void plotMorseDecompositionPNG ( const MorseDecType &  m,
const char *  filename,
int  size = 0,
bool  colorBar = true,
bool  copyright = false 
) [inline]

Saves all the Morse sets in the provided Morse decomposition to a PNG file.

The coordinates of all the boxes in the Morse sets must be non-negative and they should not exceed the size provided unless the size is zero and then the size of the file is adjusted so that all the Morse sets are contained in the picture. Throws an error message in case of failure.

Definition at line 52 of file plotmdec.h.

Referenced by Worker::Process(), and runSingeComp().


Generated on Sun Mar 28 17:47:58 2010 for The Conley-Morse Graphs Software by  doxygen 1.5.3