BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
BALL::VIEW::ChannelFormat Struct Reference

#include <BALL/VIEW/RENDERING/pixelFormat.h>

Public Types

enum  ChannelID {
  NO_CHANNEL = 0, EMPTY_CHANNEL, RED_CHANNEL, GREEN_CHANNEL,
  BLUE_CHANNEL, LUMINANCE_CHANNEL, ALPHA_CHANNEL, DEPTH_CHANNEL,
  Y_CHANNEL, U_CHANNEL, V_CHANNEL
}
 
enum  ChannelType { SIGNED_INT_CHANNEL, UNSIGNED_INT_CHANNEL, FLOAT_CHANNEL }
 

Public Member Functions

 ChannelFormat ()
 
 ChannelFormat (ChannelID id, ChannelType type, unsigned int bitSize)
 
bool operator== (const ChannelFormat &f) const
 
bool operator!= (const ChannelFormat &f) const
 

Public Attributes

ChannelID id: 8
 
ChannelType type: 8
 
unsigned int bitSize: 8
 

Detailed Description

Definition at line 18 of file pixelFormat.h.

Member Enumeration Documentation

Enumerator
NO_CHANNEL 
EMPTY_CHANNEL 
RED_CHANNEL 
GREEN_CHANNEL 
BLUE_CHANNEL 
LUMINANCE_CHANNEL 
ALPHA_CHANNEL 
DEPTH_CHANNEL 
Y_CHANNEL 
U_CHANNEL 
V_CHANNEL 

Definition at line 20 of file pixelFormat.h.

Enumerator
SIGNED_INT_CHANNEL 
UNSIGNED_INT_CHANNEL 
FLOAT_CHANNEL 

Definition at line 34 of file pixelFormat.h.

Constructor & Destructor Documentation

BALL::VIEW::ChannelFormat::ChannelFormat ( )
inline

Definition at line 44 of file pixelFormat.h.

BALL::VIEW::ChannelFormat::ChannelFormat ( ChannelID  id,
ChannelType  type,
unsigned int  bitSize 
)
inline

Definition at line 46 of file pixelFormat.h.

Member Function Documentation

bool BALL::VIEW::ChannelFormat::operator!= ( const ChannelFormat f) const
inline

Definition at line 54 of file pixelFormat.h.

bool BALL::VIEW::ChannelFormat::operator== ( const ChannelFormat f) const
inline

Definition at line 50 of file pixelFormat.h.

Member Data Documentation

unsigned int BALL::VIEW::ChannelFormat::bitSize

Definition at line 42 of file pixelFormat.h.

ChannelID BALL::VIEW::ChannelFormat::id

Definition at line 40 of file pixelFormat.h.

ChannelType BALL::VIEW::ChannelFormat::type

Definition at line 41 of file pixelFormat.h.