core
vil
file_formats
vil_bmp_info_header.h
Go to the documentation of this file.
1
// This is core/vil/file_formats/vil_bmp_info_header.h
2
#ifndef vil_bmp_info_header_h_
3
#define vil_bmp_info_header_h_
4
//:
5
// \file
6
// \author fsm
7
8
class
vil_stream
;
9
#include <iosfwd>
10
#ifdef _MSC_VER
11
# include <vcl_msvc_warnings.h>
12
#endif
13
14
struct
vil_bmp_info_header
15
{
16
enum
{
disk_size
= 4+4+4+4+4+4 };
// this is what is *on disk*.
17
unsigned
compression
;
// 4
18
unsigned
bitmap_size
;
// 4
19
unsigned
horiz_res
;
// 4
20
unsigned
verti_res
;
// 4
21
unsigned
colormapsize
;
// 4
22
unsigned
colorcount
;
// 4
23
24
vil_bmp_info_header
();
25
void
read
(
vil_stream
*);
26
void
write
(
vil_stream
*)
const
;
27
void
print
(std::ostream &)
const
;
28
};
29
30
#endif // vil_bmp_info_header_h_
vil_bmp_info_header::vil_bmp_info_header
vil_bmp_info_header()
Definition:
vil_bmp_info_header.cxx:17
vil_bmp_info_header::write
void write(vil_stream *) const
Definition:
vil_bmp_info_header.cxx:37
vil_bmp_info_header::colormapsize
unsigned colormapsize
Definition:
vil_bmp_info_header.h:21
vil_bmp_info_header::compression
unsigned compression
Definition:
vil_bmp_info_header.h:17
vil_bmp_info_header::disk_size
Definition:
vil_bmp_info_header.h:16
vil_stream
Stream interface for VIL image loaders.
Definition:
vil_stream.h:21
vil_bmp_info_header::read
void read(vil_stream *)
Definition:
vil_bmp_info_header.cxx:27
vil_bmp_info_header::bitmap_size
unsigned bitmap_size
Definition:
vil_bmp_info_header.h:18
vil_bmp_info_header::colorcount
unsigned colorcount
Definition:
vil_bmp_info_header.h:22
vil_bmp_info_header::verti_res
unsigned verti_res
Definition:
vil_bmp_info_header.h:20
vil_bmp_info_header::horiz_res
unsigned horiz_res
Definition:
vil_bmp_info_header.h:19
vil_bmp_info_header::print
void print(std::ostream &) const
Definition:
vil_bmp_info_header.cxx:47
vil_bmp_info_header
Definition:
vil_bmp_info_header.h:14
Generated by
1.8.15