CVD::PNM::pnm_in Class Reference

#include <pnm_grok.h>

List of all members.

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

Detailed Description

Definition at line 35 of file pnm_grok.h.


Constructor & Destructor Documentation

CVD::PNM::pnm_in::pnm_in ( std::istream &   ) 

Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 52 of file pnm_grok.h.

Definition at line 57 of file pnm_grok.h.

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.


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


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:14:00 2013