Nori

Bitmap Class Reference

Stores a RGB high dynamic-range bitmap. More...

#include <bitmap.h>

List of all members.

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.

Detailed Description

Stores a RGB high dynamic-range bitmap.

The bitmap class provides I/O support using the OpenEXR file format

Definition at line 32 of file bitmap.h.


Member Typedef Documentation

typedef Eigen::Array<Color3f, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> Bitmap::Base

Definition at line 34 of file bitmap.h.


Constructor & Destructor Documentation

Bitmap::Bitmap ( const Vector2i size) [inline]

Allocate a new bitmap of the specified size.

The contents will initially be undefined, so make sure to call clear() if necessary

Definition at line 42 of file bitmap.h.

Bitmap::Bitmap ( const QString &  filename)

Load an OpenEXR file with the specified filename.


Member Function Documentation

void Bitmap::save ( const QString &  filename)

Save the bitmap as an EXR file with the specified filename.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines