|
last update 20 Sep 2009 |
|
#include <cvrIOBMP.h>
Public Member Functions | |
| header () | |
| bool | read (std::ifstream &in) |
| bool | write (std::ofstream &out) const |
| int | length () const |
Public Attributes | |
| const uint16 | type |
| uint32 | size |
| const uint16 | reserved1 |
| const uint16 | reserved2 |
| uint32 | offsetPixels |
This class is defined within the class cvr::ioBMP.
| cvr::ioBMP::ioBMP::header::header | ( | ) |
default constructor
| int cvr::ioBMP::ioBMP::header::length | ( | ) | const [inline] |
size of the header (in bytes)
| bool cvr::ioBMP::ioBMP::header::read | ( | std::ifstream & | in | ) |
| bool cvr::ioBMP::ioBMP::header::write | ( | std::ofstream & | out | ) | const |
| uint32 cvr::ioBMP::ioBMP::header::offsetPixels |
offset (in bytes) from this header to the bitmap pixels
| const uint16 cvr::ioBMP::ioBMP::header::reserved1 |
must be 0
| const uint16 cvr::ioBMP::ioBMP::header::reserved2 |
must be 0
| uint32 cvr::ioBMP::ioBMP::header::size |
file size in byte
| const uint16 cvr::ioBMP::ioBMP::header::type |
file type.
For Bitmaps this must be 'BM'