Nori
|
Stores a RGB high dynamic-range bitmap. More...
#include <bitmap.h>
Public Types | |
typedef Eigen::Array< Color3f, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | Base |
Public Member Functions | |
Bitmap (const Vector2i &size) | |
Allocate a new bitmap of the specified size. | |
Bitmap (const QString &filename) | |
Load an OpenEXR file with the specified filename. | |
void | save (const QString &filename) |
Save the bitmap as an EXR file with the specified filename. |
Stores a RGB high dynamic-range bitmap.
The bitmap class provides I/O support using the OpenEXR file format
typedef Eigen::Array<Color3f, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> Bitmap::Base |
Bitmap::Bitmap | ( | const Vector2i & | size | ) | [inline] |
Bitmap::Bitmap | ( | const QString & | filename | ) |
Load an OpenEXR file with the specified filename.
void Bitmap::save | ( | const QString & | filename | ) |
Save the bitmap as an EXR file with the specified filename.