Matrix Class Reference

#include <matrix.hh>

List of all members.

Public Member Functions

 Matrix ()
 Matrix (Matrix const &mat)
 Matrix (int tab[6], unsigned char color)
 ~Matrix ()
int Get_X_Min () const
int Get_X_Max () const
int Get_Y_Min () const
int Get_Y_Max () const
int Get_Z_Min () const
int Get_Z_Max () const
unsigned char Get_Color (int alpha, int b, int c) const
bool Get_Bit (int alpha, int b, int c, int bit) const
unsigned char Get_Value (int alpha, int b, int c) const
void Set_Color (int alpha, int b, int c, unsigned char color)
void Set_Bit (int alpha, int b, int c, int bit)
void Unset_Bit (int alpha, int b, int c, int bit)
void Set_Value (int alpha, int b, int c, unsigned char val)

Private Attributes

unsigned char *** m
int limits [6]


Detailed Description

Definition at line 48 of file matrix.hh.


Constructor & Destructor Documentation

Matrix::Matrix (  )  [inline]

Definition at line 103 of file matrix.hh.

Matrix::Matrix ( Matrix const &  mat  )  [inline]

Definition at line 134 of file matrix.hh.

Matrix::Matrix ( int  tab[6],
unsigned char  color 
) [inline]

Definition at line 112 of file matrix.hh.

Matrix::~Matrix (  )  [inline]

Definition at line 158 of file matrix.hh.


Member Function Documentation

bool Matrix::Get_Bit ( int  alpha,
int  b,
int  c,
int  bit 
) const [inline]

Definition at line 221 of file matrix.hh.

unsigned char Matrix::Get_Color ( int  alpha,
int  b,
int  c 
) const [inline]

Definition at line 211 of file matrix.hh.

unsigned char Matrix::Get_Value ( int  alpha,
int  b,
int  c 
) const [inline]

Definition at line 231 of file matrix.hh.

int Matrix::Get_X_Max (  )  const [inline]

Definition at line 181 of file matrix.hh.

int Matrix::Get_X_Min (  )  const [inline]

Definition at line 175 of file matrix.hh.

int Matrix::Get_Y_Max (  )  const [inline]

Definition at line 193 of file matrix.hh.

int Matrix::Get_Y_Min (  )  const [inline]

Definition at line 187 of file matrix.hh.

int Matrix::Get_Z_Max (  )  const [inline]

Definition at line 205 of file matrix.hh.

int Matrix::Get_Z_Min (  )  const [inline]

Definition at line 199 of file matrix.hh.

void Matrix::Set_Bit ( int  alpha,
int  b,
int  c,
int  bit 
) [inline]

Definition at line 254 of file matrix.hh.

void Matrix::Set_Color ( int  alpha,
int  b,
int  c,
unsigned char  color 
) [inline]

Definition at line 243 of file matrix.hh.

void Matrix::Set_Value ( int  alpha,
int  b,
int  c,
unsigned char  val 
) [inline]

Definition at line 276 of file matrix.hh.

void Matrix::Unset_Bit ( int  alpha,
int  b,
int  c,
int  bit 
) [inline]

Definition at line 265 of file matrix.hh.


Member Data Documentation

int Matrix::limits[6] [private]

Definition at line 84 of file matrix.hh.

unsigned char*** Matrix::m [private]

Definition at line 81 of file matrix.hh.


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

Generated on Tue Jul 7 15:21:00 2009 for Moka libraries by  doxygen 1.5.8