cimg_library::cimg Namespace Reference

Namespace that encompasses low-level functions and variables of the CImg Library. More...


Classes

struct  type
struct  type< bool >
struct  type< unsigned char >
struct  type< char >
struct  type< unsigned short >
struct  type< short >
struct  type< unsigned int >
struct  type< int >
struct  type< unsigned long >
struct  type< long >
struct  type< float >
struct  type< double >
struct  superset
struct  superset< bool, unsigned char >
struct  superset< bool, char >
struct  superset< bool, unsigned short >
struct  superset< bool, short >
struct  superset< bool, unsigned int >
struct  superset< bool, int >
struct  superset< bool, unsigned long >
struct  superset< bool, long >
struct  superset< bool, float >
struct  superset< bool, double >
struct  superset< unsigned char, char >
struct  superset< unsigned char, unsigned short >
struct  superset< unsigned char, short >
struct  superset< unsigned char, unsigned int >
struct  superset< unsigned char, int >
struct  superset< unsigned char, unsigned long >
struct  superset< unsigned char, long >
struct  superset< unsigned char, float >
struct  superset< unsigned char, double >
struct  superset< char, unsigned char >
struct  superset< char, unsigned short >
struct  superset< char, short >
struct  superset< char, unsigned int >
struct  superset< char, int >
struct  superset< char, unsigned long >
struct  superset< char, long >
struct  superset< char, float >
struct  superset< char, double >
struct  superset< unsigned short, char >
struct  superset< unsigned short, short >
struct  superset< unsigned short, unsigned int >
struct  superset< unsigned short, int >
struct  superset< unsigned short, unsigned long >
struct  superset< unsigned short, long >
struct  superset< unsigned short, float >
struct  superset< unsigned short, double >
struct  superset< short, unsigned short >
struct  superset< short, unsigned int >
struct  superset< short, int >
struct  superset< short, unsigned long >
struct  superset< short, long >
struct  superset< short, float >
struct  superset< short, double >
struct  superset< unsigned int, char >
struct  superset< unsigned int, short >
struct  superset< unsigned int, int >
struct  superset< unsigned int, unsigned long >
struct  superset< unsigned int, long >
struct  superset< unsigned int, float >
struct  superset< unsigned int, double >
struct  superset< int, unsigned int >
struct  superset< int, unsigned long >
struct  superset< int, long >
struct  superset< int, float >
struct  superset< int, double >
struct  superset< unsigned long, char >
struct  superset< unsigned long, short >
struct  superset< unsigned long, int >
struct  superset< unsigned long, long >
struct  superset< unsigned long, float >
struct  superset< unsigned long, double >
struct  superset< long, float >
struct  superset< long, double >
struct  superset< float, double >
struct  superset2
struct  last

Functions

void info ()
 Print informations about CImg environement variables.
unsigned int & exception_mode ()
int dialog (const char *title, const char *msg, const char *button1_txt="OK", const char *button2_txt=0, const char *button3_txt=0, const char *button4_txt=0, const char *button5_txt=0, const char *button6_txt=0, const bool centering=false)
template<typename tfunc , typename tp , typename tf >
void marching_cubes (const tfunc &func, const float isovalue, const float x0, const float y0, const float z0, const float x1, const float y1, const float z1, const float resx, const float resy, const float resz, CImgList< tp > &points, CImgList< tf > &primitives, const bool invert_faces)
 Polygonize an implicit function.
template<typename tfunc , typename tp , typename tf >
void marching_squares (const tfunc &func, const float isovalue, const float x0, const float y0, const float x1, const float y1, const float resx, const float resy, CImgList< tp > &points, CImgList< tf > &primitives)
 Polygonize an implicit 2D function by the marching squares algorithm.
void warn (const char *format,...)
int xln (const int x)
char uncase (const char x)
float atof (const char *str)
int strlen (const char *s)
int strncmp (const char *s1, const char *s2, const int l)
int strncasecmp (const char *s1, const char *s2, const int l)
int strcmp (const char *s1, const char *s2)
int strcasecmp (const char *s1, const char *s2)
int strfind (const char *s, const char c)
const char * basename (const char *s)
bool endian ()
 Return false for little endian CPUs (Intel), true for big endian CPUs (Motorola).
unsigned long time ()
 Get the value of a system timer with a millisecond precision.
void sleep (const unsigned int milliseconds)
 Sleep for a certain numbers of milliseconds.
unsigned int wait (const unsigned int milliseconds, unsigned long &timer)
unsigned int wait (const unsigned int milliseconds)
 Wait for a certain number of milliseconds since the last call.
void srand ()
const char *const filenamerand ()
void system (const char *command, const char *module_name=0)
void winformat_string (char *const)
const char * imagemagick_path ()
 Return path of the ImageMagick's convert tool.
const char * graphicsmagick_path ()
 Return path of the GraphicsMagick's gm tool.
const char * medcon_path ()
 Return path of the XMedcon tool.
const char * temporary_path ()
 Return path to store temporary files.
const char * filename_split (const char *const filename, char *const body=0)
char * filename_number (const char *const filename, const int number, const unsigned int n, char *const string)
std::FILE * fopen (const char *const path, const char *const mode)
int fclose (std::FILE *file)
template<typename T >
int fread (T *const ptr, const unsigned int nmemb, std::FILE *stream)
template<typename T >
int fwrite (const T *ptr, const unsigned int nmemb, std::FILE *stream)
template<typename T >
void swap (T &a, T &b)
template<typename T1 , typename T2 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2)
template<typename T1 , typename T2 , typename T3 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3)
template<typename T1 , typename T2 , typename T3 , typename T4 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6, T7 &a7, T7 &b7)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void swap (T1 &a1, T1 &b1, T2 &a2, T2 &b2, T3 &a3, T3 &b3, T4 &a4, T4 &b4, T5 &a5, T5 &b5, T6 &a6, T6 &b6, T7 &a7, T7 &b7, T8 &a8, T8 &b8)
template<typename T >
void endian_swap (T *const buffer, const unsigned int size)
template<typename T >
T & endian_swap (T &a)
const char * option (const char *const name, const int argc, char **argv, const char *defaut, const char *const usage=0)
bool option (const char *const name, const int argc, char **argv, const bool defaut, const char *const usage=0)
int option (const char *const name, const int argc, char **argv, const int defaut, const char *const usage=0)
char option (const char *const name, const int argc, char **argv, const char defaut, const char *const usage=0)
float option (const char *const name, const int argc, char **argv, const float defaut, const char *const usage=0)
double option (const char *const name, const int argc, char **argv, const double defaut, const char *const usage=0)
const char * argument (const unsigned int nb, const int argc, char **argv, const unsigned int nb_singles=0,...)
template<typename T >
const T rol (const T a, const unsigned int n=1)
template<typename T >
const T ror (const T a, const unsigned int n=1)
template<typename T >
abs (const T a)
 Return the absolute value of a.
bool abs (const bool a)
unsigned char abs (const unsigned char a)
unsigned short abs (const unsigned short a)
unsigned int abs (const unsigned int a)
unsigned long abs (const unsigned long a)
double abs (const double a)
float abs (const float a)
int abs (const int a)
template<typename T >
sqr (const T val)
template<typename T >
min (const T a, const T b)
 Return the minimum between a and b.
template<typename T >
min (const T a, const T b, const T c)
 Return the minimum between a,b and c.
template<typename T >
min (const T a, const T b, const T c, const T d)
 Return the minimum between a,b,c and d.
template<typename T >
max (const T a, const T b)
 Return the maximum between a and b.
template<typename T >
max (const T a, const T b, const T c)
 Return the maximum between a,b and c.
template<typename T >
max (const T a, const T b, const T c, const T d)
 Return the maximum between a,b,c and d.
template<typename T >
sign (const T x)
 Return the sign of x.
template<typename T >
unsigned long nearest_pow2 (const T x)
 Return the nearest power of 2 higher than x.
template<typename T >
mod (const T &x, const T &m)
 Return x modulo m (generic modulo).
int mod (const char x, const char m)
int mod (const short x, const short m)
int mod (const int x, const int m)
int mod (const long x, const long m)
int mod (const unsigned char x, const unsigned char m)
int mod (const unsigned short x, const unsigned short m)
int mod (const unsigned int x, const unsigned int m)
int mod (const unsigned long x, const unsigned long m)
template<typename T >
minmod (const T a, const T b)
 Return minmod(a,b).
double rand ()
 Return a random variable between [0,1], followin a uniform distribution.
double crand ()
 Return a random variable between [-1,1], following a uniform distribution.
double grand ()
 Return a random variable following a gaussian distribution and a standard deviation of 1.
double round (const double x, const double y, const unsigned int round_type=0)
 Return a rounded number.
double pythagore (double a, double b)
template<typename t >
int dialog (const char *title, const char *msg, const char *button1_txt, const char *button2_txt, const char *button3_txt, const char *button4_txt, const char *button5_txt, const char *button6_txt, const CImg< t > &logo, const bool centering=false)
 Display a dialog box, where a user can click standard buttons.
template<typename t >
int _marching_cubes_indice (const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int y, const unsigned int nx, const unsigned int ny)
template<typename t >
int _marching_squares_indice (const unsigned int edge, const CImg< t > &indices1, const CImg< t > &indices2, const unsigned int x, const unsigned int nx)

Variables

const char t_normal [] = { '\0' }
const char *const t_red = cimg::t_normal
const char *const *const t_bold = cimg::t_normal
const char *const *const *const t_purple = cimg::t_normal
const unsigned int keyESC = 1U
const unsigned int keyF1 = 2U
const unsigned int keyF2 = 3U
const unsigned int keyF3 = 4U
const unsigned int keyF4 = 5U
const unsigned int keyF5 = 6U
const unsigned int keyF6 = 7U
const unsigned int keyF7 = 8U
const unsigned int keyF8 = 9U
const unsigned int keyF9 = 10U
const unsigned int keyF10 = 11U
const unsigned int keyF11 = 12U
const unsigned int keyF12 = 13U
const unsigned int keyPAUSE = 14U
const unsigned int key1 = 15U
const unsigned int key2 = 16U
const unsigned int key3 = 17U
const unsigned int key4 = 18U
const unsigned int key5 = 19U
const unsigned int key6 = 20U
const unsigned int key7 = 21U
const unsigned int key8 = 22U
const unsigned int key9 = 23U
const unsigned int key0 = 24U
const unsigned int keyBACKSPACE = 25U
const unsigned int keyINSERT = 26U
const unsigned int keyHOME = 27U
const unsigned int keyPAGEUP = 28U
const unsigned int keyTAB = 29U
const unsigned int keyQ = 30U
const unsigned int keyW = 31U
const unsigned int keyE = 32U
const unsigned int keyR = 33U
const unsigned int keyT = 34U
const unsigned int keyY = 35U
const unsigned int keyU = 36U
const unsigned int keyI = 37U
const unsigned int keyO = 38U
const unsigned int keyP = 39U
const unsigned int keyDELETE = 40U
const unsigned int keyEND = 41U
const unsigned int keyPAGEDOWN = 42U
const unsigned int keyCAPSLOCK = 43U
const unsigned int keyA = 44U
const unsigned int keyS = 45U
const unsigned int keyD = 46U
const unsigned int keyF = 47U
const unsigned int keyG = 48U
const unsigned int keyH = 49U
const unsigned int keyJ = 50U
const unsigned int keyK = 51U
const unsigned int keyL = 52U
const unsigned int keyENTER = 53U
const unsigned int keySHIFTLEFT = 54U
const unsigned int keyZ = 55U
const unsigned int keyX = 56U
const unsigned int keyC = 57U
const unsigned int keyV = 58U
const unsigned int keyB = 59U
const unsigned int keyN = 60U
const unsigned int keyM = 61U
const unsigned int keySHIFTRIGHT = 62U
const unsigned int keyARROWUP = 63U
const unsigned int keyCTRLLEFT = 64U
const unsigned int keyAPPLEFT = 65U
const unsigned int keySPACE = 66U
const unsigned int keyALTGR = 67U
const unsigned int keyAPPRIGHT = 68U
const unsigned int keyMENU = 69U
const unsigned int keyCTRLRIGHT = 70U
const unsigned int keyARROWLEFT = 71U
const unsigned int keyARROWDOWN = 72U
const unsigned int keyARROWRIGHT = 73U
const unsigned int keyPAD0 = 74U
const unsigned int keyPAD1 = 75U
const unsigned int keyPAD2 = 76U
const unsigned int keyPAD3 = 77U
const unsigned int keyPAD4 = 78U
const unsigned int keyPAD5 = 79U
const unsigned int keyPAD6 = 80U
const unsigned int keyPAD7 = 81U
const unsigned int keyPAD8 = 82U
const unsigned int keyPAD9 = 83U
const unsigned int keyPADADD = 84U
const unsigned int keyPADSUB = 85U
const unsigned int keyPADMUL = 86U
const unsigned int keyPADDIV = 87U
const double PI = 3.14159265358979323846
 Definition of the mathematical constant PI.
const unsigned int font7x11 [7 *11 *256/32]
const unsigned int font10x13 [256 *10 *13/32]
const unsigned int font8x17 [8 *17 *256/32]
const unsigned int font10x19 [10 *19 *256/32]
const unsigned int font12x24 [12 *24 *256/32]
const unsigned int font16x32 [16 *32 *256/32]
const unsigned int font19x38 [19 *38 *256/32]
const unsigned int font29x57 [29 *57 *256/32]
const unsigned char logo40x38 [4576]


Detailed Description

Namespace that encompasses low-level functions and variables of the CImg Library.

Most of the functions and variables within this namespace are used by the library for low-level processing. Nevertheless, documented variables and functions of this namespace may be used safely in your own source code.

Warning:
Never write using namespace cimg_library::cimg; in your source code, since a lot of functions of the cimg:: namespace have prototypes similar to standard C functions defined in the global namespace ::.


Function Documentation

template<typename t >
int cimg_library::cimg::_marching_cubes_indice ( const unsigned int  edge,
const CImg< t > &  indices1,
const CImg< t > &  indices2,
const unsigned int  x,
const unsigned int  y,
const unsigned int  nx,
const unsigned int  ny 
) [inline]

Definition at line 28392 of file cimg.h.

Referenced by marching_cubes().

template<typename t >
int cimg_library::cimg::_marching_squares_indice ( const unsigned int  edge,
const CImg< t > &  indices1,
const CImg< t > &  indices2,
const unsigned int  x,
const unsigned int  nx 
) [inline]

Definition at line 28693 of file cimg.h.

Referenced by marching_squares().

int cimg_library::cimg::abs ( const int  a  )  [inline]

Definition at line 4503 of file cimg.h.

References cimg_library::abs().

float cimg_library::cimg::abs ( const float  a  )  [inline]

Definition at line 4499 of file cimg.h.

double cimg_library::cimg::abs ( const double  a  )  [inline]

Definition at line 4495 of file cimg.h.

unsigned long cimg_library::cimg::abs ( const unsigned long  a  )  [inline]

Definition at line 4491 of file cimg.h.

unsigned int cimg_library::cimg::abs ( const unsigned int  a  )  [inline]

Definition at line 4487 of file cimg.h.

unsigned short cimg_library::cimg::abs ( const unsigned short  a  )  [inline]

Definition at line 4483 of file cimg.h.

unsigned char cimg_library::cimg::abs ( const unsigned char  a  )  [inline]

Definition at line 4479 of file cimg.h.

bool cimg_library::cimg::abs ( const bool  a  )  [inline]

Definition at line 4475 of file cimg.h.

template<typename T >
T cimg_library::cimg::abs ( const T  a  )  [inline]

Return the absolute value of a.

Definition at line 4471 of file cimg.h.

const char* cimg_library::cimg::argument ( const unsigned int  nb,
const int  argc,
char **  argv,
const unsigned int  nb_singles = 0,
  ... 
) [inline]

Definition at line 4446 of file cimg.h.

References option(), and strcasecmp().

float cimg_library::cimg::atof ( const char *  str  )  [inline]

Definition at line 3710 of file cimg.h.

Referenced by option().

const char* cimg_library::cimg::basename ( const char *  s  )  [inline]

Definition at line 3748 of file cimg.h.

References cimg_OS, and strfind().

Referenced by option().

double cimg_library::cimg::crand (  )  [inline]

Return a random variable between [-1,1], following a uniform distribution.

Definition at line 4611 of file cimg.h.

References cimg_library::rand().

Referenced by cimg_library::CImg< T >::noise().

template<typename t >
int cimg_library::cimg::dialog ( const char *  title,
const char *  msg,
const char *  button1_txt,
const char *  button2_txt,
const char *  button3_txt,
const char *  button4_txt,
const char *  button5_txt,
const char *  button6_txt,
const CImg< t > &  logo,
const bool  centering = false 
) [inline]

Display a dialog box, where a user can click standard buttons.

Up to 6 buttons can be defined in the dialog window. This function returns when a user clicked one of the button or closed the dialog window.

Parameters:
title = Title of the dialog window.
msg = Main message displayed inside the dialog window.
button1_txt = Label of the 1st button.
button2_txt = Label of the 2nd button.
button3_txt = Label of the 3rd button.
button4_txt = Label of the 4th button.
button5_txt = Label of the 5th button.
button6_txt = Label of the 6th button.
logo = Logo image displayed at the left of the main message. This parameter is optional.
centering = Tell to center the dialog window on the screen.
Returns:
The button number (from 0 to 5), or -1 if the dialog window has been closed by the user.
Note:
If a button text is set to 0, then the corresponding button (and the followings) won't appear in the dialog box. At least one button is necessary.

Definition at line 28247 of file cimg.h.

References cimg_library::CImgDisplay::button, cimglist_for, cimg_library::CImg< T >::data, cimg_library::CImgDisplay::dimx(), cimg_library::CImgDisplay::dimy(), cimg_library::CImg< T >::display(), cimg_library::CImgDisplay::display(), cimg_library::CImg< T >::draw_image(), cimg_library::CImg< T >::draw_line(), cimg_library::CImg< T >::draw_rectangle(), cimg_library::CImg< T >::height, cimg_library::CImgList< T >::insert(), cimg_library::CImgDisplay::is_closed, cimg_library::CImgDisplay::is_resized, cimg_library::CImgDisplay::key, keyARROWDOWN, keyARROWLEFT, keyARROWRIGHT, keyARROWUP, keyENTER, keyESC, keyTAB, cimg_library::max(), cimg_library::CImgDisplay::mouse_x, cimg_library::CImgDisplay::mouse_y, cimg_library::CImgDisplay::move(), cimg_library::CImgDisplay::resize(), cimg_library::CImgList< T >::size, cimg_library::CImgDisplay::wait(), and cimg_library::CImg< T >::width.

Referenced by dialog().

int cimg_library::cimg::dialog ( const char *  title,
const char *  msg,
const char *  button1_txt = "OK",
const char *  button2_txt = 0,
const char *  button3_txt = 0,
const char *  button4_txt = 0,
const char *  button5_txt = 0,
const char *  button6_txt = 0,
const bool  centering = false 
) [inline]

Definition at line 28382 of file cimg.h.

References dialog().

bool cimg_library::cimg::endian (  )  [inline]

template<typename T >
T& cimg_library::cimg::endian_swap ( T &  a  )  [inline]

template<typename T >
void cimg_library::cimg::endian_swap ( T *const   buffer,
const unsigned int  size 
) [inline]

Definition at line 4337 of file cimg.h.

References swap().

unsigned int & cimg_library::cimg::exception_mode (  )  [inline]

Definition at line 1699 of file cimg.h.

References cimg_debug.

Referenced by cimg_library::CImg< T >::load_other(), cimg_library::CImg< T >::save_other(), and warn().

int cimg_library::cimg::fclose ( std::FILE *  file  )  [inline]

Definition at line 4258 of file cimg.h.

References warn().

Referenced by cimg_library::CImg< T >::display_object3d(), cimg_library::CImg< T >::get_coordinates(), graphicsmagick_path(), imagemagick_path(), cimg_library::CImg< T >::load_analyze(), cimg_library::CImg< T >::load_ascii(), cimg_library::CImg< T >::load_bmp(), cimg_library::CImgList< T >::load_cimg(), cimg_library::CImg< T >::load_dicom(), cimg_library::CImg< T >::load_dlm(), cimg_library::CImg< T >::load_graphicsmagick(), cimg_library::CImg< T >::load_imagemagick(), cimg_library::CImg< T >::load_inr(), cimg_library::CImg< T >::load_jpeg(), cimg_library::CImg< T >::load_off(), cimg_library::CImg< T >::load_pandore(), cimg_library::CImgList< T >::load_parrec(), cimg_library::CImg< T >::load_png(), cimg_library::CImg< T >::load_pnm(), cimg_library::CImg< T >::load_raw(), cimg_library::CImg< T >::load_rgb(), cimg_library::CImg< T >::load_rgba(), cimg_library::CImgList< T >::load_yuv(), medcon_path(), ParseFile(), cimg_library::CImg< T >::save_analyze(), cimg_library::CImg< T >::save_ascii(), cimg_library::CImg< T >::save_bmp(), cimg_library::CImgList< T >::save_cimg(), cimg_library::CImg< T >::save_dicom(), cimg_library::CImg< T >::save_dlm(), cimg_library::CImgList< T >::save_empty_cimg(), cimg_library::CImg< T >::save_graphicsmagick(), cimg_library::CImg< T >::save_imagemagick(), cimg_library::CImg< T >::save_inr(), cimg_library::CImg< T >::save_jpeg(), cimg_library::CImg< T >::save_off(), cimg_library::CImg< T >::save_pandore(), cimg_library::CImg< T >::save_png(), cimg_library::CImg< T >::save_pnm(), cimg_library::CImg< T >::save_raw(), cimg_library::CImg< T >::save_rgb(), cimg_library::CImg< T >::save_rgba(), cimg_library::CImgList< T >::save_yuv(), temporary_path(), and lux::FlexImageFilm::WriteTGAImage().

char* cimg_library::cimg::filename_number ( const char *const   filename,
const int  number,
const unsigned int  n,
char *const   string 
) [inline]

Definition at line 4236 of file cimg.h.

References filename_split().

Referenced by cimg_library::CImgList< T >::save(), and cimg_library::CImg< T >::save().

const char* cimg_library::cimg::filename_split ( const char *const   filename,
char *const   body = 0 
) [inline]

const char* const cimg_library::cimg::filenamerand (  )  [inline]

std::FILE* cimg_library::cimg::fopen ( const char *const   path,
const char *const   mode 
) [inline]

Definition at line 4246 of file cimg.h.

Referenced by cimg_library::CImg< T >::display_object3d(), cimg_library::CImg< T >::get_coordinates(), graphicsmagick_path(), imagemagick_path(), include_push(), cimg_library::CImg< T >::load_analyze(), cimg_library::CImg< T >::load_ascii(), cimg_library::CImg< T >::load_bmp(), cimg_library::CImgList< T >::load_cimg(), cimg_library::CImg< T >::load_dicom(), cimg_library::CImg< T >::load_dlm(), cimg_library::CImg< T >::load_graphicsmagick(), cimg_library::CImg< T >::load_imagemagick(), cimg_library::CImg< T >::load_inr(), cimg_library::CImg< T >::load_jpeg(), cimg_library::CImg< T >::load_off(), cimg_library::CImg< T >::load_pandore(), cimg_library::CImgList< T >::load_parrec(), cimg_library::CImg< T >::load_png(), cimg_library::CImg< T >::load_pnm(), cimg_library::CImg< T >::load_raw(), cimg_library::CImg< T >::load_rgb(), cimg_library::CImg< T >::load_rgba(), cimg_library::CImgList< T >::load_yuv(), main(), medcon_path(), ParseFile(), cimg_library::CImg< T >::save_analyze(), cimg_library::CImg< T >::save_ascii(), cimg_library::CImg< T >::save_bmp(), cimg_library::CImgList< T >::save_cimg(), cimg_library::CImg< T >::save_dicom(), cimg_library::CImg< T >::save_dlm(), cimg_library::CImgList< T >::save_empty_cimg(), cimg_library::CImg< T >::save_graphicsmagick(), cimg_library::CImg< T >::save_imagemagick(), cimg_library::CImg< T >::save_inr(), cimg_library::CImg< T >::save_jpeg(), cimg_library::CImg< T >::save_off(), cimg_library::CImg< T >::save_pandore(), cimg_library::CImg< T >::save_png(), cimg_library::CImg< T >::save_pnm(), cimg_library::CImg< T >::save_raw(), cimg_library::CImg< T >::save_rgb(), cimg_library::CImg< T >::save_rgba(), cimg_library::CImgList< T >::save_yuv(), temporary_path(), and lux::FlexImageFilm::WriteTGAImage().

template<typename T >
int cimg_library::cimg::fread ( T *const   ptr,
const unsigned int  nmemb,
std::FILE *  stream 
) [inline]

template<typename T >
int cimg_library::cimg::fwrite ( const T *  ptr,
const unsigned int  nmemb,
std::FILE *  stream 
) [inline]

double cimg_library::cimg::grand (  )  [inline]

Return a random variable following a gaussian distribution and a standard deviation of 1.

Definition at line 4616 of file cimg.h.

References cimg_library::log(), cimg_library::rand(), and cimg_library::sqrt().

Referenced by cimg_library::CImg< T >::draw_plasma(), and cimg_library::CImg< T >::noise().

const char* cimg_library::cimg::graphicsmagick_path (  )  [inline]

Return path of the GraphicsMagick's gm tool.

If you have installed the GraphicsMagick package in a standard directory, this function should return the correct path of the gm tool used by the CImg Library to load and save compressed image formats. Conversely, if the gm executable is not auto-detected by the function, you can define the macro cimg_graphicsmagick_path with the correct path of the gm executable, before including CImg.h in your program :

       #define cimg_graphicsmagick_path "/users/thatsme/local/bin/gm"
       #include "CImg.h"

       int main() {
         CImg<> img("my_image.jpg");     // Read a JPEG image file.
         return 0;
       }

Note that non compressed image formats can be read without installing ImageMagick.

See also:
temporary_path(), get_load_imagemagick(), load_imagemagick(), save_imagemagick().

Definition at line 4016 of file cimg.h.

References fclose(), fopen(), and winformat_string().

Referenced by info(), cimg_library::CImg< T >::load_graphicsmagick(), and cimg_library::CImg< T >::save_graphicsmagick().

const char* cimg_library::cimg::imagemagick_path (  )  [inline]

Return path of the ImageMagick's convert tool.

This function is used internally in imagemagick_path, graphicsmagick_path and medcon_path on Windows platforms If you have installed the ImageMagick package in a standard directory, this function should return the correct path of the convert tool used by the CImg Library to load and save compressed image formats. Conversely, if the convert executable is not auto-detected by the function, you can define the macro cimg_imagemagick_path with the correct path of the convert executable, before including CImg.h in your program :

       #define cimg_imagemagick_path "/users/thatsme/local/bin/convert"
       #include "CImg.h"

       int main() {
         CImg<> img("my_image.jpg");     // Read a JPEG image file.
         return 0;
       }

Note that non compressed image formats can be read without installing ImageMagick.

See also:
temporary_path(), get_load_imagemagick(), load_imagemagick(), save_imagemagick().

Definition at line 3916 of file cimg.h.

References fclose(), fopen(), and winformat_string().

Referenced by info(), cimg_library::CImg< T >::load_imagemagick(), and cimg_library::CImg< T >::save_imagemagick().

void cimg_library::cimg::info (  )  [inline]

Print informations about CImg environement variables.

Printing is done on the standard error output.

Definition at line 4647 of file cimg.h.

References cimg_debug, cimg_display_type, cimg_OS, cimg_use_jpeg, cimg_use_png, cimg_version, endian(), graphicsmagick_path(), imagemagick_path(), medcon_path(), t_bold, t_normal, t_purple, t_red, and temporary_path().

Referenced by main().

template<typename tfunc , typename tp , typename tf >
void cimg_library::cimg::marching_cubes ( const tfunc &  func,
const float  isovalue,
const float  x0,
const float  y0,
const float  z0,
const float  x1,
const float  y1,
const float  z1,
const float  resx,
const float  resy,
const float  resz,
CImgList< tp > &  points,
CImgList< tf > &  primitives,
const bool  invert_faces = false 
) [inline]

template<typename tfunc , typename tp , typename tf >
void cimg_library::cimg::marching_squares ( const tfunc &  func,
const float  isovalue,
const float  x0,
const float  y0,
const float  x1,
const float  y1,
const float  resx,
const float  resy,
CImgList< tp > &  points,
CImgList< tf > &  primitives 
) [inline]

Polygonize an implicit 2D function by the marching squares algorithm.

Definition at line 28706 of file cimg.h.

References _marching_squares_indice(), cimg_forX, cimg_library::CImg< T >::fill(), cimg_library::CImgList< T >::insert(), and cimg_library::CImgList< T >::size.

Referenced by cimg_library::CImg< T >::marching_squares().

template<typename T >
T cimg_library::cimg::max ( const T  a,
const T  b,
const T  c,
const T  d 
) [inline]

Return the maximum between a,b,c and d.

Definition at line 4537 of file cimg.h.

References cimg_library::max().

template<typename T >
T cimg_library::cimg::max ( const T  a,
const T  b,
const T  c 
) [inline]

Return the maximum between a,b and c.

Definition at line 4532 of file cimg.h.

References cimg_library::max().

template<typename T >
T cimg_library::cimg::max ( const T  a,
const T  b 
) [inline]

Return the maximum between a and b.

Definition at line 4527 of file cimg.h.

const char* cimg_library::cimg::medcon_path (  )  [inline]

Return path of the XMedcon tool.

If you have installed the XMedcon package in a standard directory, this function should return the correct path of the medcon tool used by the CIg Library to load DICOM image formats. Conversely, if the medcon executable is not auto-detected by the function, you can define the macro cimg_medcon_path with the correct path of the medcon executable, before including CImg.h in your program :

       #define cimg_medcon_path "/users/thatsme/local/bin/medcon"
       #include "CImg.h"

       int main() {
         CImg<> img("my_image.dcm");    // Read a DICOM image file.
         return 0;
       }

Note that medcon is only needed if you want to read DICOM image formats.

See also:
temporary_path(), get_load_dicom(), load_dicom().

Definition at line 4116 of file cimg.h.

References fclose(), fopen(), and winformat_string().

Referenced by info(), cimg_library::CImg< T >::load_dicom(), and cimg_library::CImg< T >::save_dicom().

template<typename T >
T cimg_library::cimg::min ( const T  a,
const T  b,
const T  c,
const T  d 
) [inline]

Return the minimum between a,b,c and d.

Definition at line 4522 of file cimg.h.

References cimg_library::min().

template<typename T >
T cimg_library::cimg::min ( const T  a,
const T  b,
const T  c 
) [inline]

Return the minimum between a,b and c.

Definition at line 4517 of file cimg.h.

References cimg_library::min().

template<typename T >
T cimg_library::cimg::min ( const T  a,
const T  b 
) [inline]

Return the minimum between a and b.

Definition at line 4512 of file cimg.h.

template<typename T >
T cimg_library::cimg::minmod ( const T  a,
const T  b 
) [inline]

Return minmod(a,b).

The operator minmod(a,b) is defined to be :

  • minmod(a,b) = min(a,b), if (a * b)>0.
  • minmod(a,b) = 0, if (a * b)<=0

Definition at line 4601 of file cimg.h.

Referenced by cimg_library::CImg< T >::sharpen().

int cimg_library::cimg::mod ( const unsigned long  x,
const unsigned long  m 
) [inline]

int cimg_library::cimg::mod ( const unsigned int  x,
const unsigned int  m 
) [inline]

Definition at line 4587 of file cimg.h.

int cimg_library::cimg::mod ( const unsigned short  x,
const unsigned short  m 
) [inline]

Definition at line 4583 of file cimg.h.

int cimg_library::cimg::mod ( const unsigned char  x,
const unsigned char  m 
) [inline]

Definition at line 4579 of file cimg.h.

int cimg_library::cimg::mod ( const long  x,
const long  m 
) [inline]

Definition at line 4575 of file cimg.h.

int cimg_library::cimg::mod ( const int  x,
const int  m 
) [inline]

Definition at line 4571 of file cimg.h.

int cimg_library::cimg::mod ( const short  x,
const short  m 
) [inline]

Definition at line 4567 of file cimg.h.

int cimg_library::cimg::mod ( const char  x,
const char  m 
) [inline]

Definition at line 4563 of file cimg.h.

template<typename T >
T cimg_library::cimg::mod ( const T &  x,
const T &  m 
) [inline]

Return x modulo m (generic modulo).

This modulo function accepts negative and floating-points modulo numbers m.

Definition at line 4557 of file cimg.h.

template<typename T >
unsigned long cimg_library::cimg::nearest_pow2 ( const T  x  )  [inline]

Return the nearest power of 2 higher than x.

Definition at line 4547 of file cimg.h.

Referenced by cimg_library::CImgList< T >::assign(), and cimg_library::CImgList< T >::CImgList().

double cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const double  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4436 of file cimg.h.

References atof().

Referenced by argument(), and option().

float cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const float  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4426 of file cimg.h.

References atof(), and option().

char cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const char  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4415 of file cimg.h.

References option().

int cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const int  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4405 of file cimg.h.

References option().

bool cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const bool  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4397 of file cimg.h.

References option(), and strcasecmp().

const char* cimg_library::cimg::option ( const char *const   name,
const int  argc,
char **  argv,
const char *  defaut,
const char *const   usage = 0 
) [inline]

Definition at line 4366 of file cimg.h.

References basename(), option(), strcmp(), t_bold, t_normal, t_purple, and t_red.

double cimg_library::cimg::pythagore ( double  a,
double  b 
) [inline]

Definition at line 4637 of file cimg.h.

References cimg_library::abs(), and cimg_library::sqrt().

Referenced by cimg_library::CImg< T >::SVD().

double cimg_library::cimg::rand (  )  [inline]

Return a random variable between [0,1], followin a uniform distribution.

Definition at line 4606 of file cimg.h.

References cimg_library::rand().

template<typename T >
const T cimg_library::cimg::rol ( const T  a,
const unsigned int  n = 1 
) [inline]

Definition at line 4462 of file cimg.h.

template<typename T >
const T cimg_library::cimg::ror ( const T  a,
const unsigned int  n = 1 
) [inline]

Definition at line 4466 of file cimg.h.

Referenced by cimg_library::CImg< T >::load_bmp().

double cimg_library::cimg::round ( const double  x,
const double  y,
const unsigned int  round_type = 0 
) [inline]

Return a rounded number.

Definition at line 4627 of file cimg.h.

References mod().

template<typename T >
T cimg_library::cimg::sign ( const T  x  )  [inline]

Return the sign of x.

Definition at line 4542 of file cimg.h.

Referenced by cimg_library::CImg< T >::distance_function(), and cimg_library::CImg< T >::sharpen().

void cimg_library::cimg::sleep ( const unsigned int  milliseconds  )  [inline]

Sleep for a certain numbers of milliseconds.

This function frees the CPU ressources during the sleeping time. It may be used to temporize your program properly, without wasting CPU time.

See also:
wait(), time().

Definition at line 3779 of file cimg.h.

Referenced by infoThread(), main(), printInfoThread(), lux::RenderThread::render(), lux::NetworkRenderServerThread::run(), lux::FilmUpdaterThread::updateFilm(), and wait().

template<typename T >
T cimg_library::cimg::sqr ( const T  val  )  [inline]

Definition at line 4507 of file cimg.h.

void cimg_library::cimg::srand (  )  [inline]

Definition at line 3814 of file cimg.h.

References cimg_library::rand(), and time().

Referenced by filenamerand(), and cimg_library::CImg< T >::noise().

int cimg_library::cimg::strcasecmp ( const char *  s1,
const char *  s2 
) [inline]

int cimg_library::cimg::strcmp ( const char *  s1,
const char *  s2 
) [inline]

Definition at line 3730 of file cimg.h.

References strlen(), and strncmp().

Referenced by option(), and ParseFile().

int cimg_library::cimg::strfind ( const char *  s,
const char  c 
) [inline]

Definition at line 3740 of file cimg.h.

References strlen().

Referenced by basename(), and filename_split().

int cimg_library::cimg::strlen ( const char *  s  )  [inline]

int cimg_library::cimg::strncasecmp ( const char *  s1,
const char *  s2,
const int  l 
) [inline]

int cimg_library::cimg::strncmp ( const char *  s1,
const char *  s2,
const int  l 
) [inline]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3,
T4 &  a4,
T4 &  b4,
T5 &  a5,
T5 &  b5,
T6 &  a6,
T6 &  b6,
T7 &  a7,
T7 &  b7,
T8 &  a8,
T8 &  b8 
) [inline]

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3,
T4 &  a4,
T4 &  b4,
T5 &  a5,
T5 &  b5,
T6 &  a6,
T6 &  b6,
T7 &  a7,
T7 &  b7 
) [inline]

Definition at line 4326 of file cimg.h.

References swap().

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3,
T4 &  a4,
T4 &  b4,
T5 &  a5,
T5 &  b5,
T6 &  a6,
T6 &  b6 
) [inline]

Definition at line 4321 of file cimg.h.

References swap().

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3,
T4 &  a4,
T4 &  b4,
T5 &  a5,
T5 &  b5 
) [inline]

Definition at line 4316 of file cimg.h.

References swap().

template<typename T1 , typename T2 , typename T3 , typename T4 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3,
T4 &  a4,
T4 &  b4 
) [inline]

Definition at line 4311 of file cimg.h.

References swap().

template<typename T1 , typename T2 , typename T3 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2,
T3 &  a3,
T3 &  b3 
) [inline]

Definition at line 4306 of file cimg.h.

References swap().

template<typename T1 , typename T2 >
void cimg_library::cimg::swap ( T1 &  a1,
T1 &  b1,
T2 &  a2,
T2 &  b2 
) [inline]

Definition at line 4302 of file cimg.h.

References swap().

template<typename T >
void cimg_library::cimg::swap ( T &  a,
T &  b 
) [inline]

Definition at line 4300 of file cimg.h.

void cimg_library::cimg::system ( const char *  command,
const char *  module_name = 0 
) [inline]

const char* cimg_library::cimg::temporary_path (  )  [inline]

Return path to store temporary files.

If you are running on a standard Unix or Windows system, this function should return a correct path where temporary files can be stored. If such a path is not auto-detected by this function, you can define the macro cimg_temporary_path with a correct path, before including CImg.h in your program :

       #define cimg_temporary_path "/users/thatsme/tmp"
       #include "CImg.h"

       int main() {
         CImg<> img("my_image.jpg");   // Read a JPEG image file (using the defined temporay path).
         return 0;
       }

A temporary path is necessary to load and save compressed image formats, using convert or medcon.

See also:
imagemagick_path(), get_load_imagemagick(), load_imagemagick(), save_imagemagick(), get_load_dicom(), load_dicom().

Definition at line 4179 of file cimg.h.

References cimg_test_temporary_path, fclose(), filenamerand(), fopen(), cimg_library::remove(), and winformat_string().

Referenced by info(), cimg_library::CImg< T >::load_graphicsmagick(), cimg_library::CImg< T >::load_imagemagick(), cimg_library::CImg< T >::save_graphicsmagick(), and cimg_library::CImg< T >::save_imagemagick().

unsigned long cimg_library::cimg::time (  )  [inline]

Get the value of a system timer with a millisecond precision.

Definition at line 3759 of file cimg.h.

Referenced by cimg_library::CImgDisplay::frames_per_second(), lux::ERPTSampler::GetLazyValues(), srand(), lux::Scene::Statistics_SamplesPSec(), lux::Scene::Statistics_SamplesPTotSec(), and wait().

char cimg_library::cimg::uncase ( const char  x  )  [inline]

unsigned int cimg_library::cimg::wait ( const unsigned int  milliseconds  )  [inline]

Wait for a certain number of milliseconds since the last call.

This function is equivalent to sleep() but the waiting time is computed with regard to the last call of wait(). It may be used to temporize your program properly.

See also:
sleep(), time().

Definition at line 3806 of file cimg.h.

References time().

Referenced by about_cb(), merge_FrameBuffer(), message_window(), open_cb(), RenderScenefile(), and cimg_library::CImgDisplay::wait().

unsigned int cimg_library::cimg::wait ( const unsigned int  milliseconds,
unsigned long &  timer 
) [inline]

Definition at line 3790 of file cimg.h.

References sleep(), and time().

void cimg_library::cimg::warn ( const char *  format,
  ... 
) [inline]

void cimg_library::cimg::winformat_string ( char *  const  )  [inline]

Definition at line 3865 of file cimg.h.

Referenced by graphicsmagick_path(), imagemagick_path(), medcon_path(), and temporary_path().

int cimg_library::cimg::xln ( const int  x  )  [inline]

Definition at line 3702 of file cimg.h.

References cimg_library::log10().


Variable Documentation

const unsigned int cimg_library::cimg::font10x13[256 *10 *13/32]

Definition at line 2025 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font10x19[10 *19 *256/32]

Definition at line 2155 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font12x24[12 *24 *256/32]

Definition at line 2250 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font16x32[16 *32 *256/32]

Definition at line 2389 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font19x38[19 *38 *256/32]

Definition at line 2623 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font29x57[29 *57 *256/32]

Definition at line 2949 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font7x11[7 *11 *256/32]

Definition at line 1984 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::font8x17[8 *17 *256/32]

Definition at line 2088 of file cimg.h.

Referenced by cimg_library::CImgList< T >::get_font().

const unsigned int cimg_library::cimg::key0 = 24U

Definition at line 1915 of file cimg.h.

const unsigned int cimg_library::cimg::key1 = 15U

Definition at line 1906 of file cimg.h.

const unsigned int cimg_library::cimg::key2 = 16U

Definition at line 1907 of file cimg.h.

const unsigned int cimg_library::cimg::key3 = 17U

Definition at line 1908 of file cimg.h.

const unsigned int cimg_library::cimg::key4 = 18U

Definition at line 1909 of file cimg.h.

const unsigned int cimg_library::cimg::key5 = 19U

Definition at line 1910 of file cimg.h.

const unsigned int cimg_library::cimg::key6 = 20U

Definition at line 1911 of file cimg.h.

const unsigned int cimg_library::cimg::key7 = 21U

Definition at line 1912 of file cimg.h.

const unsigned int cimg_library::cimg::key8 = 22U

Definition at line 1913 of file cimg.h.

const unsigned int cimg_library::cimg::key9 = 23U

Definition at line 1914 of file cimg.h.

const unsigned int cimg_library::cimg::keyA = 44U

Definition at line 1935 of file cimg.h.

const unsigned int cimg_library::cimg::keyALTGR = 67U

Definition at line 1958 of file cimg.h.

const unsigned int cimg_library::cimg::keyAPPLEFT = 65U

Definition at line 1956 of file cimg.h.

const unsigned int cimg_library::cimg::keyAPPRIGHT = 68U

Definition at line 1959 of file cimg.h.

const unsigned int cimg_library::cimg::keyARROWDOWN = 72U

Definition at line 1963 of file cimg.h.

Referenced by dialog(), and cimg_library::CImg< T >::get_coordinates().

const unsigned int cimg_library::cimg::keyARROWLEFT = 71U

Definition at line 1962 of file cimg.h.

Referenced by dialog(), and cimg_library::CImg< T >::get_coordinates().

const unsigned int cimg_library::cimg::keyARROWRIGHT = 73U

Definition at line 1964 of file cimg.h.

Referenced by dialog(), and cimg_library::CImg< T >::get_coordinates().

const unsigned int cimg_library::cimg::keyARROWUP = 63U

Definition at line 1954 of file cimg.h.

Referenced by dialog(), and cimg_library::CImg< T >::get_coordinates().

const unsigned int cimg_library::cimg::keyB = 59U

Definition at line 1950 of file cimg.h.

const unsigned int cimg_library::cimg::keyBACKSPACE = 25U

Definition at line 1916 of file cimg.h.

const unsigned int cimg_library::cimg::keyC = 57U

const unsigned int cimg_library::cimg::keyCAPSLOCK = 43U

Definition at line 1934 of file cimg.h.

const unsigned int cimg_library::cimg::keyCTRLLEFT = 64U

const unsigned int cimg_library::cimg::keyCTRLRIGHT = 70U

Definition at line 1961 of file cimg.h.

Referenced by cimg_library::CImg< T >::display_object3d().

const unsigned int cimg_library::cimg::keyD = 46U

const unsigned int cimg_library::cimg::keyDELETE = 40U

Definition at line 1931 of file cimg.h.

const unsigned int cimg_library::cimg::keyE = 32U

Definition at line 1923 of file cimg.h.

const unsigned int cimg_library::cimg::keyEND = 41U

Definition at line 1932 of file cimg.h.

const unsigned int cimg_library::cimg::keyENTER = 53U

Definition at line 1944 of file cimg.h.

Referenced by dialog().

const unsigned int cimg_library::cimg::keyESC = 1U

Definition at line 1892 of file cimg.h.

Referenced by dialog().

const unsigned int cimg_library::cimg::keyF = 47U

const unsigned int cimg_library::cimg::keyF1 = 2U

Definition at line 1893 of file cimg.h.

const unsigned int cimg_library::cimg::keyF10 = 11U

Definition at line 1902 of file cimg.h.

const unsigned int cimg_library::cimg::keyF11 = 12U

Definition at line 1903 of file cimg.h.

const unsigned int cimg_library::cimg::keyF12 = 13U

Definition at line 1904 of file cimg.h.

const unsigned int cimg_library::cimg::keyF2 = 3U

Definition at line 1894 of file cimg.h.

const unsigned int cimg_library::cimg::keyF3 = 4U

Definition at line 1895 of file cimg.h.

const unsigned int cimg_library::cimg::keyF4 = 5U

Definition at line 1896 of file cimg.h.

const unsigned int cimg_library::cimg::keyF5 = 6U

Definition at line 1897 of file cimg.h.

const unsigned int cimg_library::cimg::keyF6 = 7U

Definition at line 1898 of file cimg.h.

const unsigned int cimg_library::cimg::keyF7 = 8U

Definition at line 1899 of file cimg.h.

const unsigned int cimg_library::cimg::keyF8 = 9U

Definition at line 1900 of file cimg.h.

const unsigned int cimg_library::cimg::keyF9 = 10U

Definition at line 1901 of file cimg.h.

const unsigned int cimg_library::cimg::keyG = 48U

Definition at line 1939 of file cimg.h.

const unsigned int cimg_library::cimg::keyH = 49U

Definition at line 1940 of file cimg.h.

const unsigned int cimg_library::cimg::keyHOME = 27U

Definition at line 1918 of file cimg.h.

const unsigned int cimg_library::cimg::keyI = 37U

Definition at line 1928 of file cimg.h.

const unsigned int cimg_library::cimg::keyINSERT = 26U

Definition at line 1917 of file cimg.h.

const unsigned int cimg_library::cimg::keyJ = 50U

Definition at line 1941 of file cimg.h.

const unsigned int cimg_library::cimg::keyK = 51U

Definition at line 1942 of file cimg.h.

const unsigned int cimg_library::cimg::keyL = 52U

Definition at line 1943 of file cimg.h.

const unsigned int cimg_library::cimg::keyM = 61U

Definition at line 1952 of file cimg.h.

const unsigned int cimg_library::cimg::keyMENU = 69U

Definition at line 1960 of file cimg.h.

const unsigned int cimg_library::cimg::keyN = 60U

Definition at line 1951 of file cimg.h.

const unsigned int cimg_library::cimg::keyO = 38U

const unsigned int cimg_library::cimg::keyP = 39U

Definition at line 1930 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD0 = 74U

Definition at line 1965 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD1 = 75U

Definition at line 1966 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD2 = 76U

Definition at line 1967 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD3 = 77U

Definition at line 1968 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD4 = 78U

Definition at line 1969 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD5 = 79U

Definition at line 1970 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD6 = 80U

Definition at line 1971 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD7 = 81U

Definition at line 1972 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD8 = 82U

Definition at line 1973 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAD9 = 83U

Definition at line 1974 of file cimg.h.

const unsigned int cimg_library::cimg::keyPADADD = 84U

Definition at line 1975 of file cimg.h.

const unsigned int cimg_library::cimg::keyPADDIV = 87U

Definition at line 1978 of file cimg.h.

const unsigned int cimg_library::cimg::keyPADMUL = 86U

Definition at line 1977 of file cimg.h.

const unsigned int cimg_library::cimg::keyPADSUB = 85U

Definition at line 1976 of file cimg.h.

const unsigned int cimg_library::cimg::keyPAGEDOWN = 42U

Definition at line 1933 of file cimg.h.

Referenced by cimg_library::CImg< T >::display_object3d().

const unsigned int cimg_library::cimg::keyPAGEUP = 28U

Definition at line 1919 of file cimg.h.

Referenced by cimg_library::CImg< T >::display_object3d().

const unsigned int cimg_library::cimg::keyPAUSE = 14U

Definition at line 1905 of file cimg.h.

const unsigned int cimg_library::cimg::keyQ = 30U

Definition at line 1921 of file cimg.h.

const unsigned int cimg_library::cimg::keyR = 33U

const unsigned int cimg_library::cimg::keyS = 45U

const unsigned int cimg_library::cimg::keySHIFTLEFT = 54U

Definition at line 1945 of file cimg.h.

const unsigned int cimg_library::cimg::keySHIFTRIGHT = 62U

Definition at line 1953 of file cimg.h.

const unsigned int cimg_library::cimg::keySPACE = 66U

Definition at line 1957 of file cimg.h.

const unsigned int cimg_library::cimg::keyT = 34U

Definition at line 1925 of file cimg.h.

const unsigned int cimg_library::cimg::keyTAB = 29U

Definition at line 1920 of file cimg.h.

Referenced by dialog().

const unsigned int cimg_library::cimg::keyU = 36U

Definition at line 1927 of file cimg.h.

const unsigned int cimg_library::cimg::keyV = 58U

Definition at line 1949 of file cimg.h.

const unsigned int cimg_library::cimg::keyW = 31U

Definition at line 1922 of file cimg.h.

const unsigned int cimg_library::cimg::keyX = 56U

Definition at line 1947 of file cimg.h.

const unsigned int cimg_library::cimg::keyY = 35U

Definition at line 1926 of file cimg.h.

const unsigned int cimg_library::cimg::keyZ = 55U

Definition at line 1946 of file cimg.h.

const unsigned char cimg_library::cimg::logo40x38[4576]

Initial value:

 {
      177,200,200,200,3,123,123,0,36,200,200,200,1,123,123,0,2,255,255,0,1,189,189,189,1,0,0,0,34,200,200,200,
      1,123,123,0,4,255,255,0,1,189,189,189,1,0,0,0,1,123,123,123,32,200,200,200,1,123,123,0,5,255,255,0,1,0,0,
      0,2,123,123,123,30,200,200,200,1,123,123,0,6,255,255,0,1,189,189,189,1,0,0,0,2,123,123,123,29,200,200,200,
      1,123,123,0,7,255,255,0,1,0,0,0,2,123,123,123,28,200,200,200,1,123,123,0,8,255,255,0,1,189,189,189,1,0,0,0,
      2,123,123,123,27,200,200,200,1,123,123,0,9,255,255,0,1,0,0,0,2,123,123,123,26,200,200,200,1,123,123,0,10,255,
      255,0,1,189,189,189,1,0,0,0,2,123,123,123,25,200,200,200,1,123,123,0,3,255,255,0,1,189,189,189,3,0,0,0,1,189,
      189,189,3,255,255,0,1,0,0,0,2,123,123,123,24,200,200,200,1,123,123,0,4,255,255,0,5,0,0,0,3,255,255,0,1,189,
      189,189,1,0,0,0,2,123,123,123,23,200,200,200,1,123,123,0,4,255,255,0,5,0,0,0,4,255,255,0,1,0,0,0,2,123,123,123,
      22,200,200,200,1,123,123,0,5,255,255,0,5,0,0,0,4,255,255,0,1,189,189,189,1,0,0,0,2,123,123,123,21,200,200,200,
      1,123,123,0,5,255,255,0,5,0,0,0,5,255,255,0,1,0,0,0,2,123,123,123,20,200,200,200,1,123,123,0,6,255,255,0,5,0,0,
      0,5,255,255,0,1,189,189,189,1,0,0,0,2,123,123,123,19,200,200,200,1,123,123,0,6,255,255,0,1,123,123,0,3,0,0,0,1,
      123,123,0,6,255,255,0,1,0,0,0,2,123,123,123,18,200,200,200,1,123,123,0,7,255,255,0,1,189,189,189,3,0,0,0,1,189,
      189,189,6,255,255,0,1,189,189,189,1,0,0,0,2,123,123,123,17,200,200,200,1,123,123,0,8,255,255,0,3,0,0,0,8,255,255,
      0,1,0,0,0,2,123,123,123,16,200,200,200,1,123,123,0,9,255,255,0,1,123,123,0,1,0,0,0,1,123,123,0,8,255,255,0,1,189,
      189,189,1,0,0,0,2,123,123,123,15,200,200,200,1,123,123,0,9,255,255,0,1,189,189,189,1,0,0,0,1,189,189,189,9,255,255,
      0,1,0,0,0,2,123,123,123,14,200,200,200,1,123,123,0,11,255,255,0,1,0,0,0,10,255,255,0,1,189,189,189,1,0,0,0,2,123,
      123,123,13,200,200,200,1,123,123,0,23,255,255,0,1,0,0,0,2,123,123,123,12,200,200,200,1,123,123,0,11,255,255,0,1,189,
      189,189,2,0,0,0,1,189,189,189,9,255,255,0,1,189,189,189,1,0,0,0,2,123,123,123,11,200,200,200,1,123,123,0,11,255,255,
      0,4,0,0,0,10,255,255,0,1,0,0,0,2,123,123,123,10,200,200,200,1,123,123,0,12,255,255,0,4,0,0,0,10,255,255,0,1,189,189,
      189,1,0,0,0,2,123,123,123,9,200,200,200,1,123,123,0,12,255,255,0,1,189,189,189,2,0,0,0,1,189,189,189,11,255,255,0,1,
      0,0,0,2,123,123,123,9,200,200,200,1,123,123,0,27,255,255,0,1,0,0,0,3,123,123,123,8,200,200,200,1,123,123,0,26,255,
      255,0,1,189,189,189,1,0,0,0,3,123,123,123,9,200,200,200,1,123,123,0,24,255,255,0,1,189,189,189,1,0,0,0,4,123,123,
      123,10,200,200,200,1,123,123,0,24,0,0,0,5,123,123,123,12,200,200,200,27,123,123,123,14,200,200,200,25,123,123,123,86,
      200,200,200,91,49,124,118,124,71,32,124,95,49,56,114,52,82,121,0}

Definition at line 3660 of file cimg.h.

Referenced by cimg_library::CImg< T >::get_logo40x38().

const double cimg_library::cimg::PI = 3.14159265358979323846

const char* const * const cimg_library::cimg::t_bold = cimg::t_normal

Definition at line 1708 of file cimg.h.

Referenced by info(), and option().

const char cimg_library::cimg::t_normal[] = { '\0' }

Definition at line 1707 of file cimg.h.

Referenced by info(), and option().

const char* const * const * const cimg_library::cimg::t_purple = cimg::t_normal

Definition at line 1708 of file cimg.h.

Referenced by info(), and option().

Definition at line 1708 of file cimg.h.

Referenced by info(), and option().


Generated on Mon May 18 07:18:34 2009 for lux by  doxygen 1.5.7.1