BALL::VIEW::PixelFormat Class Reference
#include <BALL/VIEW/RENDERING/pixelFormat.h>
List of all members.
|
Public Types |
| enum | { MAX_NUMBER_OF_CHANNELS = 4
} |
| enum | { PLANAR_FRAMEBUFFER = 1<<1
} |
Public Member Functions |
| | PixelFormat () |
| | PixelFormat (const ChannelFormat &c0, unsigned int flags=0) |
| | PixelFormat (const ChannelFormat &c0, const ChannelFormat &c1, unsigned int flags=0) |
| | PixelFormat (const ChannelFormat &c0, const ChannelFormat &c1, const ChannelFormat &c2, unsigned int flags=0) |
| | PixelFormat (const ChannelFormat &c0, const ChannelFormat &c1, const ChannelFormat &c2, const ChannelFormat &c3, unsigned int flags=0) |
| unsigned int | getNumChannels () const |
| const ChannelFormat & | getChannel (unsigned int i) const |
| ChannelFormat & | getChannel (unsigned int i) |
| const ChannelFormat & | operator[] (unsigned int i) const |
| ChannelFormat & | operator[] (unsigned int i) |
| unsigned int | getFlags () const |
| void | setFlags (unsigned int f) |
| unsigned int | computeBitSize () const |
| unsigned int | computeByteSize () const |
| PixelFormat & | operator= (const PixelFormat &f) |
| bool | operator== (const PixelFormat &f) const |
| bool | operator!= (const PixelFormat &f) const |
| void | print (std::ostream &o) const |
Static Public Attributes |
| static const PixelFormat | RGB_24 |
| static const PixelFormat | BGR_24 |
| static const PixelFormat | RGB_32 |
| static const PixelFormat | RGBA_32 |
| static const PixelFormat | BGR_32 |
| static const PixelFormat | BGRA_32 |
| static const PixelFormat | RGB_3_2_2 |
| static const PixelFormat | RGBF_96 |
Private Attributes |
| ChannelFormat | channels [MAX_NUMBER_OF_CHANNELS] |
| unsigned int | numChannels |
| unsigned int | flags |
Member Enumeration Documentation
Constructor & Destructor Documentation
| BALL::VIEW::PixelFormat::PixelFormat |
( |
|
) |
[inline] |
| BALL::VIEW::PixelFormat::PixelFormat |
( |
const ChannelFormat & |
c0, |
|
|
unsigned int |
flags = 0 | |
|
) |
| | [inline] |
Member Function Documentation
| unsigned int BALL::VIEW::PixelFormat::computeBitSize |
( |
|
) |
const [inline] |
| unsigned int BALL::VIEW::PixelFormat::computeByteSize |
( |
|
) |
const [inline] |
| ChannelFormat& BALL::VIEW::PixelFormat::getChannel |
( |
unsigned int |
i |
) |
[inline] |
| const ChannelFormat& BALL::VIEW::PixelFormat::getChannel |
( |
unsigned int |
i |
) |
const [inline] |
| unsigned int BALL::VIEW::PixelFormat::getFlags |
( |
|
) |
const [inline] |
| unsigned int BALL::VIEW::PixelFormat::getNumChannels |
( |
|
) |
const [inline] |
| bool BALL::VIEW::PixelFormat::operator!= |
( |
const PixelFormat & |
f |
) |
const [inline] |
| bool BALL::VIEW::PixelFormat::operator== |
( |
const PixelFormat & |
f |
) |
const [inline] |
| ChannelFormat& BALL::VIEW::PixelFormat::operator[] |
( |
unsigned int |
i |
) |
[inline] |
| const ChannelFormat& BALL::VIEW::PixelFormat::operator[] |
( |
unsigned int |
i |
) |
const [inline] |
| void BALL::VIEW::PixelFormat::print |
( |
std::ostream & |
o |
) |
const |
| void BALL::VIEW::PixelFormat::setFlags |
( |
unsigned int |
f |
) |
[inline] |
Member Data Documentation