arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

NrroImage.cpp File Reference

#include "NrroImage.h"
#include <iostream>
#include <qstring.h>
#include <qcolor.h>

Go to the source code of this file.

Functions

QImage * genNrroQImage (const NrroSP n, const vec2d minmax)
 Factory Nrro -> QImage, quite automatic.


Function Documentation

QImage* genNrroQImage const NrroSP  n,
const vec2d  minmax
 

Factory Nrro -> QImage, quite automatic.

no nrro

not an image

is a time series

copy cuz were going to mess with it some

better be multi-channel, easier this way!!!

rgb

rgba

scalar scale

have to use this one, the "yourdata" one doesn't delete the buffer when it's done, no option to force it, crap!! TODO: figure out how to manage data created our buffers, can't have memory leaks

so slow, stupid Qt doesn't have nice ways to load an image from data

Definition at line 33 of file NrroImage.cpp.

References Nrro::IMAGE, n, Nrro::TIME_SERIES, x, and y.

Referenced by NrroCanvasImg::setNrro().


Send questions, comments, and bug reports to:
jmk