#include <pnm_grok.h>
Public Member Functions | |
int | channels () |
long | elements_per_line () const |
void | get_raw_pixel_lines (unsigned short *, unsigned long nlines) |
void | get_raw_pixel_lines (unsigned char *, unsigned long nlines) |
bool | is_2_byte () const |
pnm_in (std::istream &) | |
long | x_size () const |
long | y_size () const |
Private Member Functions | |
bool | can_proc_lines (unsigned long) |
void | read_header () |
Private Attributes | |
std::istream & | i |
bool | is_text |
int | lines_so_far |
int | m_channels |
bool | m_is_2_byte |
int | maxval |
int | type |
long | xs |
long | ys |
Definition at line 35 of file pnm_grok.h.
CVD::PNM::pnm_in::pnm_in | ( | std::istream & | ) |
bool CVD::PNM::pnm_in::can_proc_lines | ( | unsigned | long | ) | [private] |
int CVD::PNM::pnm_in::channels | ( | ) | [inline] |
Definition at line 40 of file pnm_grok.h.
long CVD::PNM::pnm_in::elements_per_line | ( | ) | const [inline] |
Definition at line 43 of file pnm_grok.h.
void CVD::PNM::pnm_in::get_raw_pixel_lines | ( | unsigned short * | , | |
unsigned long | nlines | |||
) |
void CVD::PNM::pnm_in::get_raw_pixel_lines | ( | unsigned char * | , | |
unsigned long | nlines | |||
) |
bool CVD::PNM::pnm_in::is_2_byte | ( | ) | const [inline] |
Definition at line 39 of file pnm_grok.h.
void CVD::PNM::pnm_in::read_header | ( | ) | [private] |
long CVD::PNM::pnm_in::x_size | ( | ) | const [inline] |
Definition at line 41 of file pnm_grok.h.
long CVD::PNM::pnm_in::y_size | ( | ) | const [inline] |
Definition at line 42 of file pnm_grok.h.
std::istream& CVD::PNM::pnm_in::i [private] |
Definition at line 49 of file pnm_grok.h.
bool CVD::PNM::pnm_in::is_text [private] |
Definition at line 50 of file pnm_grok.h.
int CVD::PNM::pnm_in::lines_so_far [private] |
Definition at line 52 of file pnm_grok.h.
int CVD::PNM::pnm_in::m_channels [private] |
Definition at line 57 of file pnm_grok.h.
bool CVD::PNM::pnm_in::m_is_2_byte [private] |
Definition at line 56 of file pnm_grok.h.
int CVD::PNM::pnm_in::maxval [private] |
Definition at line 51 of file pnm_grok.h.
int CVD::PNM::pnm_in::type [private] |
Definition at line 51 of file pnm_grok.h.
long CVD::PNM::pnm_in::xs [private] |
Definition at line 55 of file pnm_grok.h.
long CVD::PNM::pnm_in::ys [private] |
Definition at line 55 of file pnm_grok.h.