#include <util/netpbmimage.h>
◆ Format
Enumerator |
---|
PBM | |
Bitmap | |
PGM | |
Graymap | |
PPM | |
Color | |
◆ NetpbmImage() [1/2]
vistle::NetpbmImage::NetpbmImage |
( |
const std::string & |
name | ) |
|
◆ NetpbmImage() [2/2]
vistle::NetpbmImage::NetpbmImage |
( |
const std::string & |
name, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
NetpbmImage::Format |
format = PPM , |
|
|
unsigned |
highest = 0 |
|
) |
| |
◆ ~NetpbmImage()
vistle::NetpbmImage::~NetpbmImage |
( |
| ) |
|
|
virtual |
◆ append() [1/2]
bool vistle::NetpbmImage::append |
( |
float |
gray | ) |
|
◆ append() [2/2]
bool vistle::NetpbmImage::append |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ close()
bool vistle::NetpbmImage::close |
( |
| ) |
|
◆ complete()
bool vistle::NetpbmImage::complete |
( |
| ) |
const |
◆ format()
◆ gray()
const float * vistle::NetpbmImage::gray |
( |
| ) |
const |
◆ height()
unsigned vistle::NetpbmImage::height |
( |
| ) |
const |
◆ increaseRange()
void vistle::NetpbmImage::increaseRange |
( |
unsigned |
value | ) |
|
|
protected |
◆ max()
unsigned vistle::NetpbmImage::max |
( |
| ) |
const |
◆ min()
unsigned vistle::NetpbmImage::min |
( |
| ) |
const |
◆ rgb()
const unsigned char * vistle::NetpbmImage::rgb |
( |
| ) |
const |
◆ width()
unsigned vistle::NetpbmImage::width |
( |
| ) |
const |
◆ m_format
◆ m_fp
FILE* vistle::NetpbmImage::m_fp = nullptr |
|
protected |
◆ m_gray
std::vector<float> vistle::NetpbmImage::m_gray |
|
protected |
◆ m_height
unsigned vistle::NetpbmImage::m_height = 0 |
|
protected |
◆ m_highest
unsigned vistle::NetpbmImage::m_highest = 255 |
|
protected |
◆ m_max
unsigned vistle::NetpbmImage::m_max = 0 |
|
protected |
◆ m_min
unsigned vistle::NetpbmImage::m_min = std::numeric_limits<unsigned>::max() |
|
protected |
◆ m_numwritten
size_t vistle::NetpbmImage::m_numwritten = 0 |
|
protected |
◆ m_rgba
std::vector<unsigned char> vistle::NetpbmImage::m_rgba |
|
protected |
◆ m_width
unsigned vistle::NetpbmImage::m_width = 0 |
|
protected |
The documentation for this class was generated from the following files: