Public Member Functions | Private Attributes | List of all members
IZ::PortableImage Class Reference

#include <portableimage.h>

Inheritance diagram for IZ::PortableImage:
Inheritance graph
[legend]

Public Member Functions

int components () const
 
 PortableImage ()
 
bool readHeader (const unsigned char *data)
 
void setComponents (int components)
 
unsigned char * writeHeader (unsigned char *data)
 
 ~PortableImage ()
 
- Public Member Functions inherited from IZ::Image<>
unsigned char * data () const
 
int height () const
 
ptrdiff_t samplesPerLine () const
 
void setData (unsigned char *data)
 
void setHeight (int height)
 
void setSamplesPerLine (ptrdiff_t samplesPerLine)
 
void setWidth (int width)
 
int width () const
 

Private Attributes

int m_components
 
int m_maxVal
 

Additional Inherited Members

- Protected Attributes inherited from IZ::Image<>
unsigned char * m_data
 
int m_height
 
ptrdiff_t m_spl
 
int m_width
 

Detailed Description

Definition at line 8 of file portableimage.h.

Constructor & Destructor Documentation

IZ::PortableImage::PortableImage ( )

Definition at line 119 of file portableimage.cpp.

IZ::PortableImage::~PortableImage ( )

Definition at line 124 of file portableimage.cpp.

Member Function Documentation

int IZ::PortableImage::components ( ) const
inline

Definition at line 16 of file portableimage.h.

bool IZ::PortableImage::readHeader ( const unsigned char *  data)

Definition at line 84 of file portableimage.cpp.

void IZ::PortableImage::setComponents ( int  components)
inline

Definition at line 19 of file portableimage.h.

unsigned char * IZ::PortableImage::writeHeader ( unsigned char *  data)

Definition at line 57 of file portableimage.cpp.

Member Data Documentation

int IZ::PortableImage::m_components
private

Definition at line 27 of file portableimage.h.

int IZ::PortableImage::m_maxVal
private

Definition at line 28 of file portableimage.h.


The documentation for this class was generated from the following files:


imagezero
Author(s):
autogenerated on Wed Jun 5 2019 22:02:47