#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. | |
This file contains the definition of a procedure which can be used to save a Morse decomposition to a PNG bitmap picture file.
Definition in file plotmdec.h.
| 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().
1.5.3